Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Sep 2002 02:00:29 +0200 (CEST)
From:      Tilman Linneweh <tilman@arved.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        tilman@arved.de, kris@FreeBSD.org
Subject:   ports/43499: Fix install: audio/zinf 
Message-ID:  <200209300000.g8U00TDD015043@sauna.arved.de>

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

>Number:         43499
>Category:       ports
>Synopsis:       Fix install: audio/zinf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 29 17:10:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Tilman Linneweh
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
BSD Usergroup Austria
>Environment:
System: FreeBSD sauna.arved.de 4.6-STABLE FreeBSD 4.6-STABLE #0: Sun Jul 7 20:02:41 CEST 2002 tilman@sauna.arved.de:/usr/obj/usr/src/sys/SAUNA i386


	
>Description:
	Correct Dependency on arts
	Add gnomehier to USE_GNOME, This should fix the bento error
	Add USE_X_PREFIX, gnomeports go /usr/X11R6
	Add depndency on id3lib, as INSTALL document stats it is necessary
	Fix installation of .desktop file and png file, don't try
	to write to /usr/share.
	Fixes PLIST
	
>How-To-Repeat:
	
>Fix:

	

--- zinf.PR begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/audio/zinf/Makefile,v
retrieving revision 1.24
diff -u -r1.24 Makefile
--- Makefile	31 Aug 2002 00:13:25 -0000	1.24
+++ Makefile	29 Sep 2002 23:51:39 -0000
@@ -15,11 +15,13 @@
 
 BUILD_DEPENDS=	nasm:${PORTSDIR}/devel/nasm
 LIB_DEPENDS=	musicbrainz.2:${PORTSDIR}/audio/musicbrainz \
-		gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf \
-		ttf.4:${PORTSDIR}/print/freetype
+		ttf.4:${PORTSDIR}/print/freetype \
+		id3:${PORTSDIR}/audio/id3lib
 
+USE_PERL5=	yes
 USE_GNOMENG=	yes
-USE_GNOME=	gtk12
+USE_GNOME=	gtk12 gdk-pixbuf gnomehier
+USE_X_PREFIX=	yes
 WANT_GNOME=	yes
 USE_GMAKE=	yes
 USE_AUTOCONF_VER=213
@@ -45,7 +47,7 @@
 .endif
 
 .if defined(WITH_LIBARTS) || defined(WITH_ALL_PLUGINS)
-LIB_DEPENDS+=	artsc.0:${PORTSDIR}/x11/kdelibs2
+LIB_DEPENDS+=	artsc.0:${PORTSDIR}/audio/arts
 PLIST_SUB+=	LIBARTS=""
 .else
 CONFIGURE_ARGS+=	--disable-arts
@@ -81,6 +83,12 @@
 	@${MKDIR} ${PREFIX}/etc/sdr/plugins
 	${INSTALL_DATA} ${FILESDIR}/sdr2.plugin.S100.audio.rtp.mpa.zinf \
 		${PREFIX}/etc/sdr/plugins
+	-${MKDIR} ${PREFIX}/share/gnome/apps/Audio
+	${INSTALL_DATA} ${WRKSRC}/installer/unix/linux/Zinf.desktop \
+		${PREFIX}/share/gnome/apps/Audio/
+	-${MKDIR} ${PREFIX}/share/pixmaps
+	${INSTALL_DATA} ${WRKSRC}/installer/unix/linux/zinf.png \
+		${PREFIX}/share/pixmaps/zinf.png
 	${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/zinf
 
 .include <bsd.port.post.mk>
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/audio/zinf/pkg-plist,v
retrieving revision 1.6
diff -u -r1.6 pkg-plist
--- pkg-plist	8 Aug 2002 19:17:19 -0000	1.6
+++ pkg-plist	29 Sep 2002 23:30:07 -0000
@@ -31,6 +31,8 @@
 lib/zinf/plugins/winamp.ftf
 lib/zinf/plugins/winamp_theme.xml
 lib/zinf/plugins/xingmp3.lmc
+share/gnome/apps/Audio/Zinf.desktop
+share/pixmaps/zinf.png
 share/zinf/themes/Aquatica.fat
 share/zinf/themes/Zinf.fat
 share/zinf/themes/ZinfClassic.fat
Index: files/patch-Makefile.in
===================================================================
RCS file: files/patch-Makefile.in
diff -N files/patch-Makefile.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-Makefile.in	29 Sep 2002 23:31:04 -0000
@@ -0,0 +1,16 @@
+--- Makefile.in.orig	Mon Sep 30 01:27:04 2002
++++ Makefile.in	Mon Sep 30 01:29:57 2002
+@@ -142,13 +142,6 @@
+ install-zinf: zinf
+ 	$(mkinstalldirs) $(DESTDIR)$(bindir)
+ 	$(INSTALL_PROGRAM) zinf $(DESTDIR)$(bindir)
+-	$(mkinstalldirs) /usr/share/pixmaps
+-	$(INSTALL_DATA) installer/unix/linux/zinf.png $(GTK_PREFIX)/share/pixmaps
+-	$(mkinstalldirs) /usr/share/gnome/apps/Audio
+-	$(INSTALL_DATA) installer/unix/linux/Zinf.desktop $(GTK_PREFIX)/share/gnome/apps/Audio
+-	if test -f "MakeTheme"; then \
+-		$(INSTALL_PROGRAM) MakeTheme $(DESTDIR)$(bindir);\
+-	fi;
+ 
+ uninstall-zinf:
+ 	-${RM} $(DESTDIR)$(bindir)/zinf
--- zinf.PR ends here ---


>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?200209300000.g8U00TDD015043>