aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/xmms/Makefile24
-rw-r--r--multimedia/xmms/distinfo9
-rw-r--r--multimedia/xmms/files/patch-Input-mpg123-mpg123.c11
-rw-r--r--multimedia/xmms/files/patch-Input-vorbis-fileinfo.c108
-rw-r--r--multimedia/xmms/files/patch-am6434
-rw-r--r--multimedia/xmms/files/patch-libxmms-configfile.h11
-rw-r--r--multimedia/xmms/files/patch-libxmms-dirbrowser.h11
-rw-r--r--multimedia/xmms/files/patch-libxmms-titlestring.h11
-rw-r--r--multimedia/xmms/files/patch-libxmms-xmmsctrl.h11
-rw-r--r--multimedia/xmms/files/patch-ltmain.sh5
-rw-r--r--multimedia/xmms/pkg-plist5
11 files changed, 10 insertions, 230 deletions
diff --git a/multimedia/xmms/Makefile b/multimedia/xmms/Makefile
index 34da592c98a3..b0d0820016ff 100644
--- a/multimedia/xmms/Makefile
+++ b/multimedia/xmms/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= xmms
-PORTVERSION= 1.2.10
-PORTREVISION= 10
+PORTVERSION= 1.2.11
CATEGORIES+= multimedia audio ipv6
MASTER_SITES= http://www.xmms.org/files/1.2.x/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
@@ -43,19 +42,6 @@ PLIST_SUB= DATADIR="share"
CONFIGURE_ARGS+= --enable-ipv6
-.if defined(WITH_ENCODING_PATCH) || defined(WITH_ID3V2_PATCH)
-ENC_PATCHLEVEL= 28.1
-DISTFILES+= ${PORTNAME}-${PORTVERSION}-recode-csa${ENC_PATCHLEVEL}${EXTRACT_SUFX}:enc
-MASTER_SITES+= ${MASTER_SITE_SOURCEFORGE:S/$/:enc/}
-MASTER_SITE_SUBDIR+= rusxmms/:enc
-.endif
-
-.if defined(WITH_ENCODING_PATCH)
-PLIST_SUB+= ENCODING=""
-.else
-PLIST_SUB+= ENCODING="@comment "
-.endif
-
.if defined(WITH_EXTENDED_VORBIS_FILEINFO)
CFLAGS+= -DALL_VORBIS_TAGS
.endif
@@ -124,14 +110,6 @@ pre-extract:
.endif
post-patch:
-.if defined(WITH_ID3V2_PATCH)
- @${PATCH} -s -p1 -d ${WRKSRC} < ${WRKDIR}/recode.3rdparty/id3v2.patch
-.endif
-.if defined(WITH_ENCODING_PATCH) && defined(WITH_ID3V2_PATCH)
- @${PATCH} -s -p1 -d ${WRKSRC} < ${WRKDIR}/xmms_id3v2-ds-recode.patch
-.elif defined(WITH_ENCODING_PATCH)
- @${PATCH} -s -p1 -d ${WRKSRC} < ${WRKDIR}/xmms-ds-recode.patch
-.endif
@${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \
's|\(datadir\)/aclocal|(prefix)/share/aclocal|g'
@${REINPLACE_CMD} -e 's|{datadir}/locale|{prefix}/share/locale|g' \
diff --git a/multimedia/xmms/distinfo b/multimedia/xmms/distinfo
index 7e523852aa0a..3f899cab8c3a 100644
--- a/multimedia/xmms/distinfo
+++ b/multimedia/xmms/distinfo
@@ -1,6 +1,3 @@
-MD5 (xmms-1.2.10.tar.bz2) = 03a85cfc5e1877a2e1f7be4fa1d3f63c
-SHA256 (xmms-1.2.10.tar.bz2) = ff9eabae2074043294a19ec7beaf0959bd076f6cd60558264faeec08f4a0eb6a
-SIZE (xmms-1.2.10.tar.bz2) = 2418265
-MD5 (xmms-1.2.10-recode-csa28.1.tar.bz2) = 4e77d01a0668e1001eefa7384d337cee
-SHA256 (xmms-1.2.10-recode-csa28.1.tar.bz2) = ff93cf745b2a534284356933cc85a18b17c503fdb4482213f36cffa4f7f3c9a8
-SIZE (xmms-1.2.10-recode-csa28.1.tar.bz2) = 281640
+MD5 (xmms-1.2.11.tar.bz2) = f3e6dbaf0b3f571a532ab575656be506
+SHA256 (xmms-1.2.11.tar.bz2) = 7ec15c56632b6c82e61ccddeaefd372359af2f005708a58cdf3951c574b20390
+SIZE (xmms-1.2.11.tar.bz2) = 2581032
diff --git a/multimedia/xmms/files/patch-Input-mpg123-mpg123.c b/multimedia/xmms/files/patch-Input-mpg123-mpg123.c
deleted file mode 100644
index 66bf8694bd66..000000000000
--- a/multimedia/xmms/files/patch-Input-mpg123-mpg123.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- Input/mpg123/mpg123.c.orig Tue Feb 28 16:56:08 2006
-+++ Input/mpg123/mpg123.c Tue Feb 28 16:57:40 2006
-@@ -397,6 +397,8 @@
- if (!strncasecmp(ext, ".rm", 3) ||
- !strncasecmp(ext, ".ra", 3) ||
- !strncasecmp(ext, ".rpm", 4) ||
-+ !strncasecmp(ext, ".fla", 4) ||
-+ !strncasecmp(ext, ".flac", 5) ||
- !strncasecmp(ext, ".ram", 4))
- return FALSE;
- }
diff --git a/multimedia/xmms/files/patch-Input-vorbis-fileinfo.c b/multimedia/xmms/files/patch-Input-vorbis-fileinfo.c
deleted file mode 100644
index 70d88f9a7209..000000000000
--- a/multimedia/xmms/files/patch-Input-vorbis-fileinfo.c
+++ /dev/null
@@ -1,108 +0,0 @@
---- Input/vorbis/fileinfo.c.orig Thu Nov 20 14:35:34 2003
-+++ Input/vorbis/fileinfo.c Sun Nov 21 17:35:46 2004
-@@ -429,7 +429,8 @@
- gchar *location;
- gchar *rg_track_gain, *rg_album_gain, *rg_track_peak, *rg_album_peak;
-
-- gint time, minutes, seconds, bitrate, rate, channels, filesize, i;
-+ gint time, minutes, seconds, bitrate, avgbitrate, rate, channels, filesize, i;
-+ gchar *vendor = "N/A";
-
- OggVorbis_File vf;
- vorbis_info *vi;
-@@ -437,10 +438,11 @@
- FILE *fh;
- gboolean clear_vf = FALSE;
-
-- static GtkWidget *info_frame, *info_box, *bitrate_label, *rate_label;
-+ static GtkWidget *info_frame, *info_box, *bitrate_label, *avgbitrate_label, *rate_label;
- static GtkWidget *channel_label, *length_label, *filesize_label;
- static GtkWidget *replaygain_label, *audiophilegain_label, *peak_label;
- static GtkWidget *filename_entry, *tag_frame;
-+ static GtkWidget *vendor_label;
-
- g_free(vte.filename);
- vte.filename = g_strdup(fn);
-@@ -721,7 +723,14 @@
- GTK_JUSTIFY_LEFT);
- gtk_box_pack_start(GTK_BOX(info_box), bitrate_label, FALSE,
- FALSE, 0);
--
-+
-+ avgbitrate_label = gtk_label_new("");
-+ gtk_misc_set_alignment(GTK_MISC(avgbitrate_label), 0, 0);
-+ gtk_label_set_justify(GTK_LABEL(avgbitrate_label),
-+ GTK_JUSTIFY_LEFT);
-+ gtk_box_pack_start(GTK_BOX(info_box), avgbitrate_label, FALSE,
-+ FALSE, 0);
-+
- rate_label = gtk_label_new("");
- gtk_misc_set_alignment(GTK_MISC(rate_label), 0, 0);
- gtk_label_set_justify(GTK_LABEL(rate_label), GTK_JUSTIFY_LEFT);
-@@ -749,6 +758,13 @@
- gtk_box_pack_start(GTK_BOX(info_box), filesize_label, FALSE,
- FALSE, 0);
-
-+ vendor_label = gtk_label_new("");
-+ gtk_misc_set_alignment(GTK_MISC(vendor_label), 0, 0);
-+ gtk_label_set_justify(GTK_LABEL(vendor_label),
-+ GTK_JUSTIFY_LEFT);
-+ gtk_box_pack_start(GTK_BOX(info_box), vendor_label, FALSE,
-+ FALSE, 0);
-+
- replaygain_label = gtk_label_new("");
- gtk_misc_set_alignment(GTK_MISC(replaygain_label), 0, 0);
- gtk_label_set_justify(GTK_LABEL(replaygain_label),
-@@ -780,10 +796,12 @@
- gtk_widget_set_sensitive(tag_frame, TRUE);
-
- gtk_label_set_text(GTK_LABEL(bitrate_label), "");
-+ gtk_label_set_text(GTK_LABEL(avgbitrate_label), "");
- gtk_label_set_text(GTK_LABEL(rate_label), "");
- gtk_label_set_text(GTK_LABEL(channel_label), "");
- gtk_label_set_text(GTK_LABEL(length_label), "");
- gtk_label_set_text(GTK_LABEL(filesize_label), "");
-+ gtk_label_set_text(GTK_LABEL(vendor_label), "");
-
- if ((fh = fopen(vte.filename, "r")) != NULL)
- {
-@@ -792,9 +810,18 @@
- if (ov_open(fh, &vf, NULL, 0) == 0)
- {
- comment = ov_comment(&vf, -1);
-+ if(comment)
-+ {
-+ vendor = comment->vendor;
-+ }
-+ else
-+ {
-+ vendor = (char*)"N/A";
-+ }
- if ((vi = ov_info(&vf, 0)) != NULL)
- {
- bitrate = vi->bitrate_nominal/1000;
-+ avgbitrate = ov_bitrate(&vf, -1);
- rate = vi->rate;
- channels = vi->channels;
- g_message("version: %d", vi->version);
-@@ -803,6 +830,7 @@
- else
- {
- bitrate = 0;
-+ avgbitrate = 0;
- rate = 0;
- channels = 0;
- }
-@@ -814,10 +842,12 @@
- filesize = ftell(fh);
-
- label_set_text(bitrate_label, _("Nominal bitrate: %d kbps"), bitrate);
-+ label_set_text(avgbitrate_label, _("Average bitrate: %.1f kbps"), ((float)avgbitrate)/1000);
- label_set_text(rate_label, _("Samplerate: %d Hz"), rate);
- label_set_text(channel_label, _("Channels: %d"), channels);
- label_set_text(length_label, _("Length: %d:%.2d"), minutes, seconds);
- label_set_text(filesize_label, _("File size: %d B"), filesize);
-+ label_set_text(vendor_label, _("Vendor: %s"), vendor);
-
- }
- else
diff --git a/multimedia/xmms/files/patch-am64 b/multimedia/xmms/files/patch-am64
index eff2329d7838..ba2db1256215 100644
--- a/multimedia/xmms/files/patch-am64
+++ b/multimedia/xmms/files/patch-am64
@@ -1,36 +1,10 @@
-diff -ru Input/cdaudio/cdaudio.c.orig Input/cdaudio/cdaudio.c
---- Input/cdaudio/cdaudio.c.orig Wed Jan 28 10:09:39 2004
-+++ Input/cdaudio/cdaudio.c Sun Apr 11 21:24:05 2004
-@@ -333,7 +333,7 @@
- #elif defined(HAVE_GETMNTINFO)
- entries = getmntinfo(&fsp, MNT_NOWAIT);
- if (entries < 0)
-- return NULL;
-+ return FALSE;
-
- while (entries-- > 0)
- {
-diff -ru Output/esd/esdout.h.orig Output/esd/esdout.h
---- Output/esd/esdout.h.orig Mon Dec 3 13:38:42 2001
-+++ Output/esd/esdout.h Sun Apr 11 21:23:23 2004
-@@ -67,6 +67,7 @@
- void esdout_fetch_volume(int *l, int *r);
+--- Output/esd/esdout.h.orig 2007-11-29 20:12:28.743052713 +0100
++++ Output/esd/esdout.h 2007-11-29 20:12:42.453407104 +0100
+@@ -68,6 +68,7 @@
void esdout_set_volume(int l, int r);
void esdout_mixer_init(void);
+ void esdout_mixer_init_vol(int l, int r);
+void esdout_reset_playerid(void);
int esdout_playing(void);
int esdout_free(void);
-diff -ru libxmms/util.c.orig xmms-1.2.10/libxmms/util.c
---- libxmms/util.c.orig Tue May 20 07:22:07 2003
-+++ libxmms/util.c Sun Apr 11 21:18:58 2004
-@@ -80,7 +80,8 @@
- * before sched_getschedule() (so that we don't get
- * non-present syscall warnings in kernel log).
- */
-- int val = 0, len;
-+ int val = 0;
-+ size_t len;
-
- len = sizeof(val);
- sysctlbyname("p1003_1b.priority_scheduling", &val, &len, NULL, 0);
diff --git a/multimedia/xmms/files/patch-libxmms-configfile.h b/multimedia/xmms/files/patch-libxmms-configfile.h
deleted file mode 100644
index eaa794e1b827..000000000000
--- a/multimedia/xmms/files/patch-libxmms-configfile.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- libxmms/configfile.h.orig Mon Mar 14 18:06:38 2005
-+++ libxmms/configfile.h Mon Mar 14 18:06:55 2005
-@@ -66,7 +66,7 @@
- void xmms_cfg_remove_key(ConfigFile * cfg, gchar * section, gchar * key);
-
- #ifdef __cplusplus
--};
-+}
- #endif
-
- #endif
diff --git a/multimedia/xmms/files/patch-libxmms-dirbrowser.h b/multimedia/xmms/files/patch-libxmms-dirbrowser.h
deleted file mode 100644
index 4949661a531c..000000000000
--- a/multimedia/xmms/files/patch-libxmms-dirbrowser.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- libxmms/dirbrowser.h.orig Mon Mar 14 18:08:23 2005
-+++ libxmms/dirbrowser.h Mon Mar 14 18:08:30 2005
-@@ -27,7 +27,7 @@
- GtkWidget *xmms_create_dir_browser(gchar * title, gchar * current_path, GtkSelectionMode mode, void (*handler) (gchar *));
-
- #ifdef __cplusplus
--};
-+}
- #endif
-
-
diff --git a/multimedia/xmms/files/patch-libxmms-titlestring.h b/multimedia/xmms/files/patch-libxmms-titlestring.h
deleted file mode 100644
index 289e41b1d258..000000000000
--- a/multimedia/xmms/files/patch-libxmms-titlestring.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- libxmms/titlestring.h.orig Mon Mar 14 18:05:21 2005
-+++ libxmms/titlestring.h Mon Mar 14 18:05:31 2005
-@@ -80,7 +80,7 @@
- GtkWidget* xmms_titlestring_descriptions(char* tags, int rows);
-
- #ifdef __cplusplus
--};
-+}
- #endif
-
- #endif /* !XMMS_TITLESTRING_H */
diff --git a/multimedia/xmms/files/patch-libxmms-xmmsctrl.h b/multimedia/xmms/files/patch-libxmms-xmmsctrl.h
deleted file mode 100644
index c4d808665619..000000000000
--- a/multimedia/xmms/files/patch-libxmms-xmmsctrl.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- libxmms/xmmsctrl.h.orig Fri Nov 19 13:49:06 2004
-+++ libxmms/xmmsctrl.h Fri Nov 19 13:49:14 2004
-@@ -85,7 +85,7 @@
-
-
- #ifdef __cplusplus
--};
-+}
- #endif
-
- /* Deprecated APIs */
diff --git a/multimedia/xmms/files/patch-ltmain.sh b/multimedia/xmms/files/patch-ltmain.sh
index 928f8aedeb85..dc7ec5c89f37 100644
--- a/multimedia/xmms/files/patch-ltmain.sh
+++ b/multimedia/xmms/files/patch-ltmain.sh
@@ -1,9 +1,6 @@
-
-$FreeBSD$
-
--- ltmain.sh.orig Fri Sep 5 13:18:43 2003
+++ ltmain.sh Fri Sep 5 13:18:09 2003
-@@ -4333,10 +4333,12 @@
+@@ -6038,10 +6038,12 @@
fi
# Install the pseudo-library for information purposes.
diff --git a/multimedia/xmms/pkg-plist b/multimedia/xmms/pkg-plist
index 9ce46aa6b3ae..911c559f1d1c 100644
--- a/multimedia/xmms/pkg-plist
+++ b/multimedia/xmms/pkg-plist
@@ -1,15 +1,11 @@
bin/wmxmms
bin/xmms
bin/xmms-config
-%%ENCODING%%include/xmms/charset.h
-%%ENCODING%%include/xmms/charset_auto_russian.h
-%%ENCODING%%include/xmms/charset_config.h
include/xmms/configfile.h
include/xmms/dirbrowser.h
include/xmms/formatter.h
include/xmms/fullscreen.h
include/xmms/plugin.h
-%%ENCODING%%include/xmms/russian_table.h
include/xmms/titlestring.h
include/xmms/util.h
include/xmms/xmmsctrl.h
@@ -47,6 +43,7 @@ share/locale/da/LC_MESSAGES/xmms.mo
share/locale/de/LC_MESSAGES/xmms.mo
share/locale/el/LC_MESSAGES/xmms.mo
share/locale/en/LC_MESSAGES/xmms.mo
+share/locale/en_GB/LC_MESSAGES/xmms.mo
share/locale/eo/LC_MESSAGES/xmms.mo
share/locale/es/LC_MESSAGES/xmms.mo
share/locale/et/LC_MESSAGES/xmms.mo