ports/75079: Update audio/yammi to 1.2-rc; fix imake issue with new x.org

Arjan van Leeuwen avleeuwen at piwebs.com
Tue Dec 14 22:40:21 UTC 2004


>Number:         75079
>Category:       ports
>Synopsis:       Update audio/yammi to 1.2-rc; fix imake issue with new x.org
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 14 22:40:20 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Arjan van Leeuwen
>Release:        FreeBSD 6.0-CURRENT amd64
>Organization:
>Environment:


System: FreeBSD 6.0-CURRENT #2: Tue Dec 14 20:17:35 CET 2004
    root at vincent.piwebs.com:/usr/obj/usr/src/sys/VINCENT



>Description:


- Update audio/yammi to version 1.2-rc
- Fix imake dependency problem with upcoming X.org port [1]

[1] Reported by Dejan Lesjak <lesi at freebsd.org>


>How-To-Repeat:





>Fix:


--- yammi.diff begins here ---
diff -urN /usr/ports/audio/yammi/Makefile yammi/Makefile
--- /usr/ports/audio/yammi/Makefile	Wed Feb  4 06:18:48 2004
+++ yammi/Makefile	Tue Dec 14 23:29:21 2004
@@ -6,55 +6,59 @@
 #
 
 PORTNAME=	yammi
-PORTVERSION=	1.0.r1
-PORTREVISION=	3
+PORTVERSION=	1.2.rc
 CATEGORIES=	audio
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
-DISTNAME=	${PORTNAME}-${PORTVERSION:S/.0.r/.0-rc/}
+DISTNAME=	${PORTNAME}-${PORTVERSION:S/.2.r/.2-r/}
 
 MAINTAINER=	avleeuwen at piwebs.com
 COMMENT=	A QT-based music manager with fuzzy search
 
 LIB_DEPENDS=	vorbis.3:${PORTSDIR}/audio/libvorbis \
-		id3-3.8.3:${PORTSDIR}/audio/id3lib \
-		xmms.4:${PORTSDIR}/multimedia/xmms
+		id3-3.8.3:${PORTSDIR}/audio/id3lib
+
+OPTIONS=	ARTS "Arts backend support" on \
+		XMMS "XMMS backend support" off \
+		NOATUN "Noatun backend support" on
 
 USE_QT_VER=	3
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	CXXFLAGS="${CXXFLAGS} ${PTHREAD_CFLAGS}" \
 		LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS}"
-CONFIGURE_ARGS+=	--program-prefix='' --enable-threading=yes --enable-mt=yes
+CONFIGURE_ARGS+=--program-prefix='' --enable-threading=yes --enable-mt=yes \
+		--x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include
 USE_REINPLACE=	yes
+USE_KDELIBS_VER=3
 
 .include <bsd.port.pre.mk>
 
-.if exists(${LOCALBASE}/bin/noatun)
-WITH_NOATUN=yes
-.endif # exists(${LOCALBASE}/bin/noatun)
-
-.if defined(WITH_NOATUN)
-BUILD_DEPENDS+=	noatun:${PORTSDIR}/multimedia/kdemultimedia3
-WITH_KDE=yes
+.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+=	--disable-noatun
-.endif # defined(WITH_NOATUN)
-
-.if exists(${LOCALBASE}/lib/libkdecore.so)
-WITH_KDE=yes
-.endif # exists(${LOCALBASE}/lib/libkdecore.so)
+CONFIGURE_ARGS+=--without-arts
+.endif
 
-.if defined(WITH_KDE)
-USE_KDELIBS_VER=3
+.if !defined(WITHOUT_NOATUN)
+RUN_DEPENDS+=	noatun:${PORTSDIR}/multimedia/kdemultimedia3
+.endif
+
+.if !defined(WITHOUT_XMMS)
+CONFIGURE_ARGS+=--enable-xmms
+BUILD_DEPENDS+= xmms-config:${PORTSDIR}/multimedia/xmms
+LIB_DEPENDS+=   xmms.4:${PORTSDIR}/multimedia/xmms
 .else
-CONFIGURE_ARGS+=	--disable-KDE
-.endif # defined(WITH_KDE)
-
-pre-configure:
-	@${REINPLACE_CMD} -e 's at -lpthread@${PTHREAD_LIBS}@g' ${WRKSRC}/configure
-
-post-configure:
-	@${REINPLACE_CMD} -e 's@$$(DESTDIR)$$(KDEDIR)@$$(prefix)@g' ${WRKSRC}/yammi/docs/en/Makefile
+CONFIGURE_ARGS+=--disable-xmms
+.endif
 
 .include <bsd.port.post.mk>
diff -urN /usr/ports/audio/yammi/distinfo yammi/distinfo
--- /usr/ports/audio/yammi/distinfo	Thu Mar 18 03:27:30 2004
+++ yammi/distinfo	Tue Dec 14 21:05:16 2004
@@ -1,2 +1,2 @@
-MD5 (yammi-1.0-rc1.tar.gz) = 7cbc79fbd2fa80b00f4451b7ed3f8f2f
-SIZE (yammi-1.0-rc1.tar.gz) = 847291
+MD5 (yammi-1.2-rc.tar.gz) = ab7bdd3fdf0ae671bac02b2f1c960fb7
+SIZE (yammi-1.2-rc.tar.gz) = 1170490
diff -urN /usr/ports/audio/yammi/files/patch-configure yammi/files/patch-configure
--- /usr/ports/audio/yammi/files/patch-configure	Fri Oct 17 09:20:16 2003
+++ yammi/files/patch-configure	Tue Dec 14 21:31:17 2004
@@ -1,92 +1,19 @@
---- configure.orig	Sun Aug 31 23:25:52 2003
-+++ configure	Thu Oct 16 00:24:50 2003
-@@ -19343,7 +19343,7 @@
- EOF
- fi
- 
--echo "#if ! ($kde_qt_verstring)" >> conftest.$ac_ext
-+echo "#if ! (1)" >> conftest.$ac_ext
- cat >> conftest.$ac_ext <<EOF
- #error 1
- #endif
-@@ -19949,6 +19949,8 @@
- echo "$as_me:19949: result: $USE_RPATH" >&5
- echo "${ECHO_T}$USE_RPATH" >&6
- 
-+if test "x$configure_enable_KDE" = "xyes"; then
-+
- echo "$as_me:19952: checking for KDE" >&5
- echo $ECHO_N "checking for KDE... $ECHO_C" >&6
- 
-@@ -21156,6 +21158,8 @@
- 
- fi
- 
-+fi
-+
- if test "x$configure_enable_KDE" = "xyes"; then
- 
- DO_NOT_COMPILE="$DO_NOT_COMPILE CVS debian bsd-port admin"
-@@ -21260,7 +21264,7 @@
+--- 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="-logg  $LIBS"
-+LIBS="-logg  $LIBS $USER_LDFLAGS"
+-LIBS="-l$PTHREAD_LIBS  $LIBS"
++LIBS="$PTHREAD_LIBS  $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
- #line 21265 "configure"
- #include "confdefs.h"
-@@ -21322,7 +21326,7 @@
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   ac_check_lib_save_LIBS=$LIBS
--LIBS="-lvorbis  $LIBS"
-+LIBS="-lvorbis  $LIBS $USER_LDFLAGS"
- cat >conftest.$ac_ext <<_ACEOF
- #line 21327 "configure"
- #include "confdefs.h"
-@@ -21386,7 +21390,7 @@
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   ac_check_lib_save_LIBS=$LIBS
--LIBS="-lvorbisfile  $LIBS"
-+LIBS="-lvorbisfile  $LIBS $USER_LDFLAGS"
- cat >conftest.$ac_ext <<_ACEOF
- #line 21391 "configure"
- #include "confdefs.h"
-@@ -21450,7 +21454,7 @@
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   ac_check_lib_save_LIBS=$LIBS
--LIBS="-lgdk  $LIBS"
-+LIBS="-lgdk12  $LIBS $USER_LDFLAGS $X_LDFLAGS"
- cat >conftest.$ac_ext <<_ACEOF
- #line 21455 "configure"
- #include "confdefs.h"
-@@ -21498,7 +21502,7 @@
- #define HAVE_LIBGDK 1
- EOF
- 
--  LIBS="-lgdk $LIBS"
-+  LIBS="-lgdk12 $LIBS"
- 
- else
-   configure_enable_ogglibs=no
-@@ -21527,7 +21531,7 @@
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   ac_check_lib_save_LIBS=$LIBS
--LIBS="-lz  $LIBS"
-+LIBS="-lz  $LIBS $USER_LDFLAGS $X_LDFLAGS"
- cat >conftest.$ac_ext <<_ACEOF
- #line 21532 "configure"
- #include "confdefs.h"
-@@ -21589,7 +21593,7 @@
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   ac_check_lib_save_LIBS=$LIBS
--LIBS="-lid3  $LIBS"
-+LIBS="-lid3  $LIBS $USER_LDFLAGS $X_LDFLAGS"
- cat >conftest.$ac_ext <<_ACEOF
- #line 21594 "configure"
- #include "confdefs.h"
+ /* #line $LINENO "configure" */
+ /* confdefs.h.  */
diff -urN /usr/ports/audio/yammi/files/patch-src::icons::Makefile.in yammi/files/patch-src::icons::Makefile.in
--- /usr/ports/audio/yammi/files/patch-src::icons::Makefile.in	Thu Jan  1 01:00:00 1970
+++ yammi/files/patch-src::icons::Makefile.in	Tue Dec 14 22:57:09 2004
@@ -0,0 +1,22 @@
+--- 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 yammi/pkg-plist
--- /usr/ports/audio/yammi/pkg-plist	Wed Oct  1 18:17:50 2003
+++ yammi/pkg-plist	Tue Dec 14 22:49:53 2004
@@ -1,12 +1,31 @@
 bin/yammi
 bin/yammiGrabAndEncode
-share/doc/HTML/en/yammi/index-1.html
-share/doc/HTML/en/yammi/index-2.html
-share/doc/HTML/en/yammi/index-3.html
-share/doc/HTML/en/yammi/index-4.html
-share/doc/HTML/en/yammi/index-5.html
-share/doc/HTML/en/yammi/index-6.html
-share/doc/HTML/en/yammi/index.html
- at dirrm share/doc/HTML/en/yammi
- at dirrm share/doc/HTML/en
- at dirrm share/doc/HTML
+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/apps/yammi/icons/crystalsvg/22x22/actions/enqueue.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/toggle_playlist.png
+share/apps/yammi/yammiui.rc
+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
+ at dirrm share/apps/yammi/icons/crystalsvg/22x22/actions
+ at dirrm share/apps/yammi/icons/crystalsvg/22x22
+ at dirrm share/apps/yammi/icons/crystalsvg
+ at dirrm share/apps/yammi/icons
+ at dirrm share/apps/yammi
+
--- yammi.diff ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list