Date: Thu, 18 Mar 2010 16:51:53 +0100 (CET) From: Guido Falsi <mad@madpilot.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: olivier@gid0.org Subject: ports/144857: [patch] audio/abraca: update to 0.4.3 Message-ID: <20100318155153.3E9D51B19@megatron.madpilot.net> Resent-Message-ID: <201003181600.o2IG0Cpk089568@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 144857 >Category: ports >Synopsis: [patch] audio/abraca: update to 0.4.3 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Mar 18 16:00:11 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Guido Falsi >Release: FreeBSD 8.0-STABLE amd64 >Organization: None >Environment: System: FreeBSD megatron.madpilot.net 8.0-STABLE FreeBSD 8.0-STABLE #11: Fri Feb 12 15:55:37 CET 2010 root@megatron.madpilot.net:/usr/obj/usr/src/sys/MEGATRON amd64 >Description: Update to 0.4.3. This version changed the build system to scons. Maintainer is CCed. I added USE_PYTHON_BUILD to be safe, but perhaps The patch depends on PR ports/144821. Added files: files/patch-site_scons-site_init.py files/patch-vapi-xmms2-client.vapi files/patch-src-toolbar.vala >How-To-Repeat: >Fix: diff -ruN abraca.old/Makefile abraca/Makefile --- abraca.old/Makefile 2010-03-18 15:11:03.000000000 +0100 +++ abraca/Makefile 2010-03-18 17:35:23.000000000 +0100 @@ -6,25 +6,24 @@ # PORTNAME= abraca -PORTVERSION= 0.4 -PORTREVISION= 1 -DISTVERSIONSUFFIX=-pre2 +PORTVERSION= 0.4.3 CATEGORIES= audio -MASTER_SITES= http://abraca.xmms.se/attachments/download/100/ +MASTER_SITES= http://abraca.xmms.se/attachments/download/119/ MAINTAINER= olivier@gid0.org COMMENT= Abraca is a GTK2 client for the XMMS2 music player -LIB_DEPENDS= xmmsclient.5:${PORTSDIR}/audio/xmms2 +BUILD_DEPENDS= ${LOCALBASE}/bin/valac:${PORTSDIR}/lang/vala +LIB_DEPENDS= xmmsclient.6:${PORTSDIR}/audio/xmms2 -USE_GMAKE= yes -ALL_TARGET= # defined +USE_BZIP2= yes +USE_SCONS= yes USE_GNOME= gtk20 PLIST_FILES= bin/${PORTNAME} do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/build/src/${PORTNAME} ${PREFIX}/bin .include <bsd.port.pre.mk> diff -ruN abraca.old/distinfo abraca/distinfo --- abraca.old/distinfo 2010-03-18 15:11:03.000000000 +0100 +++ abraca/distinfo 2010-03-18 17:23:00.000000000 +0100 @@ -1,3 +1,3 @@ -MD5 (abraca-0.4-pre2.tar.gz) = ccfaf2bb1d01f0ab9915896bdad859c1 -SHA256 (abraca-0.4-pre2.tar.gz) = b2af3a885d6398735c581e43edb45658ed0190e69f99b3f55e7dfa3d6f85ce4b -SIZE (abraca-0.4-pre2.tar.gz) = 155504 +MD5 (abraca-0.4.3.tar.bz2) = 23b7a91b55db64b630ed7b5d066fb9e3 +SHA256 (abraca-0.4.3.tar.bz2) = 00ad0ebd0b3f3c6c48d6288a34a695bf369992831777420ae5052ace7bbe29e1 +SIZE (abraca-0.4.3.tar.bz2) = 388983 diff -ruN abraca.old/files/patch-site_scons-site_init.py abraca/files/patch-site_scons-site_init.py --- abraca.old/files/patch-site_scons-site_init.py 1970-01-01 01:00:00.000000000 +0100 +++ abraca/files/patch-site_scons-site_init.py 2010-03-18 17:08:10.000000000 +0100 @@ -0,0 +1,11 @@ +--- site_scons/site_init.py.orig 2010-03-18 17:07:00.000000000 +0100 ++++ site_scons/site_init.py 2010-03-18 17:07:24.000000000 +0100 +@@ -208,7 +208,7 @@ + try: + proc = subprocess.Popen([cmd, '--version'], stdout=subprocess.PIPE) + proc.wait() +- res = re.findall('([0-9](\.[0-9])*)$', proc.stdout.read()) ++ res = re.findall('([0-9]\.[0-9]*)$', proc.stdout.read()) + except OSError: + ctx.Result(0) + raise SCons.Errors.UserError('No vala compiler found') diff -ruN abraca.old/files/patch-src-toolbar.vala abraca/files/patch-src-toolbar.vala --- abraca.old/files/patch-src-toolbar.vala 1970-01-01 01:00:00.000000000 +0100 +++ abraca/files/patch-src-toolbar.vala 2010-03-18 17:17:46.000000000 +0100 @@ -0,0 +1,11 @@ +--- src/toolbar.vala.orig 2010-03-18 17:16:16.000000000 +0100 ++++ src/toolbar.vala 2010-03-18 17:17:19.000000000 +0100 +@@ -134,7 +134,7 @@ + double percent = scale.get_value(); + uint pos = (uint)(_duration * percent); + +- c.xmms.playback_seek_ms(pos); ++ c.xmms.playback_seek_ms_abs(pos); + + _time_slider.motion_notify_event -= on_time_slider_motion_notify; + diff -ruN abraca.old/files/patch-vapi-xmms2-client.vapi abraca/files/patch-vapi-xmms2-client.vapi --- abraca.old/files/patch-vapi-xmms2-client.vapi 1970-01-01 01:00:00.000000000 +0100 +++ abraca/files/patch-vapi-xmms2-client.vapi 2010-03-18 17:20:10.000000000 +0100 @@ -0,0 +1,11 @@ +--- vapi/xmms2-client.vapi.orig 2010-03-18 17:19:10.000000000 +0100 ++++ vapi/xmms2-client.vapi 2010-03-18 17:19:31.000000000 +0100 +@@ -165,7 +165,7 @@ + public Result playback_start(); + public Result playback_pause(); + public Result playback_current_id(); +- public Result playback_seek_ms(uint milliseconds); ++ public Result playback_seek_ms_abs(uint milliseconds); + public Result playback_seek_ms_rel(int milliseconds); + public Result playback_seek_samples(uint samples); + public Result playback_seek_samples_rel(int samples); >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100318155153.3E9D51B19>