aboutsummaryrefslogtreecommitdiff
path: root/dev/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dev/cpp')
-rw-r--r--dev/cpp/glibmm/glibmm.SlackBuild6
-rw-r--r--dev/cpp/glibmm/glibmm.diff20
-rwxr-xr-xdev/cpp/gtkmm/gtkmm.SlackBuild4
3 files changed, 25 insertions, 5 deletions
diff --git a/dev/cpp/glibmm/glibmm.SlackBuild b/dev/cpp/glibmm/glibmm.SlackBuild
index 92558ea5..84b66026 100644
--- a/dev/cpp/glibmm/glibmm.SlackBuild
+++ b/dev/cpp/glibmm/glibmm.SlackBuild
@@ -16,7 +16,7 @@
#
# slackbuild for glibmm, by Silvio Rhatto
# requires: libsigc++ glib
-# tested: glibmm-2.12.10
+# tested: glibmm-2.16.4
#
# Look for slackbuildrc
@@ -31,7 +31,7 @@ CWD="$(pwd)"
SRC_NAME="glibmm"
PKG_NAME="glibmm"
ARCH=${ARCH:=i486}
-SRC_VERSION=${VERSION:=2.12.10}
+SRC_VERSION=${VERSION:=2.16.4}
PKG_VERSION="$(echo "$SRC_VERSION" | tr '[[:blank:]-]' '_')"
BUILD=${BUILD:=1rha}
SRC_DIR=${SRC_DIR:=$CWD}/$PKG_NAME
@@ -78,7 +78,7 @@ mkdir -p "$PKG_WORK" || exit $ERROR_MKDIR
# Dowload source if necessary
SRC="$SRC_NAME-$VERSION.tar.bz2"
-URL="http://ftp.acc.umu.se/pub/GNOME/sources/glibmm/2.12/$SRC"
+URL="http://ftp.acc.umu.se/pub/GNOME/sources/glibmm/2.16/$SRC"
if [ ! -s "$SRC_DIR/$SRC" ] || ! bunzip2 -t "$SRC_DIR/$SRC" 2> /dev/null; then
wget "$URL" -O "$SRC_DIR/$SRC" || exit $ERROR_WGET
diff --git a/dev/cpp/glibmm/glibmm.diff b/dev/cpp/glibmm/glibmm.diff
new file mode 100644
index 00000000..e115024a
--- /dev/null
+++ b/dev/cpp/glibmm/glibmm.diff
@@ -0,0 +1,20 @@
+--- glibmm-2.12.10-orig/glib/glibmm/convert.cc 2007-06-10 11:42:32.000000000 -0300
++++ glibmm-2.12.10/glib/glibmm/convert.cc 2008-12-10 21:05:07.000000000 -0200
+@@ -27,6 +27,7 @@
+ #include <glib/gconvert.h>
+ #include <glib/gmessages.h>
+ #include <glib/gunicode.h>
++#include <glib/gtestutils.h>
+ #include <glibmm/utility.h>
+
+
+--- glibmm-2.12.10-orig/glib/glibmm/date.cc 2007-06-10 11:42:33.000000000 -0300
++++ glibmm-2.12.10/glib/glibmm/date.cc 2008-12-10 21:05:50.000000000 -0200
+@@ -32,6 +32,7 @@
+
+ #include <glibmm/convert.h>
+ #include <glibmm/utility.h>
++#include <glib/gtestutils.h>
+
+ #include <glibmmconfig.h>
+ GLIBMM_USING_STD(max)
diff --git a/dev/cpp/gtkmm/gtkmm.SlackBuild b/dev/cpp/gtkmm/gtkmm.SlackBuild
index 31755273..3c4d85c4 100755
--- a/dev/cpp/gtkmm/gtkmm.SlackBuild
+++ b/dev/cpp/gtkmm/gtkmm.SlackBuild
@@ -31,7 +31,7 @@ CWD="$(pwd)"
SRC_NAME="gtkmm"
PKG_NAME="gtkmm"
ARCH=${ARCH:=i486}
-SRC_VERSION=${VERSION:=2.8.12}
+SRC_VERSION=${VERSION:=2.12.7}
PKG_VERSION="$(echo "$SRC_VERSION" | tr '[[:blank:]-]' '_')"
BUILD=${BUILD:=1rha}
SRC_DIR=${SRC_DIR:=$CWD}/$PKG_NAME
@@ -78,7 +78,7 @@ mkdir -p "$PKG_WORK" || exit $ERROR_MKDIR
# Dowload source if necessary
SRC="$SRC_NAME-$VERSION.tar.bz2"
-URL="http://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.8/$SRC"
+URL="http://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.12/$SRC"
if [ ! -s "$SRC_DIR/$SRC" ] || ! bunzip2 -t "$SRC_DIR/$SRC" 2> /dev/null; then
wget "$URL" -O "$SRC_DIR/$SRC" || exit $ERROR_WGET