Skip to content
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

feature request: add a cmake install target #1

Closed
ehaupt opened this issue Jun 14, 2023 · 10 comments
Closed

feature request: add a cmake install target #1

ehaupt opened this issue Jun 14, 2023 · 10 comments

Comments

@ehaupt
Copy link

ehaupt commented Jun 14, 2023

For packaging it would be great to have an install target.

@alexmyczko
Copy link

alexmyczko commented Jun 16, 2023

once this is fixed, http://sid.ethz.ch/debian/candycrisis gets a thing

@ehaupt
Copy link
Author

ehaupt commented Jun 16, 2023

once this is fixed, sid.ethz.ch/debian/candycrisis gets a thing

Very cool. Love the game by the way.

@jorio
Copy link
Owner

jorio commented Jun 23, 2023

Check out branch install-target.

The game is installed in (prefix)/bin/candycrisis and its data in (prefix)/share/candycrisis.

Let me know if that's fine for packaging. If it is, I'll merge this into master.

@ehaupt
Copy link
Author

ehaupt commented Jun 24, 2023

Thank you, that works fine on FreeBSD.

Maybe also install the desktop icon candycrisis-desktopicon.png as candycrisis.png.

Plus a candycrisis.desktop would be nice. I am manually installing this one with the FreeBSD port. Feel free to use it:

[Desktop Entry]
Type=Application
Version=1.0
Name=Candy Crisis
GenericName=An exciting combination of pure action and puzzle gaming!
Comment=An exciting combination of pure action and puzzle gaming!
Icon=candycrisis
Exec=candycrisis
Categories=Game;

Implementing those will allow me to drop a lot of extra glue in the the FreeBSD port.

@jorio
Copy link
Owner

jorio commented Jun 24, 2023

Try the latest commit on branch install-target - it installs an XDG desktop file and an icon.

@ehaupt
Copy link
Author

ehaupt commented Jun 24, 2023

Try the latest commit on branch install-target - it installs an XDG desktop file and an icon.

Works like a charm. Thank you.

@jorio
Copy link
Owner

jorio commented Jun 24, 2023

Great! I'll merge that into master and tag it as version 3.0.1 in the coming days.

@ehaupt
Copy link
Author

ehaupt commented Jun 24, 2023

Perfect, thank you. I'll update the FreeBSD port once it's tagged.

@jorio
Copy link
Owner

jorio commented Jul 14, 2023

v3.0.1 is tagged!

@jorio jorio closed this as completed Jul 14, 2023
@ehaupt
Copy link
Author

ehaupt commented Jul 20, 2023

FreeBSD port updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants