1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00

- Fix build with vala 0.36

- Add LICENSE and LICENSE_FILE
- Update WWW in pkg-descr

PR:		222037
Submitted by:	cpm@
This commit is contained in:
Guido Falsi 2017-09-07 13:23:26 +00:00
parent 7927ea3ff1
commit 65e1ed6030
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=449397
7 changed files with 74 additions and 2 deletions

View File

@ -3,13 +3,16 @@
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 \
libgee-0.8.so:devel/libgee

View File

@ -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));

View File

@ -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));

View File

@ -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
}
}

View File

@ -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;

View File

@ -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));

View File

@ -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/