Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 950 - new stable dopewars release is 1.5.4
Summary: new stable dopewars release is 1.5.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-03 17:29 UTC by Seemant Kulleen
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Seemant Kulleen 2002-03-03 17:29:11 UTC
Hi again to my Gentoo friends,

dopewars is now in the bugfixing/stability-enhancement change, and 1.5.4
is a step in that direction.  I had a look at the ebuild, and noticed that it
does not make use of the nls flag in USE, which could lead to unnecessary bloat :)

Here is a patch to take care of that in 1.5.4.

Thanks,

Seemant

--- Cut Here


--- dopewars-1.5.0.ebuild       Sun Mar  3 15:24:22 2002
+++ dopewars-1.5.4.ebuild       Sun Mar  3 15:18:22 2002
@@ -9,11 +9,17 @@
 HOMEPAGE="http://dopewars.sourceforge.net"
 
 DEPEND=">=sys-libs/ncurses-5.2
-       >=dev-libs/glib-1.2.10"
+       >=dev-libs/glib-1.2.10
+       nls? ( >=sys-devel/gettext-0.10.38 )"
 
 src_compile() {
-
-    ./configure --prefix=/usr --datadir=/usr/share/dopewars --host=${CHOST} ||
 die
+       
+       local myconf
+        use nls || myconf="--disable-nls"
+    ./configure --prefix=/usr \
+                               --datadir=/usr/share/dopewars \
+                               --host=${CHOST} \
+                               ${myconf} || die
     make || die
 
 }
Comment 1 Seemant Kulleen 2002-03-15 07:53:49 UTC
Added a few different things: version upgrade and conditional nls compilation
from the patch.  Also added USE dependent addition of gnome desktop entries.