Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Sep 2017 13:23:26 +0000 (UTC)
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r449397 - in head/audio/abraca: . files
Message-ID:  <201709071323.v87DNQlm053404@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: madpilot
Date: Thu Sep  7 13:23:26 2017
New Revision: 449397
URL: https://svnweb.freebsd.org/changeset/ports/449397

Log:
  - Fix build with vala 0.36
  - Add LICENSE and LICENSE_FILE
  - Update WWW in pkg-descr
  
  PR:		222037
  Submitted by:	cpm@

Added:
  head/audio/abraca/files/
  head/audio/abraca/files/patch-src_abraca-filter-searchbox.vala   (contents, props changed)
  head/audio/abraca/files/patch-src_abraca-medialib.vala   (contents, props changed)
  head/audio/abraca/files/patch-src_abraca-playlist-model.vala   (contents, props changed)
  head/audio/abraca/files/patch-src_abraca-resolver.vala   (contents, props changed)
  head/audio/abraca/files/patch-src_abraca-server-browser-dialog.vala   (contents, props changed)
Modified:
  head/audio/abraca/Makefile
  head/audio/abraca/pkg-descr

Modified: head/audio/abraca/Makefile
==============================================================================
--- head/audio/abraca/Makefile	Thu Sep  7 13:23:04 2017	(r449396)
+++ head/audio/abraca/Makefile	Thu Sep  7 13:23:26 2017	(r449397)
@@ -3,12 +3,15 @@
 
 PORTNAME=	abraca
 PORTVERSION=	0.8.2
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	audio
 MASTER_SITES=	SF/${PORTNAME}
 
 MAINTAINER=	madpilot@FreeBSD.org
 COMMENT=	GTK2 client for the XMMS2 music player
+
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING.GPL
 
 BUILD_DEPENDS=	${LOCALBASE}/bin/valac:lang/vala
 LIB_DEPENDS=	libxmmsclient.so:audio/xmms2 \

Added: head/audio/abraca/files/patch-src_abraca-filter-searchbox.vala
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/abraca/files/patch-src_abraca-filter-searchbox.vala	Thu Sep  7 13:23:26 2017	(r449397)
@@ -0,0 +1,14 @@
+--- src/abraca-filter-searchbox.vala.orig	2014-10-26 18:55:55 UTC
++++ src/abraca-filter-searchbox.vala
+@@ -78,7 +78,11 @@ public class Abraca.FilterSearchBox : Gtk.ComboBox, Se
+ 			do {
+ 				store.get(iter, 0, out current);
+ 				if (current == pattern) {
++#if VALA_0_36
++					store.remove(ref iter);
++#else
+ 					store.remove(iter);
++#endif
+ 					break;
+ 				}
+ 			} while (store.iter_next(ref iter));

Added: head/audio/abraca/files/patch-src_abraca-medialib.vala
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/abraca/files/patch-src_abraca-medialib.vala	Thu Sep  7 13:23:26 2017	(r449397)
@@ -0,0 +1,14 @@
+--- src/abraca-medialib.vala.orig	2014-10-26 18:55:55 UTC
++++ src/abraca-medialib.vala
+@@ -505,7 +505,11 @@ namespace Abraca {
+ 				do {
+ 					urls.get(iter, 0, out current);
+ 					if (current == url) {
++#if VALA_0_36
++						urls.remove(ref iter);
++#else
+ 						urls.remove(iter);
++#endif
+ 						break;
+ 					}
+ 				} while (urls.iter_next(ref iter));

Added: head/audio/abraca/files/patch-src_abraca-playlist-model.vala
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/abraca/files/patch-src_abraca-playlist-model.vala	Thu Sep  7 13:23:26 2017	(r449397)
@@ -0,0 +1,14 @@
+--- src/abraca-playlist-model.vala.orig	2014-10-26 18:55:55 UTC
++++ src/abraca-playlist-model.vala
+@@ -136,7 +136,11 @@ namespace Abraca {
+ 				get(iter, Column.ID, out mid);
+ 
+ 				playlist_map.remove_path((int) mid, path);
++#if VALA_0_36
++				remove(ref iter);
++#else
+ 				remove(iter);
++#endif
+ 			}
+ 		}
+ 

Added: head/audio/abraca/files/patch-src_abraca-resolver.vala
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/abraca/files/patch-src_abraca-resolver.vala	Thu Sep  7 13:23:26 2017	(r449397)
@@ -0,0 +1,13 @@
+--- src/abraca-resolver.vala.orig	2014-10-26 18:55:55 UTC
++++ src/abraca-resolver.vala
+@@ -63,8 +63,8 @@ public class Abraca.MetadataResolver : GLib.Object {
+ 
+ 	private Gee.List<MetadataRequestorImpl> listeners = new Gee.ArrayList<MetadataRequestorImpl>();
+ 
+-	private Gee.List<int> pending = new Gee.ArrayList<uint>();
+-	private Gee.Map<int,Xmms.Collection> pending_mids = new Gee.HashMap<uint,Xmms.Collection>();
++	private Gee.List<int> pending = new Gee.ArrayList<int>();
++	private Gee.Map<int,Xmms.Collection> pending_mids = new Gee.HashMap<int,Xmms.Collection>();
+ 
+ 	private uint timeout_handle = 0;
+ 	private bool in_flight = false;

Added: head/audio/abraca/files/patch-src_abraca-server-browser-dialog.vala
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/abraca/files/patch-src_abraca-server-browser-dialog.vala	Thu Sep  7 13:23:26 2017	(r449397)
@@ -0,0 +1,14 @@
+--- src/abraca-server-browser-dialog.vala.orig	2014-10-26 18:55:55 UTC
++++ src/abraca-server-browser-dialog.vala
+@@ -145,7 +145,11 @@ public class Abraca.ServerBrowserDialog : Gtk.Dialog
+ 			unowned string entry_name, entry_path;
+ 			location_store.get(iter, Column.NAME, out entry_name, Column.PATH, out entry_path);
+ 			if (path == entry_path) {
++#if VALA_0_36
++				location_store.remove(ref iter);
++#else
+ 				location_store.remove(iter);
++#endif
+ 				break;
+ 			}
+ 		} while (location_store.iter_next(ref iter));

Modified: head/audio/abraca/pkg-descr
==============================================================================
--- head/audio/abraca/pkg-descr	Thu Sep  7 13:23:04 2017	(r449396)
+++ head/audio/abraca/pkg-descr	Thu Sep  7 13:23:26 2017	(r449397)
@@ -1,4 +1,4 @@
 Abraca is a GTK2 client for the XMMS2 music player. It is designed with
 collections in mind, which makes managing your music a breeze.
 
-WWW: http://abraca.github.com/Abraca
+WWW: http://abraca.github.io/Abraca/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709071323.v87DNQlm053404>