Commit Graph

11 Commits

Author SHA1 Message Date
Johannes Thyssen Tishman
c8b1ea2836 Configure and install thumbnailer
Currently the file "src/XDGData/FreeCAD.thumbnailer" gets installed, but
the associated freecad-thumbnailer script isn't. Install the script,
too.

While here, have the paths to the default icon and freecad-thumbnailer
script follow ${CMAKE_INSTALL_DATAROOTDIR} and ${CMAKE_INSTALL_BINDIR}
respectively.
2025-03-24 13:46:17 -03:00
mosfet80
04d2bcbf45 Update CMakeLists.txt
cmake version is always greater than 3.8.
2025-02-16 10:22:31 -06:00
Alexander Wilms
7abebdad9b The Freedesktop Appstream specification recommends .metainfo.xml instead of .appdata.xml
https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html
2023-09-15 13:17:51 -04:00
Chris Mayo
1ea0f22c61 Fix hicolor theme application icon names
Fixed-size icons were not available as org.freecad.FreeCAD and
XDGData/org.freecad.FreeCAD.svg was a duplicate of Gui/Icons/freecad.svg.
2023-08-08 19:25:14 +01:00
Chris Mayo
9b562a4e0a Finish renaming desktop filename to org.freecad.FreeCAD
The QGuiApplication::setDesktopFileName() call was changed in [1] but
the desktop file and other files that reference it were not.

As shown by Looking Glass [2] on X11 updating these files is still
not enough for GNOME to associate the process with the desktop file,
a StartupWMClass entry is added to the desktop file to fix this.

[1]
129d5882a7 ("Migrate domain name from freecadweb to freecad (#9352)", 2023-04-24)

[2]
https://blogs.gnome.org/mclasen/2016/11/15/help-my-app-icon-is-missing/
2023-08-08 19:25:14 +01:00
Rafael Villar Burke
27130f779a Fix thumbnailing
This fixes thumbnailing for XDG desktops. The new script doesn't depend on GNOME libs and works either with python3 or python2.
Also, a thumbnailer config file is added to the installation in CMakeList.txt
2020-11-24 17:47:40 +01:00
Kurt Kremitzki
9f766102f6 Correct usage of SOURCE_DATE_EPOCH 2020-03-22 15:22:01 +01:00
Kurt Kremitzki
a30fd205fa Use reproducible SOURCE_DATE_EPOCH instead of TIMESTAMP when available
Refer to `https://reproducible-builds.org/docs/source-date-epoch/`:

"SOURCE_DATE_EPOCH is a standardised environment variable that
distributions can set centrally and have build tools consume this in
order to produce reproducible output."
2020-03-16 08:32:28 +01:00
Peter Eszlari
925cffc153 Linux/appdata: generate release info 2019-03-31 12:08:40 +02:00
eszlari
19cd5690e7 XDGData: remove CMAKE_CURRENT_SOURCE_DIR 2019-01-05 12:15:58 +01:00
Peter Eszlari
8933374b4d Linux: add XDG metadata files 2018-10-22 15:29:53 -03:00