-
Notifications
You must be signed in to change notification settings - Fork 4
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
Let "make install" do the right thing. #41
base: master
Are you sure you want to change the base?
Conversation
This lets make install do the right thing. Instead of one 16x16 xpm icon, you now get a nice desktop icon, just like for openMSX itself. Also updated the .desktop file, this matches what is used for the flatpak. And extract the PNG files from the ICO file for use on Linux. And change the .desktop file to reverse DNS notation as the freedesktop standard nowadays indicates you should use. This also matches what is mandated by flatpak and will all help to simplify packaging the next openMSX, not only for flatpak, but also for RPM.
Just a question: isn't that logo of 210x210 a copy of resources/bitmaps/resources/bitmaps/openMSX-Catapult-logo.png? |
@MBilderbeek I'm a bit hazy on it, almost 2 years after creating the PR. But based on what I wrote back then, they were extracted from the ICO file. I would have preferred an SVG file, but it is better then the default 16x16 image...
Converting images during the build is ugly. It requires that we temporarily install for the build process some tool to convert the image. This is actually what is done right now for both the Fedora RPM package and the Flatpak. And it does not solve the basic problem of "make install" doing the right thing. e.g. If you want me to drop the 210x210 image, fine. It is not a supported size on Linux anyway. |
What is wrong to require a tool during build? There are already tools required for that, like a compiler... So I don't think that is a bad thing. |
One more question: do the changes still support an installation in /opt? |
Yes the packages can still be installed in As I pointed out, converting the images each time is just ugly. I also consider it a hack to have to convert the images and copy them to the right location outside of |
This lets make install do the right thing. Instead of one 16x16 xpm
icon on Linux which looks horrible, you now get a nice desktop icon,
just like for openMSX itself.
Also updated the .desktop file, this matches what is used for the
flatpak. The PNG files are extracted from the ICO file.
And change the .desktop file to reverse DNS notation as the
freedesktop standard nowadays indicates you should use. This also
matches what is mandated by flatpak and will all help to simplify
packaging the next openMSX, not only for flatpak, but also for RPM.