Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Mar 2007 01:00:19 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/110341: Update port: audio/yammi to 1.2.2
Message-ID:  <20070316010019.adaf049b.tkato432@yahoo.com>
Resent-Message-ID: <200703151610.l2FGA7nh067962@freefall.freebsd.org>

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

>Number:         110341
>Category:       ports
>Synopsis:       Update port: audio/yammi to 1.2.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 15 16:10:07 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.11-RELEASE-p26 i386
>Organization:
>Environment:
>Description:
- Update to version 1.2.2

Remove file:
files/patch-configure
files/patch-src::icons::Makefile.in

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/audio/yammi/Makefile audio/yammi/Makefile
--- /usr/ports/audio/yammi/Makefile	Tue Sep  5 02:38:15 2006
+++ audio/yammi/Makefile	Thu Mar 15 12:13:16 2007
@@ -6,58 +6,47 @@
 #
 
 PORTNAME=	yammi
-PORTVERSION=	1.2.rc
-PORTREVISION=	1
+PORTVERSION=	1.2.2
 CATEGORIES=	audio
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
-DISTNAME=	${PORTNAME}-${PORTVERSION:S/.2.r/.2-r/}
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	A QT-based music manager with fuzzy search
 
 LIB_DEPENDS=	vorbis.3:${PORTSDIR}/audio/libvorbis \
-		id3-3.8.3:${PORTSDIR}/audio/id3lib
+		tag.5:${PORTSDIR}/audio/taglib
 
-OPTIONS=	ARTS "Arts backend support" on \
-		XMMS "XMMS backend support" off \
-		NOATUN "Noatun backend support" on
+OPTIONS=	XMMS "XMMS backend support" off
 
-USE_QT_VER=	3
+WRKSRC=		${WRKDIR}/${PORTNAME}
+
+USE_KDELIBS_VER=	3
 USE_GMAKE=	yes
-USE_AUTOTOOLS=	libtool:15
-CONFIGURE_ENV=	CXXFLAGS="${CXXFLAGS} ${PTHREAD_CFLAGS}" \
-		LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS}"
-CONFIGURE_ARGS+=	--program-prefix='' --enable-threading=yes --enable-mt=yes
-USE_KDELIBS_VER=3
+USE_AUTOTOOLS=	autoconf:259:env automake:19:env libtool:15:env
+GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	--disable-gstreamer
 
 .include <bsd.port.pre.mk>
 
-.if defined(WITHOUT_ARTS)
-.if defined(WITHOUT_XMMS)
-.if defined(WITHOUT_NOATUN)
-IGNORE=	You must define at least one backend for yammi
-.endif
-.endif
-.endif
-
-.if !defined(WITHOUT_ARTS)
-CONFIGURE_ARGS+=--with-arts
-LIB_DEPENDS+=	artsgui:${PORTSDIR}/multimedia/kdemultimedia3
-.else
-CONFIGURE_ARGS+=--without-arts
-.endif
-
-.if !defined(WITHOUT_NOATUN)
-RUN_DEPENDS+=	noatun:${PORTSDIR}/multimedia/kdemultimedia3
-.endif
-
-.if !defined(WITHOUT_XMMS)
+.if defined(WITH_XMMS)
 CONFIGURE_ARGS+=--enable-xmms
 BUILD_DEPENDS+= xmms-config:${PORTSDIR}/multimedia/xmms
 LIB_DEPENDS+=   xmms.4:${PORTSDIR}/multimedia/xmms
 .else
 CONFIGURE_ARGS+=--disable-xmms
 .endif
+
+post-patch:
+	@cd ${WRKSRC}/admin && ${REINPLACE_CMD} -e \
+		's|="autoconf"|="${AUTOCONF:T}"|g ; \
+		 s|="autoheader"|="${AUTOHEADER:T}"|g ; \
+		 s|="autom4te"|="${AUTOM4TE:T}"|g ; \
+		 s|="automake"|="${AUTOMAKE:T}"|g ; \
+		 s|="aclocal"|="${ACLOCAL:T}"|g' detect-autoconf.sh
+
+pre-configure:
+	@cd ${WRKSRC}/admin && ${RM} -f ltmain.sh && ${CP} -f ${LTMAIN} .
+	@cd ${WRKSRC} && ${GMAKE} -f admin/Makefile.common
 
 .include <bsd.port.post.mk>
diff -urN /usr/ports/audio/yammi/distinfo audio/yammi/distinfo
--- /usr/ports/audio/yammi/distinfo	Sun Jan 22 21:58:40 2006
+++ audio/yammi/distinfo	Thu Mar 15 01:08:43 2007
@@ -1,3 +1,3 @@
-MD5 (yammi-1.2-rc.tar.gz) = ab7bdd3fdf0ae671bac02b2f1c960fb7
-SHA256 (yammi-1.2-rc.tar.gz) = fcbca477b9b7c6f4fd19a68edbdeaa6ed1d125ad56758b6770db078241cd0eff
-SIZE (yammi-1.2-rc.tar.gz) = 1170490
+MD5 (yammi-1.2.2.tar.gz) = 3da9fda532d2b5de2b3e20a55b81104b
+SHA256 (yammi-1.2.2.tar.gz) = db91a6d5e8f8bffe4f2254964633eadd3b7793ca600fa14c33e20f1ed5d0ca5d
+SIZE (yammi-1.2.2.tar.gz) = 1072843
diff -urN /usr/ports/audio/yammi/files/patch-configure audio/yammi/files/patch-configure
--- /usr/ports/audio/yammi/files/patch-configure	Thu Dec 23 14:09:55 2004
+++ audio/yammi/files/patch-configure	Thu Jan  1 09:00:00 1970
@@ -1,19 +0,0 @@
---- configure.orig	Tue Dec 14 21:30:57 2004
-+++ configure	Tue Dec 14 21:30:42 2004
-@@ -25860,13 +25860,13 @@
- 	;;
-      esac
-      as_ac_Lib=`echo "ac_cv_lib_$PTHREAD_LIBS''_pthread_create" | $as_tr_sh`
--echo "$as_me:$LINENO: checking for pthread_create in -l$PTHREAD_LIBS" >&5
--echo $ECHO_N "checking for pthread_create in -l$PTHREAD_LIBS... $ECHO_C" >&6
-+echo "$as_me:$LINENO: checking for pthread_create in $PTHREAD_LIBS" >&5
-+echo $ECHO_N "checking for pthread_create in $PTHREAD_LIBS... $ECHO_C" >&6
- if eval "test \"\${$as_ac_Lib+set}\" = set"; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   ac_check_lib_save_LIBS=$LIBS
--LIBS="-l$PTHREAD_LIBS  $LIBS"
-+LIBS="$PTHREAD_LIBS  $LIBS"
- cat >conftest.$ac_ext <<_ACEOF
- /* #line $LINENO "configure" */
- /* confdefs.h.  */
diff -urN /usr/ports/audio/yammi/files/patch-src::icons::Makefile.in audio/yammi/files/patch-src::icons::Makefile.in
--- /usr/ports/audio/yammi/files/patch-src::icons::Makefile.in	Thu Dec 23 13:52:33 2004
+++ audio/yammi/files/patch-src::icons::Makefile.in	Thu Jan  1 09:00:00 1970
@@ -1,22 +0,0 @@
---- src/icons/Makefile.in.orig	Tue Dec 14 22:54:21 2004
-+++ src/icons/Makefile.in	Tue Dec 14 22:56:39 2004
-@@ -465,9 +465,17 @@
- #>+ 1
- 	$(INSTALL_DATA) $(srcdir)/toggle_playlist.png $(DESTDIR)$(kde_datadir)/yammi/icons/crystalsvg/22x22/actions/toggle_playlist.png
- 
--#>- 	$(mkinstalldirs) $(kde_icondir)/crystalsvg/{16x16,22x22,32x32,48x48,64x64}/apps/
-+#>- 	$(mkinstalldirs) $(kde_icondir)/crystalsvg/16x16/apps/
-+#>- 	$(mkinstalldirs) $(kde_icondir)/crystalsvg/22x22/apps/
-+#>- 	$(mkinstalldirs) $(kde_icondir)/crystalsvg/32x32/apps/
-+#>- 	$(mkinstalldirs) $(kde_icondir)/crystalsvg/48x48/apps/
-+#>- 	$(mkinstalldirs) $(kde_icondir)/crystalsvg/64x64/apps/
- #>+ 1
--	$(mkinstalldirs) $(DESTDIR)$(kde_icondir)/crystalsvg/{16x16,22x22,32x32,48x48,64x64}/apps/
-+	$(mkinstalldirs) $(DESTDIR)$(kde_icondir)/crystalsvg/16x16/apps/
-+	$(mkinstalldirs) $(DESTDIR)$(kde_icondir)/crystalsvg/22x22/apps/
-+	$(mkinstalldirs) $(DESTDIR)$(kde_icondir)/crystalsvg/32x32/apps/
-+	$(mkinstalldirs) $(DESTDIR)$(kde_icondir)/crystalsvg/48x48/apps/
-+	$(mkinstalldirs) $(DESTDIR)$(kde_icondir)/crystalsvg/64x64/apps/
- 
- #>- 	$(INSTALL_DATA) $(srcdir)/yammi16x16.png $(kde_icondir)/crystalsvg/16x16/apps/yammi.png
- #>+ 1
diff -urN /usr/ports/audio/yammi/pkg-plist audio/yammi/pkg-plist
--- /usr/ports/audio/yammi/pkg-plist	Mon Dec 27 03:06:52 2004
+++ audio/yammi/pkg-plist	Thu Mar 15 03:37:30 2007
@@ -1,29 +1,31 @@
 bin/yammi
 bin/yammiGrabAndEncode
-share/doc/HTML/en/yammi/common
-share/doc/HTML/en/yammi/screenshot.png
-share/doc/HTML/en/yammi/index.docbook
-share/doc/HTML/en/yammi/index.cache
-share/doc/HTML/en/yammi/index.cache.bz2
-share/locale/de/LC_MESSAGES/yammi.mo
-share/locale/es/LC_MESSAGES/yammi.mo
-share/locale/it/LC_MESSAGES/yammi.mo
-share/apps/yammi/icons/crystalsvg/22x22/actions/enqueue_asnext.png
+share/applnk/Multimedia/yammi.desktop
 share/apps/yammi/icons/crystalsvg/22x22/actions/enqueue.png
+share/apps/yammi/icons/crystalsvg/22x22/actions/enqueue_asnext.png
 share/apps/yammi/icons/crystalsvg/22x22/actions/play_now.png
-share/apps/yammi/icons/crystalsvg/22x22/actions/stop_prelisten.png
-share/apps/yammi/icons/crystalsvg/22x22/actions/prelisten_start.png
-share/apps/yammi/icons/crystalsvg/22x22/actions/prelisten_middle.png
 share/apps/yammi/icons/crystalsvg/22x22/actions/prelisten_end.png
+share/apps/yammi/icons/crystalsvg/22x22/actions/prelisten_middle.png
+share/apps/yammi/icons/crystalsvg/22x22/actions/prelisten_start.png
+share/apps/yammi/icons/crystalsvg/22x22/actions/stop_prelisten.png
 share/apps/yammi/icons/crystalsvg/22x22/actions/toggle_playlist.png
+share/apps/yammi/pics/nowplaying.png
+share/apps/yammi/pics/playlistbackground.jpg
 share/apps/yammi/yammiui.rc
+share/doc/HTML/en/yammi/common
+share/doc/HTML/en/yammi/index.cache.bz2
+share/doc/HTML/en/yammi/index.docbook
+share/doc/HTML/en/yammi/screenshot.png
 share/icons/crystalsvg/16x16/apps/yammi.png
 share/icons/crystalsvg/22x22/apps/yammi.png
 share/icons/crystalsvg/32x32/apps/yammi.png
 share/icons/crystalsvg/48x48/apps/yammi.png
 share/icons/crystalsvg/64x64/apps/yammi.png
-share/applnk/Multimedia/yammi.desktop
+share/locale/de/LC_MESSAGES/yammi.mo
+share/locale/es/LC_MESSAGES/yammi.mo
+share/locale/it/LC_MESSAGES/yammi.mo
 @dirrm share/doc/HTML/en/yammi
+@dirrm share/apps/yammi/pics
 @dirrm share/apps/yammi/icons/crystalsvg/22x22/actions
 @dirrm share/apps/yammi/icons/crystalsvg/22x22
 @dirrm share/apps/yammi/icons/crystalsvg
>Release-Note:
>Audit-Trail:
>Unformatted:



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