[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Awale-developpeur] awale on gentoo
From: |
Dominique Michel |
Subject: |
[Awale-developpeur] awale on gentoo |
Date: |
Sat, 26 Jan 2013 10:52:34 +0100 |
Hi,
I try to make a gentoo ebuild that will install awale-1.5 on gentoo and
respect gentoo policies.
When installing awale in /usr/local, it all is working fine.
If I done an ebuild that install awale in /usr, all is working fine,
but I cannot publish it. Gentoo want the executables for games
in /usr/games/bin, the data in /usr/share/games, and the man pages
should be in /usr/share/man
With portage, that give me:
>>> Configuring source
>>> in /var/tmp/portage/games-board/awale-1.5/work/awale-1.5 ...
./configure --prefix=/usr --build=x86_64-pc-linux-gnu
--host=x86_64-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --prefix=/usr/games --libdir=/usr/games/lib64
--datadir=/usr/share/games --sysconfdir=/etc/games
--localstatedir=/var/games --disable-dependency-tracking
--bindir=/usr/games/bin --mandir=/usr/share/man
but I get 3 problems.
1) the path is not updated in xawale, so I must patch it with sed:
sed -i -e "s:share:../share/games:" /usr/games/bin/xawale
That's trivial with portage:
sed -i -e "s:share:../share/games:" ${D}/usr/games/bin/xawale
which give
`dirname $0`/../../share/games/awale/xawale.tcl
More important to me are:
2) the man pages are still installed into /usr/games/share/man
3) awale is working fine. xawale start, I can start a new game, but
when I click on a hole to make a move, I get an error window instead of
the move. The message goes out of the window, so I cannot read it, but
it look like xawale doesn't find some path.
I try several configure options, but nothing was working. Do you have
any clue?
Dominique
--
"We have the heroes we deserve."
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Awale-developpeur] awale on gentoo,
Dominique Michel <=