From 0d6302786f56d7aa86339e00c8e2fe01a35ed003 Mon Sep 17 00:00:00 2001 From: Kurt Kremitzki Date: Sun, 24 Aug 2025 17:36:24 +0000 Subject: [PATCH] freecad: add freecad 0.21.2 from Ubuntu 24.10 --- helpers/make-freecad | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 helpers/make-freecad diff --git a/helpers/make-freecad b/helpers/make-freecad new file mode 100644 index 0000000..4c46229 --- /dev/null +++ b/helpers/make-freecad @@ -0,0 +1,33 @@ +#!/bin/sh +# +# Copyright (C) 2025 Kurt Kremitzki +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +VERSION=1 + +# FreeCAD was not present in Debian Testing when Ubuntu 24.04 was released; +# jump forward to pull the version from 24.10 +EXTERNAL='deb-src http://archive.ubuntu.com/ubuntu oracular universe' + +. ./config + +changelog "Package freecad for trisquel" +# Disable patches needed for Ubuntu 24.10 versions +remove_patch "0030-octt78.patch" +remove_patch "3000-vtk9.3.patch" +# Remove OpenCASCADE version pin associated with previous patch +sed -i 's/ (>= 7.8.1+dfsg1)//' debian/control + +package