From 76644a92eb72769ca5963e3bc4d84e771425b395 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Wed, 13 Mar 2013 05:05:14 -0400 Subject: multimedia/gtkpod: Patched to fix showing tracks on 64 bit. Signed-off-by: dsomero --- multimedia/gtkpod/gtkpod-trackfilter64.patch | 20 ++++++++++++++++++++ multimedia/gtkpod/gtkpod.SlackBuild | 6 ++++-- multimedia/gtkpod/slack-desc | 16 ++++++++-------- 3 files changed, 32 insertions(+), 10 deletions(-) create mode 100644 multimedia/gtkpod/gtkpod-trackfilter64.patch (limited to 'multimedia/gtkpod') diff --git a/multimedia/gtkpod/gtkpod-trackfilter64.patch b/multimedia/gtkpod/gtkpod-trackfilter64.patch new file mode 100644 index 0000000000..a38814fdc3 --- /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 f7ff0a81d3..c4c935bd75 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 972b6fb23e..253cb62020 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: -- cgit v1.2.3-65-gdbad