Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=2d6c7b60b585cc5b82a9683c2e7523ebf6056b1c

commit 2d6c7b60b585cc5b82a9683c2e7523ebf6056b1c
Author: crazy <[EMAIL PROTECTED]>
Date:   Sat Dec 8 21:54:25 2007 +0100

d4x-2.5.7.1-4-i686
* release bump
* added an patch to fix the build

diff --git a/source/xapps-extra/d4x/FrugalBuild 
b/source/xapps-extra/d4x/FrugalBuild
index 0058ae4..322c1d2 100644
--- a/source/xapps-extra/d4x/FrugalBuild
+++ b/source/xapps-extra/d4x/FrugalBuild
@@ -4,22 +4,27 @@

pkgname=d4x
pkgver=2.5.7.1
-pkgrel=3
+pkgrel=4
pkgdesc="Download manager for Linux"
url="http://www.krasu.ru/soft/chuchelo/";
-depends=('gtk+2' 'atk' 'openssl' 'libstdc++' 'freetype2' 'pango' 'cairo' 
'boost>=1.34.0-4' 'cppunit')
+depends=('gtk+2' 'atk' 'openssl' 'libstdc++' 'freetype2' 'pango' 'cairo')
+makedepends=('boost>=1.34.1')
groups=('xapps-extra')
options=('scriptlet')
archs=('i686' 'x86_64')
up2date="lynx -dump http://www.krasu.ru/soft/chuchelo/|grep -m1 '.tar.bz2'|sed 
's/.*-\(.*\).t.*/\1/'"
-source=(http://d4x.krasu.ru/files/$pkgname-$pkgver.tar.bz2)
-sha1sums=('10955550112bdf22ff91c6c9395afd1a5f15bff2')
+source=(http://d4x.krasu.ru/files/$pkgname-$pkgver.tar.bz2 gtk2-compile.patch)
+sha1sums=('10955550112bdf22ff91c6c9395afd1a5f15bff2' \
+          '5020e0ea3027c4eae877c702b52f360047dbd8f8')

build ()
{
Fcd
+       Fpatchall
+       autoconf || Fdie
Fmkdir usr/bin
-       Fbuild
+       Fmake
+       Fmakeinstall
Fln /usr/man/man1/nt.1.gz /usr/man/man1/d4x.1.gz
Fmkdir /usr/share/{applications,pixmaps}
Ffilerel share/nt.desktop /usr/share/applications/nt.desktop
diff --git a/source/xapps-extra/d4x/gtk2-compile.patch 
b/source/xapps-extra/d4x/gtk2-compile.patch
new file mode 100644
index 0000000..8f15a9a
--- /dev/null
+++ b/source/xapps-extra/d4x/gtk2-compile.patch
@@ -0,0 +1,22 @@
+diff -Naur d4x-2.5.7.1/configure.ac d4x-2.5.7.1-gtk/configure.ac
+--- d4x-2.5.7.1/configure.ac   2005-11-05 00:35:38.000000000 +0100
++++ d4x-2.5.7.1-gtk/configure.ac       2007-12-08 21:31:53.000000000 +0100
+@@ -298,7 +298,6 @@
+
+ # Other needed defines
+ AC_DEFINE(_REENTRANT, , [Enable reenrant code of glibc])
+-AC_DEFINE(GTK_DISABLE_DEPRECATED, , [Enable warnings about deprecated 
functions usage])
+ AC_DEFINE(_FILE_OFFSET_BITS, 64, [To support files over 2GB])
+
+ # Prepare all requiered flags
+diff -Naur d4x-2.5.7.1/main/face/list.cc d4x-2.5.7.1-gtk/main/face/list.cc
+--- d4x-2.5.7.1/main/face/list.cc      2006-03-20 01:29:41.000000000 +0100
++++ d4x-2.5.7.1-gtk/main/face/list.cc  2007-12-08 21:31:04.000000000 +0100
+@@ -8,7 +8,6 @@
+  *    but WITHOUT ANY WARRANTY; without even the implied warranty of
+  *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+  */
+-#define GTK_DISABLE_DEPRECATED
+
+ #include <stdio.h>
+ #include <gtk/gtk.h>
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to