Commit Graph

25 Commits

Author SHA1 Message Date
Alexander Wilms
78c9c93c6e Improve metainfo 2023-09-15 13:17:51 -04:00
Alexander Wilms
61f4c2406c 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
e93e76edcc 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
c68c876169 Remove duplicate model/iges MimeType entry 2023-08-15 10:58:49 +02:00
Chris Mayo
bbb87fcf0d 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
708eb477de 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]
87b0935dff ("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
278224777b Avoid Debian specific binary name and path and only include argument change. 2023-08-07 09:38:42 -06:00
Petter Reinholdtsen
06c4d72ed6 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
bb3bda1349 .

Been part of the Debian edition of FreeCAD since 2021.
2023-08-07 09:38:42 -06:00
Petter Reinholdtsen
ff1da0c7d1 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
18f33c9b03 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
38a01939e0 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
c8e5cebd64 comment in polish (#7672)
A comment line in Polish was added.
2022-10-30 21:27:23 -05:00
JungHee Lee
e149cf4019 Update org.freecadweb.FreeCAD.desktop with Korean localisation [skip ci] 2022-10-30 20:51:03 -05:00
IFo Hancroft
bf2d428b1b Update org.freecadweb.FreeCAD.xml 2022-08-24 11:41:07 +02:00
IFo Hancroft
fecf309e28 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
f497f09238 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
e0c3237d6c 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
664c641f3c Better description and more screenshots in freedesktop app description 2020-06-19 13:49:34 +02:00
Kurt Kremitzki
a2edd7a67d Correct usage of SOURCE_DATE_EPOCH 2020-03-22 15:22:01 +01:00
Kurt Kremitzki
f538f96668 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
4005981ec7 Add Russian localization to desktop file 2019-05-21 12:12:49 -03:00
Peter Eszlari
d387c15fbf Linux/appdata: generate release info 2019-03-31 12:08:40 +02:00
eszlari
56c006261b XDGData: remove CMAKE_CURRENT_SOURCE_DIR 2019-01-05 12:15:58 +01:00
eszlari
a881d572b5 Linux mime: add icon 2019-01-05 12:15:58 +01:00
Peter Eszlari
6ee77b9482 Linux: add XDG metadata files 2018-10-22 15:29:53 -03:00