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

Do not hardcode paths #1236

Closed
jtojnar opened this issue Apr 9, 2018 · 2 comments
Closed

Do not hardcode paths #1236

jtojnar opened this issue Apr 9, 2018 · 2 comments

Comments

@jtojnar
Copy link
Contributor

jtojnar commented Apr 9, 2018

I am trying to package Guake 3 on NixOS but Guake hardcodes some paths, making it incompatible with Nix.

Downstream PR: NixOS/nixpkgs#38642

@gsemet gsemet added this to the 3.0.6 milestone Apr 9, 2018
@gsemet
Copy link
Member

gsemet commented Apr 9, 2018

thanks for your report. I'll do my best to update guake this week to make it distribution friendly !

@jtojnar
Copy link
Contributor Author

jtojnar commented Apr 11, 2018

You might actually want to use the standard names (i.e. lowercase prefix, *dir), something like this:

# Common prefix for installation directories.
# NOTE: This directory must exist when you start the install.
prefix = /usr/local
datarootdir = $(prefix)/share
datadir = $(datarootdir)
exec_prefix = $(prefix)
bindir = $(exec_prefix)/bin
localedir = $(datarootdir)/locale
gsettingsschemadir=$(datarootdir)/share/glib-2.0/schemas
…

I also think INSTALL_ROOT is commonly called DESTDIR.

cc @aichingm

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

No branches or pull requests

2 participants