-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update XDG files and move XDG-related stuff from debian/rules to xdg/CMakeLists.txt #3547
Conversation
Sort textdomains in alphanumeric order
- Add Terminal tag - Add StartupNotify tag - Add StartupWMClass tag
The icon should be fetched from the desktop file.
- Update bugtracker url (Launchpad -> GitHub) - Update donation url - Add faq url - Update help url - Update homepage url - Update translate url
- icons - manual - desktop file - AppData file
As soon as we drop support for Ubuntu 14.04 we can raise the minimum required CMake version to 3.x.x (whatever is recent in 16.04) |
@Noordfrees could you have a look at this? I dont have a Linux system ATM |
I am totally unfamiliar with the CMake/debian/… stuff, so I can´t review the changes. I can test though, but I don´t quite understand what the change actually is about. So, give me instructions how to test the branch and I´ll test it… |
Currently, the DEB package handles the installation of desktop and AppData files, manual, icons, etc. Anyway, you can test these changes by using my RPM or flatpak packages. |
Hm, I did
And it always says
And the installation fails after that |
Actually, you don't have to use the single-bundle package. You can install it directly from Flathub.
or (per-user installation):
I am not sure if it applies to Widelands or just openh264 (which isn't even used by this game). Could you just try to run Widelands?
Anyway, as far as I know, To be honest, the problem doesn't exist in |
I could install your package on Linux Mint. Also, the flathub packages. Does only your package contain the changes from this PR or the packages on flathub as well? What about @Noordfrees install Problems? How can they be circumvented? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, now it works for me :)
No, they are almost the same. The main difference is that I use one file per module. It speeds up the update process and allows me to easily compare modules (e.g.
I believe that the failure is related only to |
The last commit should be verified by the Debian maintainer.
Anyway, all distributions that are not Debian-based (e.g. EL, Fedora, SLE, openSUSE, Mageia, PCLinuxOS, Gentoo, Arch, Slackware, etc.) should benefit from it.
There is one problem with Widelands'
CMakeLists.txt
. Actually, two problems. First of all, it was written for CMake2.8.7
, so we can't useGNUInstallDirs
in here. But this is a relatively small issue. What is more important, it doesn't respect the FHS spec.For example, if you set prefix to
/usr/
, it will setCMAKE_INSTALL_PREFIX
it to/usr/bin/
. So, if you try to install e.g. manual in${CMAKE_INSTALL_MANDIR}/man6/
, it will put it in/usr/bin/share/man/man6/
. For obvious reasons, it doesn't make any sense. For now, I use../
, but it should be fixed properly in the future.