Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=dex77testing.git;a=commitdiff;h=9fe483e02b52cb9ca5f68fdf7ee30196e8b158ac

commit 9fe483e02b52cb9ca5f68fdf7ee30196e8b158ac
Author: James Buren <[email protected]>
Date:   Tue Mar 18 03:16:55 2014 -0500

gtk-gnutella-1.0.1-1-x86_64
* rebuild with gnutls

diff --git a/source/xapps-extra/gtk-gnutella/FrugalBuild 
b/source/xapps-extra/gtk-gnutella/FrugalBuild
index a01513f..2850aec 100644
--- a/source/xapps-extra/gtk-gnutella/FrugalBuild
+++ b/source/xapps-extra/gtk-gnutella/FrugalBuild
@@ -3,17 +3,19 @@
# Contributor: geekitus <[email protected]>

pkgname=gtk-gnutella
-pkgver=0.98.2
-pkgrel=2
+pkgver=1.0.1
+pkgrel=1
pkgdesc="Gtk-Gnutella is a clone of Gnutella"
-depends=('gtk+2>=2.20.1' 'glib2' 'libxml2>=2.7.8' 'freetype2' 
'libxau>=1.0.4-1' 'libxdmcp' 'dbus>=1.2.14-1' 'gnutls>=2.12.12' 'libgcrypt' 
'libxdamage>=1.1.1-3' 'libxext>=1.0.5-3')
+depends=('gtk+2>=2.20.1' 'glib2' 'libxml2>=2.7.8' 'freetype2' 
'libxau>=1.0.4-1' 'libxdmcp' 'dbus>=1.2.14-1' 'gnutls>=3.2.12.1' 
'libxdamage>=1.1.1-3' 'libxext>=1.0.5-3')
archs=('i686' 'x86_64')
groups=('xapps-extra')
replaces=('apollon')
options=('scriptlet')
_F_sourceforge_ext=".tar.bz2"
Finclude sourceforge
-sha1sums=('ad5e9dfca28e6da938adf574d59e4ccefb647b8c')
+source=(${source[@]} fixes.patch)
+sha1sums=('d01b7ac03550200a858efd076bff4fa625962111' \
+          'dbc35ed67883328377867882c0273ee8ef903f3d')

build()
{
diff --git a/source/xapps-extra/gtk-gnutella/fixes.patch 
b/source/xapps-extra/gtk-gnutella/fixes.patch
new file mode 100644
index 0000000..ba0db75
--- /dev/null
+++ b/source/xapps-extra/gtk-gnutella/fixes.patch
@@ -0,0 +1,76 @@
+diff -ur a/src/bin/Jmakefile b/src/bin/Jmakefile
+--- a/src/bin/Jmakefile        2013-12-31 05:24:24.000000000 -0600
++++ b/src/bin/Jmakefile        2014-03-14 20:04:42.175365343 -0500
+@@ -38,7 +38,7 @@
+ ++COMMON_LIBS $libs
+
+ LDFLAGS =
+-LIBS = -L../lib -lshared $(GLIB_LDFLAGS) $(COMMON_LIBS)
++LIBS = -L../lib -shared $(GLIB_LDFLAGS) $(COMMON_LIBS)
+
+ RemoteTargetDependency(sha1sum, ../lib, libshared.a)
+
+diff -ur a/src/bin/Makefile.SH b/src/bin/Makefile.SH
+--- a/src/bin/Makefile.SH      2013-12-31 05:24:24.000000000 -0600
++++ b/src/bin/Makefile.SH      2014-03-14 20:04:47.106365162 -0500
+@@ -102,7 +102,7 @@
+       $(RM) Makefile.new
+
+ LDFLAGS =
+-LIBS = -L../lib -lshared $(GLIB_LDFLAGS) $(COMMON_LIBS)
++LIBS = -L../lib -shared $(GLIB_LDFLAGS) $(COMMON_LIBS)
+
+ .FORCE:
+
+diff -ur a/src/Jmakefile b/src/Jmakefile
+--- a/src/Jmakefile    2013-12-31 05:24:24.000000000 -0600
++++ b/src/Jmakefile    2014-03-14 20:04:02.979366786 -0500
+@@ -80,8 +80,8 @@
+       -Lui/gtk -lgtk-common -lgtkx -lgtk-common \
+ -case
+       -Lxml -lxml \
+-      -Llib -lshared \
+-      -Lsdbm -lsdbm -lshared \
++      -Llib -shared \
++      -Lsdbm -lsdbm -shared \
+       $(GTK_LDFLAGS) $(DBUS_LDFLAGS) $(GNUTLS_LDFLAGS) $(SOCKER_LDFLAGS)
+
+ RemoteTargetDependency(gtk-gnutella, lib, libshared.a)
+diff -ur a/src/Makefile.SH b/src/Makefile.SH
+--- a/src/Makefile.SH  2013-12-31 05:24:24.000000000 -0600
++++ b/src/Makefile.SH  2014-03-14 20:04:50.544365035 -0500
+@@ -141,8 +141,8 @@
+ esac
+ $spitshell >>Makefile <<'!NO!SUBS!'
+       -Lxml -lxml \
+-      -Llib -lshared \
+-      -Lsdbm -lsdbm -lshared \
++      -Llib -shared \
++      -Lsdbm -lsdbm -shared \
+       $(GTK_LDFLAGS) $(DBUS_LDFLAGS) $(GNUTLS_LDFLAGS) $(SOCKER_LDFLAGS)
+
+ .FORCE:
+diff -ur a/src/sdbm/Jmakefile b/src/sdbm/Jmakefile
+--- a/src/sdbm/Jmakefile       2013-12-31 05:24:27.000000000 -0600
++++ b/src/sdbm/Jmakefile       2014-03-14 20:04:32.644365694 -0500
+@@ -92,7 +92,7 @@
+ ++COMMON_LIBS $libs
+
+ LDFLAGS =
+-LIBS = -L. -lsdbm -L../lib -lshared $(GLIB_LDFLAGS) $(COMMON_LIBS)
++LIBS = -L. -lsdbm -L../lib -shared $(GLIB_LDFLAGS) $(COMMON_LIBS)
+
+ dbu dbe dbt: libsdbm.a
+ RemoteTargetDependency(dbu, ../lib, libshared.a)
+diff -ur a/src/sdbm/Makefile.SH b/src/sdbm/Makefile.SH
+--- a/src/sdbm/Makefile.SH     2013-12-31 05:24:27.000000000 -0600
++++ b/src/sdbm/Makefile.SH     2014-03-14 20:04:35.023365607 -0500
+@@ -165,7 +165,7 @@
+       util.o
+
+ LDFLAGS =
+-LIBS = -L. -lsdbm -L../lib -lshared $(GLIB_LDFLAGS) $(COMMON_LIBS)
++LIBS = -L. -lsdbm -L../lib -shared $(GLIB_LDFLAGS) $(COMMON_LIBS)
+
+ dbu dbe dbt: libsdbm.a
+
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to