Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jun 2001 12:53:33 +0200 (CEST)
From:      Espen Skoglund <esk@ira.uka.de>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/28292: Maintainer update: audio/xmms to 1.2.5
Message-ID:  <200106201053.f5KArXu66148@i30nb2.ira.uka.de>

next in thread | raw e-mail | index | archive | help

>Number:         28292
>Category:       ports
>Synopsis:       Maintainer update: audio/xmms to 1.2.5
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 20 04:00:12 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Espen Skoglund
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
Karlsruhe University
>Environment:


>Description:

Upgrade of XMMS to 1.2.5.  I've modified the build mechanism of XMMS so
that it now is easier to use in a ports-like environment.  Most of the
patches has also been integrated into XMMS.  The symlink from libxmms.so.1
to libxmms.so.2 is ok since version 2 of the library is backwards
compatible with version 1.

The following files have been removed:

  files/patch-ab
  files/patch-ae
  files/patch-af
  files/patch-ba

>How-To-Repeat:


>Fix:

diff -ruN xmms.orig/Makefile xmms/Makefile
--- xmms.orig/Makefile	Wed Jun 20 12:25:17 2001
+++ xmms/Makefile	Wed Jun 20 12:36:52 2001
@@ -6,32 +6,41 @@
 #
 
 PORTNAME=	xmms
-PORTVERSION=	1.2.4
-PORTREVISION=	1
+PORTVERSION=	1.2.5
 CATEGORIES+=	audio
-MASTER_SITES=	ftp://ftp.xmms.org/xmms/1.2.x/ 
+MASTER_SITES=	ftp://ftp.xmms.org/xmms/1.2.x/ \
+		http://www.xmms.org/files/1.2.x/ \
+		ftp://ftp.sunet.se/pub/multimedia/xmms/1.2.x/
 
 MAINTAINER?=	esk@ira.uka.de
 
 LIB_DEPENDS=	xml.5:${PORTSDIR}/textproc/libxml
 
+USE_BZIP2=	yes
 USE_X_PREFIX=	yes
 USE_GTK=	yes
 WANT_ESOUND=	yes
 WANT_GNOME=	yes
+USE_GMAKE=	yes
 USE_LIBTOOL=	yes
 LIBTOOLFILES=	configure libxmms/configure
 INSTALLS_SHLIB=	yes
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LIBS="-L${LOCALBASE}/lib" \
-		HAVE_MIKMOD="${HAVE_MIKMOD}" \
-		HAVE_VORBIS="${HAVE_VORBIS}"
+		INPUT_PLUGINS="${INPUT_PLUGINS}" \
+		OUTPUT_PLUGINS="${OUTPUT_PLUGINS}" \
+		VISUALIZATION_PLUGINS="${VISUALIZATION_PLUGINS}"
+MAN1=		gnomexmms.1 wmxmms.1 xmms.1
+
+INPUT_PLUGINS=	cdaudio,idcin,mpg123,tonegen,wav
+OUTPUT_PLUGINS=	OSS,disk_writer
+VISUALIZATION_PLUGINS=	blur_scope,sanalyzer
 
 .include <bsd.port.pre.mk>
 
 .if !defined(WITHOUT_MIKMOD)
 LIB_DEPENDS+=	mikmod.2:${PORTSDIR}/audio/libmikmod
-HAVE_MIKMOD=	yes
+INPUT_PLUGINS+=	mikmod
 PLIST_SUB+=	MIKMODPLUGIN:=""
 .else
 PLIST_SUB+=	MIKMODPLUGIN:="@comment "
@@ -39,7 +48,7 @@
 
 .if !defined(WITHOUT_VORBIS)
 LIB_DEPENDS+=	vorbis.0:${PORTSDIR}/audio/libvorbis
-HAVE_VORBIS=	yes
+INPUT_PLUGINS+=	vorbis
 PLIST_SUB+=	VORBISPLUGIN:=""
 .else
 PLIST_SUB+=	VORBISPLUGIN:="@comment "
@@ -53,6 +62,7 @@
 
 .if defined(HAVE_ESOUND)
 USE_ESOUND=	yes
+OUTPUT_PLUGINS+=	esd
 PLIST_SUB+=	ESDPLUGIN:=""
 .else
 PLIST_SUB+=	ESDPLUGIN:="@comment "
@@ -87,14 +97,13 @@
 .endif
 
 pre-patch:
-	@${PERL} -pi -e 's^-l(pthread|c_r)^${PTHREAD_LIBS}^g ; \
-		 s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
-	@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
+	@find ${WRKSRC} -name "Makefile.in*" | xargs ${PERL} -pi -e \
 		's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
 		 s|\$\(datadir\)/aclocal|\$\(prefix\)/share/aclocal|g ; \
 		 s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
 
 post-install:
+	@${LN} -sf libxmms.so.2 ${PREFIX}/lib/libxmms.so.1
 	@${MKDIR} ${PREFIX}/share/xmms/Skins
 	@${CAT} ${PKGMESSAGE}
 
diff -ruN xmms.orig/distinfo xmms/distinfo
--- xmms.orig/distinfo	Wed Nov 29 20:32:41 2000
+++ xmms/distinfo	Wed Jun 20 12:08:22 2001
@@ -1 +1 @@
-MD5 (xmms-1.2.4.tar.gz) = df1081cc01628cd8b97cb5f3ca80e063
+MD5 (xmms-1.2.5.tar.bz2) = bb856ff278a4ccee3d2578e3ddea8686
diff -ruN xmms.orig/files/patch-ab xmms/files/patch-ab
--- xmms.orig/files/patch-ab	Tue Nov 28 14:01:00 2000
+++ xmms/files/patch-ab	Thu Jan  1 01:00:00 1970
@@ -1,11 +0,0 @@
---- Visualization/Makefile.in.orig	Mon Jan 31 10:44:44 2000
-+++ Visualization/Makefile.in	Sun Feb 27 01:37:39 2000
-@@ -125,7 +125,7 @@
- sidplay_library = @sidplay_library@
- xmmsdir = @xmmsdir@
- 
--SUBDIRS = blur_scope sanalyzer opengl_spectrum
-+SUBDIRS = blur_scope sanalyzer
- mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
- CONFIG_HEADER = ../config.h
- CONFIG_CLEAN_FILES = 
diff -ruN xmms.orig/files/patch-ad xmms/files/patch-ad
--- xmms.orig/files/patch-ad	Wed Nov 29 20:32:41 2000
+++ xmms/files/patch-ad	Thu Mar  1 20:56:02 2001
@@ -1,55 +1,6 @@
---- configure.orig	Tue Nov 28 16:12:16 2000
-+++ configure	Tue Nov 28 16:12:52 2000
-@@ -4033,6 +4033,9 @@
- fi
- 
- 
-+if [ x"${HAVE_ESOUND}" != x"yes" ]; then
-+  have_esd=no
-+fi
- 
- if test "x$have_esd" = xyes; then
-   HAVE_ESD_TRUE=
-@@ -4314,6 +4317,9 @@
-   rm -f conf.mikmodtest
- 
- 
-+if [ x"${HAVE_MIKMOD}" != x"yes" ]; then
-+  have_mikmod=no
-+fi
- 
- if test "x$have_mikmod" = xyes; then
-   HAVE_MIKMOD_TRUE=
-@@ -4574,6 +4580,11 @@
-   
-   rm -f conf.vorbistest
- 
-+if [ x"${HAVE_VORBIS}" != x"yes" ]; then
-+  have_ogg=no
-+  have_vorbis=no
-+fi
-+
- have_oggvorbis=no
- if test "x$have_ogg" = xyes
- then
-@@ -7551,14 +7562,14 @@
- 
- if test -n "$GCC"
- then
--	CFLAGS="$CFLAGS -Wall -fomit-frame-pointer -funroll-all-loops -finline-functions -ffast-math"
-+	CFLAGS="$CFLAGS -Wall -fomit-frame-pointer -finline-functions -ffast-math"
- fi
- 
- arch_type=other
- ARCH_DEFINES=""
- case "$host" in 
- 	i386-*-* | i486-*-* | i586-*-* | i686-*-* | i86pc-*-*)
--		CFLAGS="$CFLAGS -m486"
-+		CFLAGS="$CFLAGS"
- 		ARCH_DEFINES="-DI386_ASSEM"
- 		arch_type=ix86
- 	;;
-@@ -8315,10 +8326,6 @@
+--- configure.orig	Thu Mar  1 20:54:38 2001
++++ configure	Thu Mar  1 20:55:14 2001
+@@ -8586,10 +8586,6 @@
        *) # Relative path.
          ac_sub_cache_file="$ac_dots$cache_file" ;;
        esac
diff -ruN xmms.orig/files/patch-ae xmms/files/patch-ae
--- xmms.orig/files/patch-ae	Wed Nov 29 20:32:41 2000
+++ xmms/files/patch-ae	Thu Jan  1 01:00:00 1970
@@ -1,27 +0,0 @@
---- Makefile.in.orig	Tue Nov 28 14:55:51 2000
-+++ Makefile.in	Tue Nov 28 14:57:22 2000
-@@ -152,7 +152,10 @@
- sidplay_library = @sidplay_library@
- xmmsdir = @xmmsdir@
- 
--SUBDIRS = intl libxmms xmms Output Input Effect General Visualization wmxmms gnomexmms po
-+SUBDIRS = intl libxmms xmms Output Input Effect General Visualization wmxmms po
-+.ifdef HAVE_GNOME
-+SUBDIRS += gnomexmms
-+.endif
- 
- bin_SCRIPTS = xmms-config
- 
-@@ -211,9 +214,9 @@
- 		rm -f $(srcdir)/stamp-h.in; \
- 		$(MAKE) $(srcdir)/stamp-h.in; \
- 	else :; fi
--$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
--	cd $(top_srcdir) && $(AUTOHEADER)
--	@echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
-+#$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
-+#	cd $(top_srcdir) && $(AUTOHEADER)
-+#	@echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
- 
- mostlyclean-hdr:
- 
diff -ruN xmms.orig/files/patch-af xmms/files/patch-af
--- xmms.orig/files/patch-af	Wed Nov 29 20:32:41 2000
+++ xmms/files/patch-af	Thu Jan  1 01:00:00 1970
@@ -1,14 +0,0 @@
---- Output/Makefile.in.orig	Tue Nov 28 14:58:15 2000
-+++ Output/Makefile.in	Tue Nov 28 14:58:46 2000
-@@ -152,7 +152,10 @@
- sidplay_library = @sidplay_library@
- xmmsdir = @xmmsdir@
- 
--SUBDIRS = OSS esd disk_writer
-+SUBDIRS = OSS disk_writer
-+.if defined(HAVE_ESOUND) || defined(HAVE_GNOME)
-+SUBDIRS += esd
-+.endif
- mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
- CONFIG_HEADER = ../config.h
- CONFIG_CLEAN_FILES = 
diff -ruN xmms.orig/files/patch-ba xmms/files/patch-ba
--- xmms.orig/files/patch-ba	Sat Dec 30 19:57:56 2000
+++ xmms/files/patch-ba	Thu Jan  1 01:00:00 1970
@@ -1,81 +0,0 @@
-*** /usr/local/src/CVS/MM/xmms/xmms/Input/cdaudio/cdaudio.c	Wed Aug  2 02:15:13 2000
---- Input/cdaudio/cdaudio.c	Tue Sep  5 12:46:29 2000
-***************
-*** 183,194 ****
-  
-  static gboolean is_mounted(gchar * device_name)
-  {
-! #ifdef HAVE_MNTENT_H
-! 	FILE *mounts;
-! 	struct mntent *mnt;
-  	char devname[256];
-  	struct stat st;
-! 
-  	if (lstat(device_name, &st) < 0)
-  		return -1;
-  
---- 183,199 ----
-  
-  static gboolean is_mounted(gchar * device_name)
-  {
-! #if defined (HAVE_MNTENT_H) || defined (__FreeBSD__)
-  	char devname[256];
-  	struct stat st;
-! #if defined (HAVE_MNTENT_H)
-! 	FILE *mounts;
-! 	struct mntent *mnt;
-! #elif defined (__FreeBSD__)
-! 	struct statfs *fsp;
-! 	int entries;
-! #endif
-! 	
-  	if (lstat(device_name, &st) < 0)
-  		return -1;
-  
-***************
-*** 197,202 ****
---- 202,208 ----
-  	else
-  		strncpy(devname, device_name, 256);
-  
-+ #if defined (HAVE_MNTENT_H)		
-  	if ((mounts = setmntent(MOUNTED, "r")) == NULL)
-  		return TRUE;
-  
-***************
-*** 209,214 ****
---- 215,231 ----
-  		}
-  	}
-  	endmntent(mounts);
-+ #elif defined (__FreeBSD__)
-+ 	entries = getmntinfo (&fsp, MNT_NOWAIT);
-+ 	if (entries < 0)
-+ 		return NULL;
-+ 
-+         while (entries-- > 0) {
-+                 if (!strcmp(fsp->f_mntfromname, devname))
-+ 		return TRUE;
-+         fsp++;
-+         }
-+ #endif                            
-  #endif
-  	return FALSE;
-  }
-*** /usr/local/src/CVS/MM/xmms/xmms/Input/cdaudio/cdaudio.h	Thu Jun 15 00:51:44 2000
---- Input/cdaudio/cdaudio.h	Tue Sep  5 13:49:37 2000
-***************
-*** 46,51 ****
---- 46,57 ----
-  #include <mntent.h>
-  #endif
-  
-+ #ifdef __FreeBSD__
-+ #include <sys/param.h>
-+ #include <sys/ucred.h>
-+ #include <sys/mount.h>
-+ #endif
-+ 
-  #ifndef CD_FRAMES
-  #define CD_FRAMES 75
-  #endif
diff -ruN xmms.orig/pkg-message xmms/pkg-message
--- xmms.orig/pkg-message	Sat Jun  9 06:20:28 2001
+++ xmms/pkg-message	Tue Jun 19 17:57:54 2001
@@ -1,2 +1,2 @@
-Xmms supports Gzipped and uncompressed skins. If you would like to use
+Xmms supports Gzipped and uncompressed skins.  If you would like to use
 Zip format skins you will need to ensure archivers/unzip is installed.
diff -ruN xmms.orig/pkg-plist xmms/pkg-plist
--- xmms.orig/pkg-plist	Thu Mar 29 04:32:02 2001
+++ xmms/pkg-plist	Tue Jun 19 19:02:10 2001
@@ -5,16 +5,17 @@
 %%GNOME:%%etc/CORBA/servers/gnomexmms.gnorba
 %%GNOME:%%share/gnome/applets/Multimedia/gnomexmms.desktop
 include/xmms/configfile.h
-include/xmms/dga.h
 include/xmms/dirbrowser.h
 include/xmms/formatter.h
 include/xmms/fullscreen.h
 include/xmms/plugin.h
+include/xmms/titlestring.h
 include/xmms/util.h
 include/xmms/xmmsctrl.h
 lib/libxmms.a
 lib/libxmms.so
 lib/libxmms.so.1
+lib/libxmms.so.2
 lib/xmms/Effect/libecho.so
 lib/xmms/Effect/libstereo.so
 lib/xmms/Effect/libvoice.so
@@ -46,8 +47,10 @@
 share/locale/es/LC_MESSAGES/xmms.mo
 share/locale/fr/LC_MESSAGES/xmms.mo
 share/locale/ga/LC_MESSAGES/xmms.mo
+share/locale/gl/LC_MESSAGES/xmms.mo
 share/locale/hr/LC_MESSAGES/xmms.mo
 share/locale/hu/LC_MESSAGES/xmms.mo
+share/locale/id/LC_MESSAGES/xmms.mo
 share/locale/it/LC_MESSAGES/xmms.mo
 share/locale/ja/LC_MESSAGES/xmms.mo
 share/locale/ko/LC_MESSAGES/xmms.mo
@@ -56,6 +59,7 @@
 share/locale/nl/LC_MESSAGES/xmms.mo
 share/locale/no/LC_MESSAGES/xmms.mo
 share/locale/pl/LC_MESSAGES/xmms.mo
+share/locale/pt/LC_MESSAGES/xmms.mo
 share/locale/pt_BR/LC_MESSAGES/xmms.mo
 share/locale/ro/LC_MESSAGES/xmms.mo
 share/locale/ru/LC_MESSAGES/xmms.mo
@@ -65,7 +69,7 @@
 share/locale/uk/LC_MESSAGES/xmms.mo
 share/locale/wa/LC_MESSAGES/xmms.mo
 share/locale/zh_CN.GB2312/LC_MESSAGES/xmms.mo
-share/locale/zh_TW.Big5/LC_MESSAGES/xmms.mo
+share/locale/zh_TW/LC_MESSAGES/xmms.mo
 @dirrm %%DATADIR%%/xmms
 @dirrm lib/xmms/Visualization
 @dirrm lib/xmms/Output
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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