aboutsummaryrefslogtreecommitdiff
path: root/multimedia/gtkpod
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackware-id.org>2013-03-13 05:05:14 -0400
committerdsomero <xgizzmo@slackbuilds.org>2013-03-22 07:16:45 -0400
commit76644a92eb72769ca5963e3bc4d84e771425b395 (patch)
tree3e30b2ef71e9c7967cd3a81957821030e27da1c0 /multimedia/gtkpod
parentc0c1ca949c6542eb4b0dfa7af5eaf2ce21d4a246 (diff)
multimedia/gtkpod: Patched to fix showing tracks on 64 bit.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'multimedia/gtkpod')
-rw-r--r--multimedia/gtkpod/gtkpod-trackfilter64.patch20
-rw-r--r--multimedia/gtkpod/gtkpod.SlackBuild6
-rw-r--r--multimedia/gtkpod/slack-desc16
3 files changed, 32 insertions, 10 deletions
diff --git a/multimedia/gtkpod/gtkpod-trackfilter64.patch b/multimedia/gtkpod/gtkpod-trackfilter64.patch
new file mode 100644
index 0000000000000..a38814fdc393e
--- /dev/null
+++ b/multimedia/gtkpod/gtkpod-trackfilter64.patch
@@ -0,0 +1,20 @@
+--- a/plugins/sorttab_display/normal_sorttab_page.c
++++ b/plugins/sorttab_display/normal_sorttab_page.c
+@@ -41,7 +41,7 @@
+ #include "normal_sorttab_page.h"
+ #include "sorttab_display_context_menu.h"
+
+-#define NO_IDLE_SELECTION_CALLBACK -1
++#define NO_IDLE_SELECTION_CALLBACK 0
+
+ G_DEFINE_TYPE( NormalSortTabPage, normal_sort_tab_page, GTK_TYPE_TREE_VIEW);
+
+@@ -570,7 +570,7 @@
+ static void _st_selection_changed(GtkTreeSelection *selection, gpointer user_data) {
+
+ NormalSortTabPage *self = NORMAL_SORT_TAB_PAGE(user_data);
+- gulong idleId = NO_IDLE_SELECTION_CALLBACK;
++ guint idleId = NO_IDLE_SELECTION_CALLBACK;
+
+ if (self) {
+ NormalSortTabPagePrivate *priv = NORMAL_SORT_TAB_PAGE_GET_PRIVATE(self); \ No newline at end of file
diff --git a/multimedia/gtkpod/gtkpod.SlackBuild b/multimedia/gtkpod/gtkpod.SlackBuild
index f7ff0a81d33d5..c4c935bd755a6 100644
--- a/multimedia/gtkpod/gtkpod.SlackBuild
+++ b/multimedia/gtkpod/gtkpod.SlackBuild
@@ -24,10 +24,9 @@
PRGNAM=gtkpod
VERSION=${VERSION:-2.1.3}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
@@ -72,6 +71,9 @@ find . \
patch -p1 < $CWD/gtkpod-gdl362.patch
+# Upstream patch to fix showing tracks of selected artist on 64-bit systems
+patch -p1 < $CWD/gtkpod-trackfilter64.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
diff --git a/multimedia/gtkpod/slack-desc b/multimedia/gtkpod/slack-desc
index 972b6fb23e5c9..253cb620204f3 100644
--- a/multimedia/gtkpod/slack-desc
+++ b/multimedia/gtkpod/slack-desc
@@ -1,16 +1,16 @@
# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|'
-# on the right side marks the last column you can put a character in. You must
-# make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':'.
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
gtkpod: gtkpod (iPod Manager)
gtkpod:
-gtkpod: gtkpod is a graphical user interface for the Apple iPod for
-gtkpod: Unix-like systems, written using the GTK+ toolkit.
-gtkpod:
+gtkpod: gtkpod is a graphical user interface for the Apple iPod for
+gtkpod: Unix-like systems, written using the GTK+ toolkit.
+gtkpod:
gtkpod: Homepage: http://www.gtkpod.org/wiki/Home
gtkpod:
gtkpod: