pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/albumplayer update to 0.3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0a799496de9e
branches:  trunk
changeset: 398836:0a799496de9e
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Wed Sep 09 16:54:13 2009 +0000

description:
update to 0.3
changes:
-my patches (portability, cue sheet parser improvements) were integrated
 upstream
-UI improvements
-minor fixes

diffstat:

 audio/albumplayer/Makefile         |  12 +++++-----
 audio/albumplayer/PLIST            |   4 ++-
 audio/albumplayer/distinfo         |  12 ++++------
 audio/albumplayer/patches/patch-aa |  24 ---------------------
 audio/albumplayer/patches/patch-ab |  13 -----------
 audio/albumplayer/patches/patch-ac |  42 --------------------------------------
 audio/albumplayer/patches/patch-ad |  29 ++++++++++++++++++++++++++
 7 files changed, 43 insertions(+), 93 deletions(-)

diffs (187 lines):

diff -r af04fba7c278 -r 0a799496de9e audio/albumplayer/Makefile
--- a/audio/albumplayer/Makefile        Wed Sep 09 16:50:06 2009 +0000
+++ b/audio/albumplayer/Makefile        Wed Sep 09 16:54:13 2009 +0000
@@ -1,18 +1,18 @@
-# $NetBSD: Makefile,v 1.3 2009/08/26 19:57:07 sno Exp $
+# $NetBSD: Makefile,v 1.4 2009/09/09 16:54:13 drochner Exp $
 #
 
-DISTNAME=      albumplayer-0.2
-PKGREVISION=   2
+DISTNAME=      albumplayer_0.3.orig
+PKGNAME=       albumplayer-0.3
 CATEGORIES=    audio
-MASTER_SITES=  http://rvb.mytanet.de/
-# XXX distfile was modified after release
-DIST_SUBDIR=   albumplayer_modified_0.2
+MASTER_SITES=  http://rvb.mytanet.de/debian/
 
 MAINTAINER=    pkgstc-users%NetBSD.org@localhost
 HOMEPAGE=      http://rvb.mytanet.de/
 COMMENT=       FLAC album player
 LICENSE=       original-bsd
 
+WRKSRC=                ${WRKDIR}/${PKGNAME}
+
 GNU_CONFIGURE=         yes
 USE_PKGLOCALEDIR=      yes
 USE_TOOLS+=            pkg-config
diff -r af04fba7c278 -r 0a799496de9e audio/albumplayer/PLIST
--- a/audio/albumplayer/PLIST   Wed Sep 09 16:50:06 2009 +0000
+++ b/audio/albumplayer/PLIST   Wed Sep 09 16:54:13 2009 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2009/07/27 13:40:28 drochner Exp $
+@comment $NetBSD: PLIST,v 1.2 2009/09/09 16:54:13 drochner Exp $
 bin/albumplayer
 bin/ap_flac_embed
 man/man1/albumplayer.1
@@ -6,6 +6,8 @@
 share/albumplayer/albumplayer.xml
 share/albumplayer/coverlayer.png
 share/albumplayer/questionmark.png
+share/albumplayer/record.png
+share/albumplayer/record24.png
 share/applications/albumplayer.desktop
 share/locale/de/LC_MESSAGES/albumplayer.mo
 share/locale/en@boldquot/LC_MESSAGES/albumplayer.mo
diff -r af04fba7c278 -r 0a799496de9e audio/albumplayer/distinfo
--- a/audio/albumplayer/distinfo        Wed Sep 09 16:50:06 2009 +0000
+++ b/audio/albumplayer/distinfo        Wed Sep 09 16:54:13 2009 +0000
@@ -1,8 +1,6 @@
-$NetBSD: distinfo,v 1.2 2009/08/03 09:55:36 drochner Exp $
+$NetBSD: distinfo,v 1.3 2009/09/09 16:54:13 drochner Exp $
 
-SHA1 (albumplayer_modified_0.2/albumplayer-0.2.tar.gz) = c0ea0817be23ef0a12266f738fa85afc1f01c5d6
-RMD160 (albumplayer_modified_0.2/albumplayer-0.2.tar.gz) = ea2b76d9e8b33a51482ebc0f458e22566eeb02d3
-Size (albumplayer_modified_0.2/albumplayer-0.2.tar.gz) = 183040 bytes
-SHA1 (patch-aa) = b7ae1b2da44c2711f1c5b93706c50460692a271c
-SHA1 (patch-ab) = 7b9023de64ea5d0cf360d5f57c3f2e17cb0fc40f
-SHA1 (patch-ac) = d47b001b6a08940ab8d11cee69afe13409f72fc2
+SHA1 (albumplayer_0.3.orig.tar.gz) = 7dc969f18ceded545d997e98ec1ab1f11f652b2e
+RMD160 (albumplayer_0.3.orig.tar.gz) = 8210fdb29856d55f172e842b1b27a02e92e2e9ed
+Size (albumplayer_0.3.orig.tar.gz) = 203517 bytes
+SHA1 (patch-ad) = 8960d9e4c3119a93cfaed97c4075bc45d7be1744
diff -r af04fba7c278 -r 0a799496de9e audio/albumplayer/patches/patch-aa
--- a/audio/albumplayer/patches/patch-aa        Wed Sep 09 16:50:06 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2009/07/27 13:40:28 drochner Exp $
-
---- main.c.orig        2009-07-17 16:37:33.000000000 +0200
-+++ main.c
-@@ -7,6 +7,7 @@
- #include <assert.h>
- #include <gst/gst.h>
- #include <libintl.h>
-+#include <locale.h>
- #include "config.h"
- 
- #define _(x) gettext(x)
-@@ -144,6 +145,11 @@ FLAC__byte* get_track_tag(unsigned tr, c
-   query_string = g_strdup_printf("%s(%d)", what, get_track_number(tr));
-   
-   if((try = get_comment(query_string))) goto finished;
-+
-+  g_free(query_string);
-+  query_string = g_strdup_printf("%s[%d]", what, get_track_number(tr));
-+
-+  if((try = get_comment(query_string))) goto finished;
-   
-   if(!g_strcmp0(what,"TITLE"))
-     g_message(_("The %s tag is unset. Using %s instead."),
diff -r af04fba7c278 -r 0a799496de9e audio/albumplayer/patches/patch-ab
--- a/audio/albumplayer/patches/patch-ab        Wed Sep 09 16:50:06 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.1.1.1 2009/07/27 13:40:28 drochner Exp $
-
---- Makefile.in.orig   2009-07-18 10:29:57.000000000 +0200
-+++ Makefile.in
-@@ -820,7 +820,7 @@ albumplayer.desktop: albumplayer.desktop
-       sed 's,@AP_EXEC@,@bindir@,' < albumplayer.desktop.in > albumplayer.desktop
- 
- install-data-local: albumplayer.desktop
--      install -m 644 albumplayer.desktop -D $(DESTDIR)/$(datadir)/applications/albumplayer.desktop
-+      install -m 644 albumplayer.desktop $(DESTDIR)/$(datadir)/applications/albumplayer.desktop
- # Tell versions [3.59,3.63) of GNU make to not export all variables.
- # Otherwise a system limit (for SysV at least) may be exceeded.
- .NOEXPORT:
diff -r af04fba7c278 -r 0a799496de9e audio/albumplayer/patches/patch-ac
--- a/audio/albumplayer/patches/patch-ac        Wed Sep 09 16:50:06 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,42 +0,0 @@
-$NetBSD: patch-ac,v 1.1.1.1 2009/07/27 13:40:28 drochner Exp $
-
---- ap_flac_embed.orig 2009-07-14 16:55:44.000000000 +0200
-+++ ap_flac_embed
-@@ -4,7 +4,7 @@
- # 
- 
- if [ "$#" -lt 2 ]; then
--    echo Usage: $0 my_album.flac cue_sheet.flac [artwork.png]
-+    echo Usage: $0 my_album.flac cue_sheet.cue [artwork.png]
-     exit 1
- fi
- 
-@@ -18,8 +18,27 @@ if ! which metaflac > /dev/null; then
-     exit 1
- fi
- 
-+AWKEX='
-+BEGIN { havetrack=0 }
-+/^[ \t]*TRACK/ {trackno=$2; havetrack=1}
-+/^[ \t]*TITLE/ {
-+      split($0, st, "\"");
-+      if (havetrack)
-+              printf "TITLE[%d]=%s\n",trackno,st[2];
-+      else
-+              printf "ALBUM=%s\n",st[2]
-+}
-+/^[ \t]*PERFORMER/ {
-+      split($0, st, "\"");
-+      if (havetrack)
-+              printf "ARTIST[%d]=%s\n",trackno,st[2];
-+      else
-+              printf "ARTIST=%s\n",st[2]
-+}
-+'
-+
- if [ -f "$1" -a -f "$2" ]; then
--    awk -v r='"' '/^[ \t][ \t]*TRACK/ {printf "TITLE(%s)=",$2} /^[ \t][ \t]*TITLE/ {split($0, st, r); printf "%s\n",st[2]}' < "$2" | metaflac --import-tags-from=- "$1"
-+    awk "$AWKEX" < "$2" | metaflac --import-tags-from=- "$1"
- else
-     echo FLAC or CUE file does not exist.
- fi
diff -r af04fba7c278 -r 0a799496de9e audio/albumplayer/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/albumplayer/patches/patch-ad        Wed Sep 09 16:54:13 2009 +0000
@@ -0,0 +1,29 @@
+$NetBSD: patch-ad,v 1.1 2009/09/09 16:54:13 drochner Exp $
+
+--- main.c.orig        2009-09-08 22:05:17.000000000 +0200
++++ main.c
+@@ -55,6 +55,7 @@ GdkPixbuf *questionmark;
+ GdkPixbuf *coverlayer;
+ gchar *last_canteen = NULL;
+ int sched_seek = -1;
++int shutting_down;
+ 
+ GdkPixbuf* scale_width(GdkPixbuf* pb, float nw) {
+   double width = gdk_pixbuf_get_width(pb);
+@@ -601,6 +602,8 @@ void pause_cb(gpointer seekbar) {
+ }
+ 
+ gboolean progress_timeout_cb(gpointer seekbar) {
++  if (shutting_down) /* seekbar can be already invalid */
++    return false;
+   if(loaded) {
+     g_signal_handlers_block_by_func(seekbar, seek_cb, seekbar);
+ 
+@@ -860,6 +863,7 @@ main (int argc, char *argv[])
+     gst_element_set_state(pipeline, GST_STATE_NULL);
+     gst_object_unref(GST_OBJECT(pipeline));
+   }
++  shutting_down = 1;
+   g_object_unref (G_OBJECT (builder));
+   g_object_unref (G_OBJECT (gconf));
+ 



Home | Main Index | Thread Index | Old Index