Skip site navigation (1)Skip section navigation (2)
Date:      Sat,  1 Sep 2007 18:46:56 +0200 (CEST)
From:      Mathias <mathias@monnerville.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        mathias@monnerville.com
Subject:   ports/115998: Maintainership request on audio/gmpc: patch for upgrading to 0.15.0 attached
Message-ID:  <20070901164656.F0CC067845@meduse.ocean.gaia>
Resent-Message-ID: <200709011650.l81GoBJf018406@freefall.freebsd.org>

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

>Number:         115998
>Category:       ports
>Synopsis:       Maintainership request on audio/gmpc: patch for upgrading to 0.15.0 attached
>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:   Sat Sep 01 16:50:11 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Mathias Monnerville
>Release:        FreeBSD 6.1-RELEASE-p12 i386
>Organization:
>Environment:
System: FreeBSD meduse.ocean.gaia 6.1-RELEASE-p12 FreeBSD 6.1-RELEASE-p12 #0: Sat Feb 3 22:30:23 CET 2007 mathias@meduse.ocean.gaia:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
Here is a patch for upgrading audio/gmpc to version 0.15.0. I also request maintainership for that port.

	
>How-To-Repeat:
	
>Fix:

	

--- gmpc-patch.diff begins here ---
diff -ur gmpc/Makefile gmpc-0.15.0/Makefile
--- gmpc/Makefile	Sat Sep  1 18:01:16 2007
+++ gmpc-0.15.0/Makefile	Sat Sep  1 18:18:45 2007
@@ -5,42 +5,48 @@
 # $FreeBSD: ports/audio/gmpc/Makefile,v 1.13 2007/06/12 05:22:38 novel Exp $
 #
 
-PORTNAME=	gmpc
-PORTVERSION=	0.13.0
-PORTREVISION=	1
-PORTEPOCH=	1
-CATEGORIES=	audio
-MASTER_SITES=	http://download.qballcow.nl/programs/gmpc-0.13/
+PORTNAME=		gmpc
+PORTVERSION=	0.15.0
+CATEGORIES=		audio
+MASTER_SITES=   http://download.sarine.nl/gmpc-0.15.0/ \
+				http://download.gna.org/kanicule/freebsd/distfiles/
 
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Tray-aware GTK2 client for musicpd
+MAINTAINER=	mathias@monnerville.com
+COMMENT=	Full featured GTK2 client for musicpd
 
 LIB_DEPENDS=	mpd:${PORTSDIR}/audio/libmpd
 
 GNU_CONFIGURE=	yes
-USE_GNOME=	libglade2 gnomevfs2
+USE_GMAKE=		yes
+USE_GNOME=		libglade2 gnomevfs2
 USE_X_PREFIX=	yes
+USE_GETTEXT=	yes
 
-OPTIONS=	NLS "Native language support" on
+OPTIONS=	SESSION "Enable session support" on \
+			MMKEYS "Enable multimedia keys support" on \
+			TRAY "Enable tray icon support" on
 
 .include <bsd.port.pre.mk>
 
-.if !defined(WITHOUT_NLS)
-USE_GETTEXT=	yes
-PLIST_FILES+=	share/locale/fr/LC_MESSAGES/gmpc.mo
-PLIST_FILES+=	share/locale/ru/LC_MESSAGES/gmpc.mo
+pre-configure:
+.if defined(WITHOUT_SESSION)
+CONFIGURE_ARGS+= --disable-sm
 .endif
 
-post-patch:
-	@${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|g' \
-		${WRKSRC}/data/Makefile.in
+.if defined(WITHOUT_MMKEYS)
+CONFIGURE_ARGS+= --disable-mmkeys
+.endif
 
-post-install:
-.if !defined(WITHOUT_NLS)
-.for language in fr ru
-	${MKDIR} ${LOCALBASE}/share/locale/${language}/LC_MESSAGES
-	${INSTALL_DATA} ${WRKSRC}/po/${language}.gmo ${PREFIX}/share/locale/${language}/LC_MESSAGES/gmpc.mo
-.endfor
+.if defined(WITHOUT_TRAY)
+CONFIGURE_ARGS+= --disable-trayicon
 .endif
+
+post-configure:
+	@${REINPLACE_CMD} 	-e 's#^\(G\{0,1\}MSGFMT =\)#\1 ${PREFIX}/bin/msgfmt#' \
+		${WRKSRC}/po/Makefile
+
+post-patch:
+	@${REINPLACE_CMD} -e 's,(libdir)/pkgconfig,(prefix)/libdata/pkgconfig,g' \
+		${WRKSRC}/data/Makefile.in
 
 .include <bsd.port.post.mk>
diff -ur gmpc/distinfo gmpc-0.15.0/distinfo
--- gmpc/distinfo	Sat Sep  1 18:01:16 2007
+++ gmpc-0.15.0/distinfo	Sat Sep  1 18:02:06 2007
@@ -1,3 +1,3 @@
-MD5 (gmpc-0.13.0.tar.gz) = dbbb1880feb8b9c2493ece670520299b
-SHA256 (gmpc-0.13.0.tar.gz) = 7b47fd0d2e5a2f2d626b3e9e903ff8a0c0ce7c926925944dcea1f9ca3e6cfda1
-SIZE (gmpc-0.13.0.tar.gz) = 476926
+MD5 (gmpc-0.15.0.tar.gz) = 00fc95f8f67a2d9c7b7d3bf58299148c
+SHA256 (gmpc-0.15.0.tar.gz) = 4d0da17757e01ec66dfaa92966344db701195f5e191bdd58420070273380804e
+SIZE (gmpc-0.15.0.tar.gz) = 764372
diff -ur gmpc/pkg-descr gmpc-0.15.0/pkg-descr
--- gmpc/pkg-descr	Sat Sep  1 18:01:16 2007
+++ gmpc-0.15.0/pkg-descr	Sat Sep  1 18:02:06 2007
@@ -1,8 +1,17 @@
-A tray-aware GTK2-client for MPD, the Music Player Daemon.
-gmpc connects to a MPD running on a machine via a network.
+GMPC is a GTK2 frontend for the mpd (Music Player Daemon). It's 
+focused on being fast and easy to use, while making optimal 
+use of all the functions in mpd.
+
+It connects to a MPD running on a machine via a network.
 Read more about MPD on http://www.musicpd.org
 
-You have to install musicpd somewhere in your network to
-make use of this program.
+Features:
+
+* Metadata support, it can show artist image, album art, lyrics, 
+etc.
+* Plugin support.
+* Fast, gmpc is optimized to work even on low end machines and 
+slow networks.
+* Profile support, easily use gmpc with multiple mpd's.
 
-WWW:	http://www.musicpd.org
+WWW:	http://sarine.nl/gmpc/
diff -ur gmpc/pkg-plist gmpc-0.15.0/pkg-plist
--- gmpc/pkg-plist	Sat Sep  1 18:01:16 2007
+++ gmpc-0.15.0/pkg-plist	Sat Sep  1 18:02:06 2007
@@ -1,30 +1,75 @@
 bin/gmpc
-%%DATADIR%%/gmpc-tray.png
-%%DATADIR%%/gmpc.png
-%%DATADIR%%/icecast.png
-%%DATADIR%%/media-album.png
-%%DATADIR%%/media-artist.png
-%%DATADIR%%/media-audiofile.png
-%%DATADIR%%/media-next.png
-%%DATADIR%%/media-pause.png
-%%DATADIR%%/media-play.png
-%%DATADIR%%/media-playlist.png
-%%DATADIR%%/media-prev.png
-%%DATADIR%%/media-stop.png
-%%DATADIR%%/media-stream.png
-%%DATADIR%%/player-repeat.png
-%%DATADIR%%/player-shuffle.png
-%%DATADIR%%/gmpc.glade
-%%DATADIR%%/playlist3.glade
-%%DATADIR%%/open-location.glade
-%%DATADIR%%/add-browser.glade
-share/applications/gmpc.desktop
-share/pixmaps/gmpc.png
+include/gmpc/TreeSearchWidget.h
 include/gmpc/config1.h
-include/gmpc/cover-art.h
+include/gmpc/gmpc-clicklabel.h
+include/gmpc/gmpc-metaimage.h
+include/gmpc/gmpc-mpddata-model.h
+include/gmpc/gmpc-mpddata-treeview.h
+include/gmpc/gmpc-profiles.h
+include/gmpc/gmpc_easy_download.h
+include/gmpc/metadata.h
 include/gmpc/plugin.h
-include/gmpc/qthread.h
-@dirrm include/gmpc
+lib/locale/de/LC_MESSAGES/gmpc.mo
+lib/locale/fr/LC_MESSAGES/gmpc.mo
+lib/locale/gl/LC_MESSAGES/gmpc.mo
+lib/locale/nl/LC_MESSAGES/gmpc.mo
+lib/locale/pl/LC_MESSAGES/gmpc.mo
+lib/locale/ru/LC_MESSAGES/gmpc.mo
 libdata/pkgconfig/gmpc.pc
-@dirrm %%DATADIR%%
+share/applications/gmpc.desktop
+share/gmpc/gmpc-add-url.png
+share/gmpc/gmpc-loading-cover.png
+share/gmpc/gmpc-no-cover.png
+share/gmpc/gmpc-tray-disconnected.png
+share/gmpc/gmpc-tray-pause.png
+share/gmpc/gmpc-tray-play.png
+share/gmpc/gmpc-tray.png
+share/gmpc/gmpc-volume.png
+share/gmpc/gmpc.glade
+share/gmpc/gmpc.png
+share/gmpc/hicolor/16x16/actions/media-playlist.png
+share/gmpc/hicolor/16x16/actions/media-tag.png
+share/gmpc/hicolor/16x16/actions/playlist-browser.png
+share/gmpc/hicolor/16x16/actions/playlist-search-browser.png
+share/gmpc/hicolor/16x16/actions/tag-browser.png
+share/gmpc/hicolor/22x22/actions/media-playlist.png
+share/gmpc/hicolor/32x32/actions/media-playlist.png
+share/gmpc/hicolor/32x32/actions/media-tag.png
+share/gmpc/hicolor/32x32/actions/playlist-browser.png
+share/gmpc/hicolor/32x32/actions/playlist-search-browser.png
+share/gmpc/hicolor/32x32/actions/tag-browser.png
+share/gmpc/hicolor/48x48/actions/media-playlist.png
+share/gmpc/hicolor/48x48/actions/media-tag.png
+share/gmpc/hicolor/48x48/actions/tag-browser.png
+share/gmpc/media-album.png
+share/gmpc/media-artist.png
+share/gmpc/media-audiofile.png
+share/gmpc/media-playback-start.png
+share/gmpc/media-stream.png
+share/gmpc/playlist3.glade
+share/pixmaps/gmpc.png
+@dirrm share/gmpc/hicolor/48x48/actions
+@dirrm share/gmpc/hicolor/48x48
+@dirrm share/gmpc/hicolor/32x32/actions
+@dirrm share/gmpc/hicolor/32x32
+@dirrm share/gmpc/hicolor/22x22/actions
+@dirrm share/gmpc/hicolor/22x22
+@dirrm share/gmpc/hicolor/16x16/actions
+@dirrm share/gmpc/hicolor/16x16
+@dirrm share/gmpc/hicolor
+@dirrm include/gmpc
+@dirrm share/gmpc
 @dirrmtry share/applications
+@dirrmtry lib/locale/ru/LC_MESSAGES
+@dirrmtry lib/locale/ru
+@dirrmtry lib/locale/pl/LC_MESSAGES
+@dirrmtry lib/locale/pl
+@dirrmtry lib/locale/nl/LC_MESSAGES
+@dirrmtry lib/locale/nl
+@dirrmtry lib/locale/gl/LC_MESSAGES
+@dirrmtry lib/locale/gl
+@dirrmtry lib/locale/fr/LC_MESSAGES
+@dirrmtry lib/locale/fr
+@dirrmtry lib/locale/de/LC_MESSAGES
+@dirrmtry lib/locale/de
+@dirrmtry lib/locale
--- gmpc-patch.diff ends here ---



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



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