Commit Graph

26 Commits

Author SHA1 Message Date
Max Wilfinger
8b8f591a8a Update images on XDGData and README 2024-10-07 14:54:41 +02:00
Alexander Wilms
060419fecf Improve metainfo 2023-09-15 13:17:51 -04: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
Petter Reinholdtsen
93714f5194 Add XDG desktop category X-CNC also used by LinuxCNC.
This ensure FreeCAD and LinuxCNC both show up in the CNC submenu when
both are installed.
2023-09-06 01:02:29 +02:00
Chris Mayo
516795c986 Remove duplicate model/iges MimeType entry 2023-08-15 10:58:49 +02: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
Petter Reinholdtsen
f998ab5b9c Avoid Debian specific binary name and path and only include argument change. 2023-08-07 09:38:42 -06:00
Petter Reinholdtsen
f2129fc6db Change XDG desktop entry to only run single instance of FreeCAD.
This ensure invoking it to open different files only start the
program once, and load new files into the already running instance.

Patch by Håvard Flaget Aasen <haavard_aasen@yahoo.no> and
Tobias Frost <tobi@debian.org>.

Related to https://bugs.debian.org/1029846 and
c7a21ecbee .

Been part of the Debian edition of FreeCAD since 2021.
2023-08-07 09:38:42 -06:00
Petter Reinholdtsen
40aeee9375 Add several supported MIME types to desktop file.
Patch from Tobias Frost <tobi@debian.org>.

Solves Debian bug <URL: https://bugs.debian.org/993089 >.

Been used in the Debian edition of FreeCAD since 2022.
2023-07-06 05:15:24 +02:00
Petter Reinholdtsen
3cb5bdcbe4 Adjusted Appstream metadata component type and added launcable tag.
This fixes the following appstream warning and make program show up in the appstream
data set:

asv-desktop-app-launchable-missing

This `desktop-application` component is missing a `desktop-id`
launchable tag. This means that this application can not be launched
and has no association with its desktop-entry file. It also means no
icon data or category information from the desktop-entry file will
be available, which will result in this application being ignored
entirely.

Part of Debian FreeCAD edition since 2023.
2023-07-03 00:20:51 -04:00
luzpaz
129d5882a7 Migrate domain name from freecadweb to freecad (#9352)
* Migrate domain name from freecadweb to freecad
* Migrate src/Mod/Material files
* Migrate Stylesheet related files
* Migrate *.svg files
* Migrate miscellaneous files
* Migrate some build files
* Migrate recently added TD AR_IRAM template files

Closes #6415
2023-04-24 15:19:20 -05:00
kaktus Jacek
9d91cb17a2 comment in polish (#7672)
A comment line in Polish was added.
2022-10-30 21:27:23 -05:00
JungHee Lee
27faff5dcd Update org.freecadweb.FreeCAD.desktop with Korean localisation [skip ci] 2022-10-30 20:51:03 -05:00
IFo Hancroft
bfa7a6687c Update org.freecadweb.FreeCAD.xml 2022-08-24 11:41:07 +02:00
IFo Hancroft
f79f1dd066 Fixes filetype icon not showing
Fixes the icon of .FCStd files not showing because the xml element was
called icon instead of generic-icon
2022-08-24 11:41:07 +02:00
luz paz
472168fc15 Fix typos [skip ci]
Typos ffound via `codespell v2.1.dev0`  
Also includes fixes in deprecated code of `src/Mod/Assembly`
2020-12-28 23:14:04 +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
Yorik van Havre
0cb4d4eb97 Better description and more screenshots in freedesktop app description 2020-06-19 13:49:34 +02: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
Andrey Cherepanov
abb253aaa9 Add Russian localization to desktop file 2019-05-21 12:12:49 -03: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
eszlari
0177c8b64e Linux mime: add icon 2019-01-05 12:15:58 +01:00
Peter Eszlari
8933374b4d Linux: add XDG metadata files 2018-10-22 15:29:53 -03:00