Searge-DP / grafx2

Automatically exported from code.google.com/p/grafx2
0 stars 0 forks source link

Defining location for application icons in linux #412

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

It seems to me that many applications and linux distros in general are using 
$(prefix)/share/pixmaps as the default location for application icons rather 
than the current default $(prefix)/share/icons for GrafX2. I've pathed my 
src/Makefile so now users (and packagers) can define where the icons should be 
installed. It still defaults to $(prefix)/share/icons (or actually 
$(datarootdir)/icons ), but defines $(pixmapdir) so one can use
make pixmapdir=/path/to/pixmaps install
Note that this is just a quick hack and I'm not sure what the default should be 
or what the pixmapsdir variable should be called. Use just for reference.

Original issue reported on code.google.com by sm4...@yahoo.com on 13 Jan 2011 at 1:54

Attachments:

GoogleCodeExporter commented 8 years ago
Hello,
Thanks for packaging GrafX2 for Arch Linux :)

I noticed you had some questions in the arch page of the previous package about 
bash. We used to have a bash script in /usr/bin to run the program with argv[0] 
set to point to /usr/share/. This was now changed so the bash dependancy is not 
needed anymore.

We'll look into the issue with the icons...

Original comment by pulkoma...@gmail.com on 15 Jan 2011 at 2:54

GoogleCodeExporter commented 8 years ago
Thanks for clearing up the bash thing. I also realized it's assumed to be 
installed on every system, so even if it was needed it's not required to be 
listed.

About the icons. From what I've understood both directories (pixmaps and icons) 
are accepted, but adding a make option would be a cleaner way of providing a 
choice than for example a sed one liner I'm currently using.

Anyway.. it's a minor thing, I just realized GrafX2 was the only app on my 
machine to use /usr/share/icons as it's icon folder and wanted to have them 
installed where all the rest are :)

Original comment by sm4...@yahoo.com on 15 Jan 2011 at 9:42

GoogleCodeExporter commented 8 years ago
Done in r1684. You get credits in the helpscreen as "sm4tik", tell me if you 
want another name used there.

Original comment by pulkoma...@gmail.com on 17 Jan 2011 at 7:30