Commit Graph

35 Commits

Author SHA1 Message Date
forbes
a9c444131a Fix .deb bundle: restore XKB and fontconfig paths in wrapper
The XKB_CONFIG_ROOT, FONTCONFIG_FILE, and FONTCONFIG_PATH exports were
accidentally removed in e68a5fef (SSL certificate fix). Without these,
the bundled libxkbcommon falls back to a hardcoded CI runner path that
does not exist on the target system, causing xkb_context_new to return
NULL and SIGSEGV in xkb_context_ref during Wayland keyboard init at
splash screen startup.
2026-01-30 09:58:14 -06:00
forbes
9c14f17bee Fix .deb desktop icon: use Kindred logo instead of FreeCAD icon
The build-deb.sh was copying org.freecad.FreeCAD.svg as the desktop
icon because it checked the install directory first, where only the
FreeCAD icon exists. Reorder to prefer resources/branding/kindred-logo.svg.

Also generate PNG icons from the SVG using rsvg-convert when available,
for better desktop environment compatibility.
2026-01-29 22:30:21 -06:00
forbes
6facd8227b Fix SSL: use system CA certificates in wrapper scripts
The bundled Python's openssl has a hardcoded cafile path from the build
environment (/var/lib/gitea-runner/.cache/...) which does not exist on
the target system. This causes SSL certificate verification to fail for
internal services like silo.kindred.internal that use the FreeIPA CA.

Set SSL_CERT_FILE to the system CA bundle (/etc/ssl/certs/ca-certificates.crt
on Debian/Ubuntu or /etc/pki/tls/certs/ca-bundle.crt on RHEL) in both
the kindred-create and kindred-create-cmd wrapper scripts. This allows
the bundled Python to verify certificates signed by any CA in the
system trust store, including the FreeIPA CA.
2026-01-29 22:24:39 -06:00
forbes
2165610e9a Fix .deb bundle: set XKB and fontconfig paths in wrapper
The bundled libxkbcommon has hardcoded paths from the CI build
environment baked into the library. Set XKB_CONFIG_ROOT to point
to the bundled XKB data instead.

Similarly, set FONTCONFIG_FILE and FONTCONFIG_PATH to use the
bundled fontconfig configuration.

This fixes the segfault on startup caused by libxkbcommon trying
to load XKB data from a non-existent CI runner path.
2026-01-29 11:09:54 -06:00
forbes
56e7e87697 Fix .deb bundle: remove Python package dependencies
The .deb package is a self-contained bundle that includes its own
Python interpreter and all Python packages (numpy, pyside6, etc.)
from the pixi/conda-forge environment in /opt/kindred-create/.

The wrapper scripts already set PYTHONHOME and PYTHONPATH to use
the bundled Python, so depending on system Python packages like
python3-numpy and python3-pyside6.* is incorrect and causes
installation failures on systems without those packages.

Keep only low-level system library dependencies that can't be
bundled (libc, libstdc++, OpenGL, X11, fonts) and external tools
(calculix-ccx, gmsh, graphviz) as Recommends.
2026-01-29 09:40:00 -06:00
forbes
f424f0e499 Fix .deb build: use fast compression, more aggressive cleanup
- Use dpkg-deb -Zxz -z1 for faster compression (large packages were hanging)
- Remove more unnecessary files: man pages, docs, locales, pkgconfig
- Add progress messages during bundle preparation
- Remove .la, .hpp, .pyo files
2026-01-28 19:58:14 -06:00
forbes
b9d5dbd141 Fix .deb package: bundle full conda environment with all dependencies
- Build workflow now bundles the entire pixi/conda environment for .deb
- This includes all shared libraries (xerces, Qt, Python, etc.)
- Wrapper scripts updated with additional env vars (QT_QPA_PLATFORM_PLUGIN_PATH, XDG_DATA_DIRS, GI_TYPELIB_PATH)
- Wrapper scripts now handle both FreeCAD and freecad binary names
- Removes unnecessary files (headers, cmake, pycache) to reduce size
2026-01-28 18:46:03 -06:00
forbes
c8a103eab7 Fix .deb package: add wrapper scripts for library paths
The bundled binaries need LD_LIBRARY_PATH, PYTHONPATH, and
QT_PLUGIN_PATH set to find their libraries. Replace symlinks
with wrapper scripts that set up the environment before exec.
2026-01-28 18:43:55 -06:00
forbes
7bbb046e8e Fix .deb packaging: version must start with digit
- Fix version conversion for Debian policy compliance
  (e.g., weekly-2025.01.28 -> 0~weekly.2025.01.28)
- Add MIME type registration for .fcstd files
- Add AppStream metainfo for software centers
- Add copyright file (required by Debian policy)
- Improve maintainer scripts with proper case statements
- Expand dependencies in control file (Depends/Recommends/Suggests)
- Add .deb build step to release workflow
- Simplify build workflow to let script handle version conversion
2026-01-28 17:29:09 -06:00
forbes
b256cce74a update to build deb package 2026-01-28 14:49:27 -06:00
Kurt Kremitzki
7072468e41 Remove unused Debian packaging files
These files are not used in Debian or the PPA; they use conventions from
many years ago and in general are cruft. The canonical location for this
information is now https://salsa.debian.org/science-team/freecad. This
fixes #2984.
2018-08-30 03:31:52 -05:00
luzpaz
0022d71a37 Packaging typos 2018-01-01 17:54:07 +01:00
Unknown
e3eca59173 Misc. typo fixes
Various workbenches
2017-12-23 14:30:30 +01:00
Unknown
b084fc3f22 Fixes #3252 - obsolete FC links in package/debian FC man pages
See https://freecadweb.org/tracker/view.php?id=3253
More work will need to be done to get the man page updated with more current relevant info.
2017-11-09 15:01:52 -05:00
probonopd
dabc542912 Make it pass desktop-file-validate
Reference: https://travis-ci.org/AppImage/AppImageHub/builds/266118980#L546-L550
2017-08-19 13:52:00 +02:00
asiersarasua
4564e4f4a4 Fix typos 2017-04-20 09:49:19 +02:00
Yorik van Havre
cb710e4040 Fixed screenshot URL in Gnome appdata file - fixes #2179 2015-07-03 18:48:22 -03:00
wmayer
761fb84684 + update Debian packaging files 2015-04-19 13:42:02 +02:00
Yorik van Havre
0a3d62ebf1 Fixed gnome app file - fixes #1754 2015-01-09 13:28:36 -02:00
Yorik van Havre
4ee8dc8f56 Cleaned up the dependencies in debian control file
* Added python-tools
* Replaced opencascade with oce (opencascade not in debian repos anymore)
* Updated some obsolete package names
2014-11-07 09:34:28 -02:00
wmayer
d78e6c194e fixes #0001378: outdated url in man pages 2014-02-01 16:36:52 +01:00
Yorik van Havre
341424de3a Added pyside-dev and shiboken-dev to the debian control file 2014-01-08 23:39:28 -02:00
Yorik van Havre
d7a8037fe3 Added app data file for gnome software center
The new gnome software center asks developers to provide a small
app info file, that describes the application
http://blogs.gnome.org/hughsie/2013/08/29/gnome-software-center-and-you/
2013-09-13 14:31:21 -03:00
wmayer
87858fbceb + Support Ubuntu 12.04 2013-06-05 23:58:40 +02:00
wmayer
6a12fe69a1 + Fix debian packaging 2013-06-05 23:50:04 +02:00
wmayer
c322e10f3a + Partial merge with Debian package 2013-06-05 17:39:47 +02:00
wmayer
4c0c419e80 + Delete unused files 2013-06-05 15:48:38 +02:00
wmayer
2f0a4efe5b + Delete unused files 2013-06-05 15:47:00 +02:00
wmayer
2bdab0d860 + Make FreeCAD default app to open FCStd files, allow to define different mimetype icons 2013-06-05 15:31:09 +02:00
wmayer
02f8e6b454 + Update debian files 2013-06-05 14:03:30 +02:00
wmayer
6a0067303b Fix thumbnailer script 2013-06-02 15:12:41 +02:00
Yorik van Havre
91b12b0a19 Added a thumbnailer for gnome3-based file managers 2013-01-18 16:35:04 -02:00
Jose Luis Cercos Pita
d7c5054c14 Re-Created branch form 0, to avoid conflicts 2012-10-29 10:30:17 +01:00
logari81
56e326d40d + remove eigen2 build dependency from debian package
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5138 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-15 14:13:14 +00:00
wmayer
120ca87015 + unify DLL export defines to namespace names
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00