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

Group
 
 

bug #12749: Fonts should be installed in GNUSTEP_INSTALLATION_DIR

Submitter:  Debian GNUstep maintainers <debianstep>
Submitted:  Wed 20 Apr 2005 01:23:01 PM UTC
   
 
Category:  Backend Severity:  3 - Normal
Item Group:  Bug Status:  Fixed
Privacy:  Public Assigned to:  fedor
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group administrator
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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

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

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 6 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-04-21 fedor CategoryNone Backend
    Item GroupNone Bug
    StatusNone Fixed
    Assigned toNone fedor
    Open/ClosedOpen Closed
2005-04-20 debianstep Attached File- Added back.diff, #2422

Back to the top

Powered by Savane 3.13-d3ae.
Corresponding source code