Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cdlabelgen: ebuild sbagliato?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
active
Apprentice
Apprentice


Joined: 23 Jun 2003
Posts: 228
Location: Something not a structure or union

PostPosted: Fri Sep 19, 2003 4:41 pm    Post subject: cdlabelgen: ebuild sbagliato? Reply with quote

Salve, eccomi al primo post :D

Mi e' capitato di installare cdlabelgen 2.6.1 e di notare che dopo venire patchato il Makefile:
1) non installa l'eseguibile
2) installa la manpage nella dir sbagliata (/usr/share/man invece che /usr/share/man1)

volevo sapere se qualcun'altro aveva notato questo, se e' normale o un bug dell'ebuild.

Io mi sono "permesso" di cambiare la patch :P e di seguito incollo quella guista:

( /usr/portage/app-cdr/cdlabelgen/files/makefile.patch-2.6.1 )
Code:

diff -Naur cdlabelgen-2.6.1.old/Makefile cdlabelgen-2.6.1/Makefile
--- cdlabelgen-2.6.1.old/Makefile       2003-09-19 20:15:23.000000000 +0200
+++ cdlabelgen-2.6.1/Makefile   2003-09-19 20:26:41.000000000 +0200
@@ -8,12 +8,12 @@
 # Change these to locations you need, also
 # remember to edit cdlabelgen and its @where_is_the_template as needed.
 
-BASE_DIR   = /usr/local
+BASE_DIR   = $(DESTDIR)/usr
 # BASE_DIR   = /usr/local
 # BASE_DIR   = /opt
 BIN_DIR   = $(BASE_DIR)/bin
-LIB_DIR   = $(BASE_DIR)/lib/cdlabelgen
-MAN_DIR   = $(BASE_DIR)/man
+LIB_DIR   = $(BASE_DIR)/share/cdlabelgen
+MAN_DIR   = $(BASE_DIR)/share/man/man1
 SOURCES    = cdlabelgen ChangeLog INSTALL README Makefile cdinsert.pl INSTALL.WEB cdlabelgen.pod cdlabelgen.1 cdlabelgen.html cdlabelgen$(VERSION).spec
 POSTSCRIPT = template.ps *.eps
 DISTFILES = $(SOURCES) $(POSTSCRIPT)
@@ -45,7 +45,8 @@
        @echo ""
        $(INSTALL_DIR) $(BIN_DIR)
        $(INSTALL) cdlabelgen $(BIN_DIR)
-       $(INSTALL) cdlabelgen.1 $(MAN_DIR)/man1
+       $(INSTALL_DIR) $(MAN_DIR)
+       $(INSTALL) cdlabelgen.1 $(MAN_DIR)
        $(INSTALL_DIR) $(LIB_DIR)
        set -e; \
        for file in $(POSTSCRIPT); do \


Se fosse gia' stato postato un topic riguardo a questo vi prego di scusarmi :)
_________________
GIT d- s:+>: a-- C+++ UBS+++ P++ L+++
E--- W+ N+ w M- PS+(++) PE PGP+ !t
X++ tv+ b++ D+ G e h! r++ x*
Back to top
View user's profile Send private message
cerri
Bodhisattva
Bodhisattva


Joined: 05 Mar 2003
Posts: 2957
Location: # init S

PostPosted: Fri Sep 19, 2003 7:56 pm    Post subject: Reply with quote

Prova a postare un bug report su bugs.gentoo.org.
_________________
Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito
Back to top
View user's profile Send private message
active
Apprentice
Apprentice


Joined: 23 Jun 2003
Posts: 228
Location: Something not a structure or union

PostPosted: Sat Sep 20, 2003 8:26 am    Post subject: Reply with quote

Problema: la patch sopra riportata non dovrebbe funzionare con il package scaricato dai server di gentoo.

La patch giusta la si puo' trovare su:
https://bugs.gentoo.org/show_bug.cgi?id=29174
_________________
GIT d- s:+>: a-- C+++ UBS+++ P++ L+++
E--- W+ N+ w M- PS+(++) PE PGP+ !t
X++ tv+ b++ D+ G e h! r++ x*
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum