View previous topic :: View next topic |
Author |
Message |
lalebarde Guru
Joined: 03 Sep 2006 Posts: 464 Location: France, Haute-Garonne
|
Posted: Mon Aug 12, 2013 6:03 pm Post subject: [SOLVED]Portage tries to install doc with bad file name case |
|
|
Hi all,
I have written a live ebuild here for curvezmq.
It tries to install curvezmq.7 instead of CurveZMQ.7 in the man pages. How to force portage to install CurveZMQ.7 instead of curvezmq.7 ? Shall the file names be mandatory lower case ? Please follow the ebuild link for details. I am not an ebuild expert and I need help here.
Last edited by lalebarde on Tue Aug 13, 2013 2:45 pm; edited 1 time in total |
|
Back to top |
|
|
dol-sen Retired Dev
Joined: 30 Jun 2002 Posts: 2805 Location: Richmond, BC, Canada
|
|
Back to top |
|
|
lalebarde Guru
Joined: 03 Sep 2006 Posts: 464 Location: France, Haute-Garonne
|
Posted: Tue Aug 13, 2013 9:13 am Post subject: |
|
|
Thanks dol-sen,
I have added the patch curvezmq-9999-doc_makefile.am-CurveZMQ.7.patch : Code: | --- doc/Makefile.am.orig 2013-08-13 09:23:17.009297509 +0200
+++ doc/Makefile.am 2013-08-13 09:23:17.009297509 +0200
@@ -1,6 +1,6 @@
MAN1 =
MAN3 = curvezmq_codec.3 curvezmq_keypair.3
-MAN7 = curvezmq.7
+MAN7 = CurveZMQ.7
MAN_DOC = $(MAN1) $(MAN3) $(MAN7)
MAN_TXT = $(MAN1:%.1=%.txt) |
It is correctly applied : Code: | * Applying curvezmq-9999-doc_makefile.am-CurveZMQ.7.patch ...
[ ok ] | I checked also in the portage working directory /var/tmp/portage/net-libs/curvezmq-9999/work/curvezmq-9999/doc/Makefile.am : Code: | MAN1 =
MAN3 = curvezmq_codec.3 curvezmq_keypair.3
MAN7 = CurveZMQ.7
MAN_DOC = $(MAN1) $(MAN3) $(MAN7)
MAN_TXT = $(MAN1:%.1=%.txt)
MAN_TXT += $(MAN3:%.3=%.txt)
MAN_TXT += $(MAN7:%.7=%.txt)
|
I have now another error : Code: | Making all in doc
make[1]: Entering directory `/var/tmp/portage/net-libs/curvezmq-9999/work/curvezmq-9999/doc'
cd .. && /bin/sh /var/tmp/portage/net-libs/curvezmq-9999/work/curvezmq-9999/config/missing --run automake-1.12 --foreign doc/Makefile
cd .. && /bin/sh ./config.status doc/Makefile
config.status: creating doc/Makefile
make[1]: Leaving directory `/var/tmp/portage/net-libs/curvezmq-9999/work/curvezmq-9999/doc'
make[1]: Entering directory `/var/tmp/portage/net-libs/curvezmq-9999/work/curvezmq-9999/doc'
./mkman curvezmq_codec.txt
./mkman curvezmq_keypair.txt
make[1]: *** No rule to make target `CurveZMQ.txt', needed by `CurveZMQ.xml'. Stop. |
Possibly this is not the good approach ? I will try a mv at the install stage..... |
|
Back to top |
|
|
lalebarde Guru
Joined: 03 Sep 2006 Posts: 464 Location: France, Haute-Garonne
|
Posted: Tue Aug 13, 2013 12:52 pm Post subject: |
|
|
I have made two other attemps but failed :
1) patch doc/curvezmq.txt : Code: | --- doc/curvezmq.txt.orig 2013-08-13 14:40:04.246133001 +0200
+++ doc/curvezmq.txt 2013-08-13 14:41:29.812185378 +0200
@@ -1,4 +1,4 @@
-curvezmq(7)
+CurveZMQ(7)
=========== |
2) copy/past the default src_install() and add before dodoc : Code: | cp ${DOC}/CurveZMQ.7 ${DOC}/curvezmq.7 |
This is probably naive attempts, but I cannot aford to learn portage and ebuilds in the deep now. Any help appreciated please. |
|
Back to top |
|
|
lalebarde Guru
Joined: 03 Sep 2006 Posts: 464 Location: France, Haute-Garonne
|
Posted: Tue Aug 13, 2013 2:44 pm Post subject: |
|
|
A Code: | cp ${S}/doc/CurveZMQ.7 ${S}/doc/curvezmq.7 | in src_install() did the trick |
|
Back to top |
|
|
|