multimedia/gtkpod: Updated for version 2.1.3.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2013-01-06 21:51:09 +01:00 committed by dsomero
parent e89f44bc1a
commit 4123754fa9
3 changed files with 7 additions and 31 deletions

View File

@ -1,24 +0,0 @@
Index: gtkpod-2.1.2/src/anjuta-app.c
===================================================================
--- gtkpod-2.1.2.orig/src/anjuta-app.c
+++ gtkpod-2.1.2/src/anjuta-app.c
@@ -38,6 +38,7 @@
#include <libanjuta/resources.h>
#include <libanjuta/anjuta-plugin-manager.h>
#include <libanjuta/anjuta-debug.h>
+#include <libanjuta/anjuta-version.h>
#include "anjuta-app.h"
#include "anjuta-actions.h"
@@ -501,7 +502,11 @@ static void anjuta_app_instance_init(Anj
g_list_free(plugins_dirs);
/* Preferences */
+#if ANJUTA_CHECK_VERSION(3,5,3)
+ app->preferences = anjuta_preferences_new(app->plugin_manager, PREF_SCHEMA);
+#else
app->preferences = anjuta_preferences_new(app->plugin_manager);
+#endif
g_object_add_weak_pointer(G_OBJECT (app->preferences), (gpointer) &app->preferences);
g_signal_connect(app->settings, "changed::" GDL_STYLE, G_CALLBACK(on_gdl_style_changed), app);

View File

@ -2,7 +2,7 @@
# Slackware build script for gtkpod
# Copyright 2012 Willy Sudiarto Raharjo <willysr@slackware-id.org>
# Copyright 2012-2013 Willy Sudiarto Raharjo <willysr@slackware-id.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gtkpod
VERSION=${VERSION:-2.1.2}
BUILD=${BUILD:-2}
VERSION=${VERSION:-2.1.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@ -71,7 +71,7 @@ find . \
-exec chmod 644 {} \;
patch -p1 < $CWD/gtkpod-gdl362.patch
patch -p1 < $CWD/gtkpod-anjuta36.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \

View File

@ -1,8 +1,8 @@
PRGNAM="gtkpod"
VERSION="2.1.2"
VERSION="2.1.3"
HOMEPAGE="http://www.gtkpod.org/wiki/Home"
DOWNLOAD="http://downloads.sourceforge.net/gtkpod/gtkpod-2.1.2.tar.gz"
MD5SUM="88fef3f947cbb7ae6b714080733a3b6b"
DOWNLOAD="http://downloads.sourceforge.net/gtkpod/gtkpod-2.1.3.tar.gz"
MD5SUM="57f04578de6e3262a436ec574422b144"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="anjuta"