bugGNUstep - Bugs: bug #12749, Fonts should be installed in...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #12749: Fonts should be installed in GNUSTEP_INSTALLATION_DIR

Submitted by:  Debian GNUstep maintainers <debianstep>
Submitted on:  Wed 20 Apr 2005 01:23:01 PM UTC  
 
Category: BackendSeverity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: Adam Fedor <fedor>
Open/Closed: Closed

Thu 21 Apr 2005 03:45:20 AM UTC, comment #2:

Fixed, 2005-04-20 Adam Fedor <fedor@gnu.org>
Thanks for the patch!

Adam Fedor <fedor>
Project AdministratorIn charge of this item.
Wed 20 Apr 2005 04:09:50 PM UTC, comment #1:

Just commenting a little on this bug...

Issues like this one has caused a general nightmare for my Gentoo ebuilds (now mostly solved). The problem is almost the same -- we have a sandbox, and then GNUSTEP_SYSTEM_ROOT is hardcoded in the build somewhere, and then everything goes to hell.

Generally, this can likely be solved with simply using GNUSTEP_INSTALLATION_DIR everywhere, and also adding a line like

GNUSTEP_INSTALLATION_DIR ?= $(GNUSTEP_SYSTEM_ROOT)

to the GNUmakefile. Since ?= only executes if the 'target' is empty (right?), this works for packagers, and source compile users, too.

Anyways, just trying to raise awareness of this, since that's all this reoccuring problem seems to be.

Armando Di Cianno <fafhrd>
Wed 20 Apr 2005 01:23:01 PM UTC, original submission:

When packaging gnustep-back for debian, we must install all the stuff in a tempdir, not in GNUSTEP_SYSTEM_ROOT (wich is not writable because autobuildd machines don't build packages as root)

. /usr/lib/GNUstep/System/Library/Makefiles/GNUstep.sh; \
/usr/bin/make install \
INSTALL_ROOT_DIR=<tempdir> \
GNUSTEP_INSTALLATION_DIR=<tempdir>/usr/lib/GNUstep/System

Making install in Fonts...
make[2]: Entering directory `/home/eric/Step/Core/back/gnustep-back-0.9.5/Fonts'
for file in Helvetica.nfont; do \
(tar cfX - /usr/lib/GNUstep/System/Library/Makefiles/tar-exclude-list $file) | (cd /usr/lib/GNUstep/System/Library/Fonts; tar xf -) ;\
done
tar: Helvetica.nfont: Cannot mkdir: Permission denied
tar: Helvetica.nfont/FontInfo.plist: Cannot open: No such file or directory
tar: Helvetica.nfont/n019003l.afm: Cannot open: No such file or directory
tar: Helvetica.nfont/n019003l.pfb: Cannot open: No such file or directory
tar: Helvetica.nfont/n019003l.pfm: Cannot open: No such file or directory
tar: Helvetica.nfont/n019004l.afm: Cannot open: No such file or directory
tar: Helvetica.nfont/n019004l.pfb: Cannot open: No such file or directory
tar: Helvetica.nfont/n019004l.pfm: Cannot open: No such file or directory
tar: Helvetica.nfont/n019023l.afm: Cannot open: No such file or directory
tar: Helvetica.nfont/n019023l.pfb: Cannot open: No such file or directory
tar: Helvetica.nfont/n019023l.pfm: Cannot open: No such file or directory
tar: Helvetica.nfont/n019024l.afm: Cannot open: No such file or directory
tar: Helvetica.nfont/n019024l.pfb: Cannot open: No such file or directory
tar: Helvetica.nfont/n019024l.pfm: Cannot open: No such file or directory
tar: Helvetica.nfont/n019043l.afm: Cannot open: No such file or directory
tar: Helvetica.nfont/n019043l.pfb: Cannot open: No such file or directory
tar: Helvetica.nfont/n019043l.pfm: Cannot open: No such file or directory
tar: Helvetica.nfont/n019044l.afm: Cannot open: No such file or directory
tar: Helvetica.nfont/n019044l.pfb: Cannot open: No such file or directory
tar: Helvetica.nfont/n019044l.pfm: Cannot open: No such file or directory
tar: Helvetica.nfont/n019063l.afm: Cannot open: No such file or directory
tar: Helvetica.nfont/n019063l.pfb: Cannot open: No such file or directory
tar: Helvetica.nfont/n019063l.pfm: Cannot open: No such file or directory
tar: Helvetica.nfont/n019064l.afm: Cannot open: No such file or directory
tar: Helvetica.nfont/n019064l.pfb: Cannot open: No such file or directory
tar: Helvetica.nfont/n019064l.pfm: Cannot open: No such file or directory
tar: Error exit delayed from previous errors
make[2]: *** [after-install] Error 2
make[2]: Leaving directory `/home/eric/Step/Core/back/gnustep-back-0.9.5/Fonts'
make[1]: *** [internal-install] Error 2

replacing $(GNUSTEP_SYSTEM_ROOT) by $(GNUSTEP_INSTALLATION_DIR) in Fonts/GNUmakefile.postamble and creating the target dir solves the problem. (see attached patch)

About fonts, we want to distribute Helvetica fonts in a separate binary-all package. It implies that we need to install them separatly.
Please, could you add a flag (like fonts=no) in -back GNUmakefile which disables fonts installation ? It would save us to apply/update a pach at each release. (see attached patch)

Debian GNUstep maintainers <debianstep>

 

Attached Files
file #2870:  back.diff added by debianstep (2KiB - text/plain)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 6 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Thu 21 Apr 2005 03:45:20 AM UTCfedorCategoryNone=>Backend
  Item GroupNone=>Bug
  StatusNone=>Fixed
  Assigned toNone=>fedor
  Open/ClosedOpen=>Closed
Wed 20 Apr 2005 01:23:01 PM UTCdebianstepAttached File-=>Added back.diff, #2422

Back to the top


Powered by Savane 3.1-cleanup1