summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2006-05-06 17:20:07 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2006-05-06 17:20:07 +0000
commit28c20c042755acbafdb06700860cc8df438035f1 (patch)
treee4c53b1cb15fda1666af9c9e75d963a04c586bc7 /net-misc
parentadd filesdir, was somehow not added in cvs but I had a CVS-dir in there? (diff)
downloadgentoo-2-28c20c042755acbafdb06700860cc8df438035f1.tar.gz
gentoo-2-28c20c042755acbafdb06700860cc8df438035f1.tar.bz2
gentoo-2-28c20c042755acbafdb06700860cc8df438035f1.zip
Version bump, see bug #130479.
(Portage version: 2.1_pre10-r3)
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/d4x/ChangeLog8
-rw-r--r--net-misc/d4x/d4x-2.5.7.1.ebuild92
-rw-r--r--net-misc/d4x/files/d4x-2.5.7.1-libintl_fix.patch11
-rw-r--r--net-misc/d4x/files/digest-d4x-2.5.7.13
4 files changed, 113 insertions, 1 deletions
diff --git a/net-misc/d4x/ChangeLog b/net-misc/d4x/ChangeLog
index 4ec6bab091f5..6c9d3093bf5f 100644
--- a/net-misc/d4x/ChangeLog
+++ b/net-misc/d4x/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/d4x
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/d4x/ChangeLog,v 1.39 2006/04/24 00:42:44 metalgod Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/d4x/ChangeLog,v 1.40 2006/05/06 17:20:06 nelchael Exp $
+
+*d4x-2.5.7.1 (06 May 2006)
+
+ 06 May 2006; Krzysiek Pawlik <nelchael@gentoo.org>
+ +files/d4x-2.5.7.1-libintl_fix.patch, +d4x-2.5.7.1.ebuild:
+ Version bump, see bug #130479.
24 Apr 2006; Luis Medinas <metalgod@gentoo.org> d4x-2.5.6.ebuild:
Stable on amd64. Bug #130803.
diff --git a/net-misc/d4x/d4x-2.5.7.1.ebuild b/net-misc/d4x/d4x-2.5.7.1.ebuild
new file mode 100644
index 000000000000..dd3b9f0e66e7
--- /dev/null
+++ b/net-misc/d4x/d4x-2.5.7.1.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/d4x/d4x-2.5.7.1.ebuild,v 1.1 2006/05/06 17:20:06 nelchael Exp $
+
+IUSE="nls esd gnome oss kde"
+
+inherit eutils flag-o-matic
+
+DESCRIPTION="GTK based download manager for X."
+SRC_URI="http://d4x.krasu.ru/files/${P}.tar.bz2"
+HOMEPAGE="http://www.krasu.ru/soft/chuchelo/"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+LICENSE="Artistic"
+
+DEPEND=">=x11-libs/gtk+-2.0.6
+ >=dev-libs/glib-2.0.6
+ >=sys-devel/gettext-0.11.2
+ >=dev-libs/openssl-0.9.7e
+ dev-libs/boost
+ esd? ( >=media-sound/esound-0.2.7 )"
+
+src_unpack() {
+
+ unpack ${A}
+
+ epatch "${FILESDIR}/${P}-libintl_fix.patch"
+
+ cd ${S}
+ # Fix "implausibly old time stamp 1970-01-01 01:00:00":
+ touch share/themes/gnome/popup/remove.png
+
+ # Use our own $CXXFLAGS
+ sed -i -e \
+ "s:CXXFLAGS=\"-O2\":CXXFLAGS=\"${CXXFLAGS}\":g;s:OPTFLAGS=\"-O2\":OPTFLAGS=\"\":g" \
+ configure
+
+}
+
+src_compile() {
+
+ myconf=""
+ append-flags -D_FILE_OFFSET_BITS=64
+
+ use nls \
+ && myconf="${myconf} --enable-nls" \
+ || myconf="${myconf} --disable-nls"
+
+ use esd \
+ && myconf="${myconf} --enable-esd" \
+ || myconf="${myconf} --disable-esd"
+
+ use oss \
+ && myconf="${myconf} --enable-oss" \
+ || myconf="${myconf} --disable-oss"
+
+ econf --enable-release \
+ ${myconf} || die
+
+ emake || die
+
+}
+
+src_install () {
+
+ dodir /usr/bin
+ dodir /usr/share/d4x
+
+ einstall || die
+
+ insinto /usr/share/pixmaps
+ doins share/*.png share/*.xpm
+
+ if use kde
+ then
+ insinto /usr/share/applnk/Internet
+ newins share/nt.desktop d4x.desktop
+ fi
+
+ if use gnome
+ then
+ echo "Categories=Application;Network;" >> ${S}/share/nt.desktop
+ insinto /usr/share/applications
+ newins share/nt.desktop d4x.desktop
+ fi
+
+ rm -rf ${D}/usr/share/d4x/{FAQ*,INSTALL*,README*,LICENSE,AUTHORS,TROUBLES}
+ dodoc AUTHORS COPYING ChangeLog* NEWS PLANS TODO \
+ DOC/{FAQ*,LICENSE,README*,TROUBLES,THANKS}
+
+}
diff --git a/net-misc/d4x/files/d4x-2.5.7.1-libintl_fix.patch b/net-misc/d4x/files/d4x-2.5.7.1-libintl_fix.patch
new file mode 100644
index 000000000000..f4e65eac8186
--- /dev/null
+++ b/net-misc/d4x/files/d4x-2.5.7.1-libintl_fix.patch
@@ -0,0 +1,11 @@
+diff -urNp d4x-2.5.7.1.old/main/face/prefs.cc d4x-2.5.7.1/main/face/prefs.cc
+--- d4x-2.5.7.1.old/main/face/prefs.cc 2005-11-05 21:03:19.000000000 +0200
++++ d4x-2.5.7.1/main/face/prefs.cc 2006-04-29 21:00:17.000000000 +0300
+@@ -9,6 +9,7 @@
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ */
+
++#include <libintl.h>
+ #include <gtk/gtk.h>
+ #include <gdk/gdkkeysyms.h>
+ #include "../ntlocale.h"
diff --git a/net-misc/d4x/files/digest-d4x-2.5.7.1 b/net-misc/d4x/files/digest-d4x-2.5.7.1
new file mode 100644
index 000000000000..8b7e6436a924
--- /dev/null
+++ b/net-misc/d4x/files/digest-d4x-2.5.7.1
@@ -0,0 +1,3 @@
+MD5 68d6336c3749a7caabb0f5a5f84f4102 d4x-2.5.7.1.tar.bz2 1606760
+RMD160 3f3cc855638eb5657553ed181b94cdb68e393599 d4x-2.5.7.1.tar.bz2 1606760
+SHA256 7504bd38e561877ff5217e0e01dcb8eecaf47540248c7d15d6d1fabe049032c4 d4x-2.5.7.1.tar.bz2 1606760