diff options
author | Donald Cooley <dfc@warpmail.net> | 2013-12-04 20:40:14 +0700 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2013-12-14 10:53:03 -0600 |
commit | cce486203ad2c23d8297a9983c288fd510c4cf84 (patch) | |
tree | 09ee98a45a3e48b41520af4bdf56595b50a040d8 /libraries | |
parent | 0e00044ed979dfe857f147ab51bf4597a6d62a28 (diff) |
libraries/gtk-sharp: Updated for version 2.12.22.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/gtk-sharp/gtk-sharp-2.12.10-gcc47.patch | 39 | ||||
-rw-r--r-- | libraries/gtk-sharp/gtk-sharp.SlackBuild | 14 | ||||
-rw-r--r-- | libraries/gtk-sharp/gtk-sharp.info | 6 |
3 files changed, 11 insertions, 48 deletions
diff --git a/libraries/gtk-sharp/gtk-sharp-2.12.10-gcc47.patch b/libraries/gtk-sharp/gtk-sharp-2.12.10-gcc47.patch deleted file mode 100644 index 329d102bd657c..0000000000000 --- a/libraries/gtk-sharp/gtk-sharp-2.12.10-gcc47.patch +++ /dev/null @@ -1,39 +0,0 @@ -diff --git a/glib/glue/list.c b/glib/glue/list.c -index dd3f0de..377df76 100644 ---- a/glib/glue/list.c -+++ b/glib/glue/list.c -@@ -20,7 +20,7 @@ - */ - - --#include <glib/glist.h> -+#include <glib.h> - - /* Forward declarations */ - gpointer gtksharp_list_get_data (GList *l); -diff --git a/glib/glue/slist.c b/glib/glue/slist.c -index 80f5f17..ddd447c 100644 ---- a/glib/glue/slist.c -+++ b/glib/glue/slist.c -@@ -20,7 +20,7 @@ - */ - - --#include <glib/gslist.h> -+#include <glib.h> - - /* Forward declarations */ - gpointer gtksharp_slist_get_data (GSList *l); -diff --git a/glib/glue/thread.c b/glib/glue/thread.c -index 4fcf8c6..3655cfc 100644 ---- a/glib/glue/thread.c -+++ b/glib/glue/thread.c -@@ -20,7 +20,7 @@ - */ - - --#include <glib/gthread.h> -+#include <glib.h> - - gboolean glibsharp_g_thread_supported (void); - diff --git a/libraries/gtk-sharp/gtk-sharp.SlackBuild b/libraries/gtk-sharp/gtk-sharp.SlackBuild index c44bb549df017..6a742b953aab8 100644 --- a/libraries/gtk-sharp/gtk-sharp.SlackBuild +++ b/libraries/gtk-sharp/gtk-sharp.SlackBuild @@ -3,9 +3,10 @@ # Slackware build script for gtk-sharp # Written by (crocket) (crockabiscuit@gmail.com) +# Updated, edited, and maintained by Donald Cooley <dfc@warpmail.net> La Porte, IN USA PRGNAM=gtk-sharp -VERSION=${VERSION:-2.12.10} +VERSION=${VERSION:-2.12.22} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -42,7 +43,11 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +if [ -e $CWD/$VERSION.tar.gz ]; then + tar xvf $CWD/$VERSION.tar.gz +else + tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +fi cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -52,12 +57,9 @@ find -L . \ -exec chmod 644 {} \; chmod 644 HACKING -# Fix building against gcc-4.7.x -patch -p1 < $CWD/gtk-sharp-2.12.10-gcc47.patch - CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ -./configure \ +./bootstrap-2.12 \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ diff --git a/libraries/gtk-sharp/gtk-sharp.info b/libraries/gtk-sharp/gtk-sharp.info index eee92eafd6365..6d48160a7ccc9 100644 --- a/libraries/gtk-sharp/gtk-sharp.info +++ b/libraries/gtk-sharp/gtk-sharp.info @@ -1,8 +1,8 @@ PRGNAM="gtk-sharp" -VERSION="2.12.10" +VERSION="2.12.22" HOMEPAGE="http://www.mono-project.com/GtkSharp" -DOWNLOAD="http://ftp.gnome.org/pub/gnome/sources/gtk-sharp/2.12/gtk-sharp-2.12.10.tar.gz" -MD5SUM="4da921affb952fc5d4044251706beacb" +DOWNLOAD="https://github.com/mono/gtk-sharp/archive/2.12.22.tar.gz" +MD5SUM="0cdaef41857e29c23942a148c83122ac" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="mono" |