summaryrefslogtreecommitdiffstats
path: root/audio/rhythmbox
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-12-18 16:08:39 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-12-18 16:08:39 +0800
commitcba5fda17bf7f7bca9a39d5aed835cac0687c890 (patch)
treecbcafe0a2b905b611f9e307761176fae6c33c59f /audio/rhythmbox
parent47b44261bd6621fbc9b737914753fff878d348af (diff)
downloadmarcuscom-ports-cba5fda17bf7f7bca9a39d5aed835cac0687c890.tar
marcuscom-ports-cba5fda17bf7f7bca9a39d5aed835cac0687c890.tar.gz
marcuscom-ports-cba5fda17bf7f7bca9a39d5aed835cac0687c890.tar.bz2
marcuscom-ports-cba5fda17bf7f7bca9a39d5aed835cac0687c890.tar.lz
marcuscom-ports-cba5fda17bf7f7bca9a39d5aed835cac0687c890.tar.xz
marcuscom-ports-cba5fda17bf7f7bca9a39d5aed835cac0687c890.tar.zst
marcuscom-ports-cba5fda17bf7f7bca9a39d5aed835cac0687c890.zip
Update to 0.6.2.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1495 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'audio/rhythmbox')
-rw-r--r--audio/rhythmbox/Makefile5
-rw-r--r--audio/rhythmbox/distinfo2
-rw-r--r--audio/rhythmbox/files/patch-configure10
-rw-r--r--audio/rhythmbox/files/patch-shell_rb-play-order-random-by-age.c40
-rw-r--r--audio/rhythmbox/files/patch-shell_rb-play-order-random-equal-weights.c18
-rw-r--r--audio/rhythmbox/files/patch-shell_rb-play-order-shuffle.c17
-rw-r--r--audio/rhythmbox/files/patch-shell_rb-play-order.c13
7 files changed, 91 insertions, 14 deletions
diff --git a/audio/rhythmbox/Makefile b/audio/rhythmbox/Makefile
index 5293267a2..82e1d5b03 100644
--- a/audio/rhythmbox/Makefile
+++ b/audio/rhythmbox/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= rhythmbox
-PORTVERSION= 0.6.1
-PORTREVISION= 1
+PORTVERSION= 0.6.2
CATEGORIES= audio gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.6
@@ -24,7 +23,7 @@ LIB_DEPENDS= musicbrainz.3:${PORTSDIR}/audio/libmusicbrainz \
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
-USE_GNOME= gnomehack gnomeprefix libgnomeui
+USE_GNOME= gnomehack gnomeprefix lthack libgnomeui
USE_LIBTOOL= yes
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib -lm" \
CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include"
diff --git a/audio/rhythmbox/distinfo b/audio/rhythmbox/distinfo
index 2412d10ff..9ce60c7bc 100644
--- a/audio/rhythmbox/distinfo
+++ b/audio/rhythmbox/distinfo
@@ -1 +1 @@
-MD5 (gnome2/rhythmbox-0.6.1.tar.bz2) = 5791f9fb69c9a855d84e1e666b2e86a9
+MD5 (gnome2/rhythmbox-0.6.2.tar.bz2) = a6d05830abf45cda229270b0e5ab5ca4
diff --git a/audio/rhythmbox/files/patch-configure b/audio/rhythmbox/files/patch-configure
deleted file mode 100644
index f195f07b4..000000000
--- a/audio/rhythmbox/files/patch-configure
+++ /dev/null
@@ -1,10 +0,0 @@
---- configure.orig Wed Dec 11 18:31:51 2002
-+++ configure Thu Dec 12 12:07:17 2002
-@@ -7414,6 +7414,7 @@
-
- # This can be used to rebuild libtool when needed
- LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
-+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
-
- # Always use our own libtool.
- LIBTOOL='$(SHELL) $(top_builddir)/libtool'
diff --git a/audio/rhythmbox/files/patch-shell_rb-play-order-random-by-age.c b/audio/rhythmbox/files/patch-shell_rb-play-order-random-by-age.c
new file mode 100644
index 000000000..6778884c7
--- /dev/null
+++ b/audio/rhythmbox/files/patch-shell_rb-play-order-random-by-age.c
@@ -0,0 +1,40 @@
+--- shell/rb-play-order-random-by-age.c.orig Thu Dec 18 02:59:50 2003
++++ shell/rb-play-order-random-by-age.c Thu Dec 18 03:00:34 2003
+@@ -87,6 +87,7 @@
+ rb_random_play_order_by_age_class_init (RBRandomPlayOrderByAgeClass *klass)
+ {
+ GObjectClass *object_class = G_OBJECT_CLASS (klass);
++ RBPlayOrderClass *porder = RB_PLAY_ORDER_CLASS (klass);
+
+ parent_class = g_type_class_peek_parent (klass);
+
+@@ -94,7 +95,6 @@
+ object_class->finalize = rb_random_play_order_by_age_finalize;
+
+
+- RBPlayOrderClass *porder = RB_PLAY_ORDER_CLASS (klass);
+ porder->get_next = rb_random_play_order_by_age_get_next;
+ porder->go_next = rb_random_play_order_by_age_go_next;
+ porder->get_previous = rb_random_play_order_by_age_get_previous;
+@@ -265,6 +265,8 @@
+ RhythmDBEntry *result = NULL;
+ GArray *entries = get_entry_view_contents (entry_view);
+ int i;
++ double rnd;
++ double total_weight = 0;
+
+ if (entries->len == 0) {
+ /* entry view empty */
+@@ -273,11 +275,10 @@
+
+ /* Algorithm due to treed */
+
+- double total_weight = 0;
+ for (i=0; i<entries->len; ++i) {
+ total_weight += g_array_index (entries, EntryWeight, i).weight;
+ }
+- double rnd = g_random_double_range (0, total_weight);
++ rnd = g_random_double_range (0, total_weight);
+ for (i=0; i<entries->len; ++i) {
+ if (rnd < g_array_index (entries, EntryWeight, i).weight) {
+ result = g_array_index (entries, EntryWeight, i).entry;
diff --git a/audio/rhythmbox/files/patch-shell_rb-play-order-random-equal-weights.c b/audio/rhythmbox/files/patch-shell_rb-play-order-random-equal-weights.c
new file mode 100644
index 000000000..bc81e005e
--- /dev/null
+++ b/audio/rhythmbox/files/patch-shell_rb-play-order-random-equal-weights.c
@@ -0,0 +1,18 @@
+--- shell/rb-play-order-random-equal-weights.c.orig Thu Dec 18 02:59:09 2003
++++ shell/rb-play-order-random-equal-weights.c Thu Dec 18 02:59:16 2003
+@@ -85,6 +85,7 @@
+ rb_random_play_order_equal_weights_class_init (RBRandomPlayOrderEqualWeightsClass *klass)
+ {
+ GObjectClass *object_class = G_OBJECT_CLASS (klass);
++ RBPlayOrderClass *porder = RB_PLAY_ORDER_CLASS (klass);
+
+ parent_class = g_type_class_peek_parent (klass);
+
+@@ -92,7 +93,6 @@
+ object_class->finalize = rb_random_play_order_equal_weights_finalize;
+
+
+- RBPlayOrderClass *porder = RB_PLAY_ORDER_CLASS (klass);
+ porder->get_next = rb_random_play_order_equal_weights_get_next;
+ porder->go_next = rb_random_play_order_equal_weights_go_next;
+ porder->get_previous = rb_random_play_order_equal_weights_get_previous;
diff --git a/audio/rhythmbox/files/patch-shell_rb-play-order-shuffle.c b/audio/rhythmbox/files/patch-shell_rb-play-order-shuffle.c
new file mode 100644
index 000000000..33d0c3fce
--- /dev/null
+++ b/audio/rhythmbox/files/patch-shell_rb-play-order-shuffle.c
@@ -0,0 +1,17 @@
+--- shell/rb-play-order-shuffle.c.orig Thu Dec 18 02:58:17 2003
++++ shell/rb-play-order-shuffle.c Thu Dec 18 02:58:34 2003
+@@ -111,13 +111,13 @@
+ rb_shuffle_play_order_class_init (RBShufflePlayOrderClass *klass)
+ {
+ GObjectClass *object_class = G_OBJECT_CLASS (klass);
++ RBPlayOrderClass *porder = RB_PLAY_ORDER_CLASS (klass);
+
+ parent_class = g_type_class_peek_parent (klass);
+
+ object_class->constructor = rb_shuffle_play_order_constructor;
+ object_class->finalize = rb_shuffle_play_order_finalize;
+
+- RBPlayOrderClass *porder = RB_PLAY_ORDER_CLASS (klass);
+ porder->get_next = rb_shuffle_play_order_get_next;
+ porder->go_next = rb_shuffle_play_order_go_next;
+ porder->get_previous = rb_shuffle_play_order_get_previous;
diff --git a/audio/rhythmbox/files/patch-shell_rb-play-order.c b/audio/rhythmbox/files/patch-shell_rb-play-order.c
new file mode 100644
index 000000000..5e7990b00
--- /dev/null
+++ b/audio/rhythmbox/files/patch-shell_rb-play-order.c
@@ -0,0 +1,13 @@
+--- shell/rb-play-order.c.orig Thu Dec 18 02:57:29 2003
++++ shell/rb-play-order.c Thu Dec 18 02:57:41 2003
+@@ -195,9 +195,9 @@
+ rb_play_order_get_entry_view (RBPlayOrder *porder)
+ {
+ RBShellPlayer *player = porder->priv->player;
++ RBSource *source = rb_shell_player_get_source (player);
+ if (player == NULL)
+ return NULL;
+- RBSource *source = rb_shell_player_get_source (player);
+ if (source == NULL)
+ return NULL;
+ return rb_source_get_entry_view (source);