Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jul 2019 00:19:14 +0000 (UTC)
From:      Koichiro Iwao <meta@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r507687 - in head/audio: . grip grip/files
Message-ID:  <201907310019.x6V0JEkd077396@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: meta
Date: Wed Jul 31 00:19:14 2019
New Revision: 507687
URL: https://svnweb.freebsd.org/changeset/ports/507687

Log:
  New port: audio/grip GTK front-end to external cd rippers and audio encoders
  
  Grip is a front-end to external cd audio rippers (such as dagrab or
  cdda2wav). It also provides an automated frontend for MP3 encoders, letting
  you take a disc and transform it easily straight into MP3s. The CDDB
  protocol is supported for retrieving track information from disc database
  servers. Grip works with DigitalDJ to provide a unified "computerized"
  version of your music collection.
  
  WWW: https://sourceforge.net/projects/grip/
  
  PR:		239006
  Submitted by:	Jens Grassel <freebsd-ports@jan0sch.de>

Added:
  head/audio/grip/
  head/audio/grip/Makefile   (contents, props changed)
  head/audio/grip/distinfo   (contents, props changed)
  head/audio/grip/files/
  head/audio/grip/files/patch-src_main.c   (contents, props changed)
  head/audio/grip/files/patch-src_tray.c   (contents, props changed)
  head/audio/grip/pkg-descr   (contents, props changed)
  head/audio/grip/pkg-plist   (contents, props changed)
Modified:
  head/audio/Makefile

Modified: head/audio/Makefile
==============================================================================
--- head/audio/Makefile	Tue Jul 30 23:38:58 2019	(r507686)
+++ head/audio/Makefile	Wed Jul 31 00:19:14 2019	(r507687)
@@ -241,6 +241,7 @@
     SUBDIR += gqradio
     SUBDIR += gradio
     SUBDIR += gramofile
+    SUBDIR += grip
     SUBDIR += gsequencer
     SUBDIR += gsm
     SUBDIR += gsound

Added: head/audio/grip/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/grip/Makefile	Wed Jul 31 00:19:14 2019	(r507687)
@@ -0,0 +1,64 @@
+# Created by: kbyanc@posi.net
+# $FreeBSD$
+
+PORTNAME=	grip
+PORTVERSION=	3.10.1
+CATEGORIES=	audio
+MASTER_SITES=	SF/grip/${PORTVERSION}
+
+MAINTAINER=	freebsd-ports@jan0sch.de
+COMMENT=	GTK front-end to external cd rippers and audio encoders
+
+LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+LIB_DEPENDS=	libcurl.so:ftp/curl \
+		libfontconfig.so:x11-fonts/fontconfig \
+		libfreetype.so:print/freetype2 \
+		libid3.so:audio/id3lib \
+		libpopt.so:devel/popt
+
+USES=		gmake libtool localbase pathfix pkgconfig
+USE_XORG=	ice sm x11 xext
+USE_GNOME=	cairo gdkpixbuf2 gnomeprefix libgnomeui vte
+
+GNU_CONFIGURE=	yes
+CONFIGURE_ARGS+=--disable-werror
+INSTALLS_ICONS=	yes
+
+OPTIONS_DEFINE=	CDPARANOIA CDDA2WAV LAME VORBIS FAAC FLAC NLS
+OPTIONS_DEFAULT=	CDPARANOIA FLAC VORBIS
+
+.if !defined(PACKAGE_BUILDING)
+OPTIONS_DEFAULT+=	LAME
+.endif
+
+OPTIONS_SUB=	yes
+
+CDPARANOIA_LIB_DEPENDS=	libcdda_paranoia.so:audio/cdparanoia
+CDPARANOIA_CONFIGURE_ENABLE=	cdpar
+CDDA2WAV_RUN_DEPENDS=	cdda2wav:sysutils/cdrtools
+FAAC_RUN_DEPENDS=	faac:audio/faac
+FLAC_RUN_DEPENDS=	flac:audio/flac
+LAME_RUN_DEPENDS=	lame:audio/lame
+VORBIS_RUN_DEPENDS=	ogg123:audio/vorbis-tools
+NLS_USES=	gettext
+
+.if defined(WITH_CDROM_DEVICE)
+DEFAULT_CDROM_DEVICE=${WITH_CDROM_DEVICE}
+.else
+DEFAULT_CDROM_DEVICE=/dev/cd0
+.endif
+
+pre-everything::
+.if !defined(WITH_CDROM_DEVICE)
+	@${ECHO_MSG} "===> The default CDROM device is ${DEFAULT_CDROM_DEVICE}"
+	@${ECHO_MSG} "===> Define WITH_CDROM_DEVICE if you want to change the default"
+	@${ECHO_MSG} "===> For example, 'make WITH_CDROM_DEVICE=\"/dev/somedevice\"'"
+.endif
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|/dev/cdrom|${DEFAULT_CDROM_DEVICE}|' \
+		${WRKSRC}/src/grip.c
+
+.include <bsd.port.mk>

Added: head/audio/grip/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/grip/distinfo	Wed Jul 31 00:19:14 2019	(r507687)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1562331458
+SHA256 (grip-3.10.1.tar.gz) = 50093cd01a2ba46e8ef20bec97f0a6d0a7b4cbefcd3f7ec68beba14c4bd6d0a5
+SIZE (grip-3.10.1.tar.gz) = 980748

Added: head/audio/grip/files/patch-src_main.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/grip/files/patch-src_main.c	Wed Jul 31 00:19:14 2019	(r507687)
@@ -0,0 +1,11 @@
+--- src/main.c.orig	2005-06-25 18:00:55 UTC
++++ src/main.c
+@@ -164,7 +164,7 @@ int Cmain(int argc, char* argv[])
+ 		     GNOME_PARAM_POPT_TABLE,options,
+ 		     GNOME_PROGRAM_STANDARD_PROPERTIES,NULL);
+ 
+-  bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF8");
++  bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
+   setenv("CHARSET","UTF-8",1);
+ 
+   /* Session Management */

Added: head/audio/grip/files/patch-src_tray.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/grip/files/patch-src_tray.c	Wed Jul 31 00:19:14 2019	(r507687)
@@ -0,0 +1,10 @@
+--- src/tray.c.orig	2017-07-31 21:04:11 UTC
++++ src/tray.c
+@@ -21,6 +21,7 @@
+  */
+ 
+ #include "cdplay.h"
++#include "common.h"
+ #include "tray.h"
+ #include "rip.h"
+ #include "uihelper.h"

Added: head/audio/grip/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/grip/pkg-descr	Wed Jul 31 00:19:14 2019	(r507687)
@@ -0,0 +1,8 @@
+Grip is a front-end to external cd audio rippers (such as dagrab or
+cdda2wav). It also provides an automated frontend for MP3 encoders, letting
+you take a disc and transform it easily straight into MP3s. The CDDB
+protocol is supported for retrieving track information from disc database
+servers. Grip works with DigitalDJ to provide a unified "computerized"
+version of your music collection.
+
+WWW: https://sourceforge.net/projects/grip/

Added: head/audio/grip/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/grip/pkg-plist	Wed Jul 31 00:19:14 2019	(r507687)
@@ -0,0 +1,86 @@
+bin/grip
+man/man1/grip.1.gz
+share/applications/grip.desktop
+share/apps/solid/actions/grip-audiocd.desktop
+share/solid/actions/grip-audiocd.desktop
+share/gnome/help/grip/C/cdconfig.png
+share/gnome/help/grip/C/cdplayer.png
+share/gnome/help/grip/C/cdplayersmall.png
+share/gnome/help/grip/C/cdscan.png
+share/gnome/help/grip/C/discdb.png
+share/gnome/help/grip/C/discdbconfig.png
+share/gnome/help/grip/C/editing.png
+share/gnome/help/grip/C/eject.png
+share/gnome/help/grip/C/encprog.png
+share/gnome/help/grip/C/ffwd.png
+share/gnome/help/grip/C/grip-logo.png
+share/gnome/help/grip/C/grip.xml
+share/gnome/help/grip/C/id3config.png
+share/gnome/help/grip/C/minmax.png
+share/gnome/help/grip/C/miscconfig.png
+share/gnome/help/grip/C/modeinterface.png
+share/gnome/help/grip/C/mp3config.png
+share/gnome/help/grip/C/mp3config2.png
+share/gnome/help/grip/C/multiartist.png
+share/gnome/help/grip/C/nexttrk.png
+share/gnome/help/grip/C/playloop.png
+share/gnome/help/grip/C/playnormal.png
+share/gnome/help/grip/C/playonce.png
+share/gnome/help/grip/C/playpause.png
+share/gnome/help/grip/C/playplaylist.png
+share/gnome/help/grip/C/playrandom.png
+share/gnome/help/grip/C/prevtrk.png
+share/gnome/help/grip/C/progtrack.png
+share/gnome/help/grip/C/proxyconfig.png
+share/gnome/help/grip/C/quit.png
+share/gnome/help/grip/C/rewind.png
+share/gnome/help/grip/C/ripconfig.png
+share/gnome/help/grip/C/ripconfig2.png
+share/gnome/help/grip/C/ripconfig3.png
+share/gnome/help/grip/C/ripping.png
+share/gnome/help/grip/C/ripprog.png
+share/gnome/help/grip/C/ripsmall.png
+share/gnome/help/grip/C/smile1.png
+share/gnome/help/grip/C/smile2.png
+share/gnome/help/grip/C/smile3.png
+share/gnome/help/grip/C/smile4.png
+share/gnome/help/grip/C/smile5.png
+share/gnome/help/grip/C/smile6.png
+share/gnome/help/grip/C/smile7.png
+share/gnome/help/grip/C/smile8.png
+share/gnome/help/grip/C/stop.png
+share/gnome/help/grip/C/trkedit.png
+share/gnome/help/grip/C/volume.png
+share/icons/hicolor/16x16/apps/grip.png
+share/icons/hicolor/22x22/apps/grip.png
+share/icons/hicolor/24x24/apps/grip.png
+share/icons/hicolor/32x32/apps/grip.png
+share/icons/hicolor/48x48/apps/grip.png
+share/icons/hicolor/64x64/apps/grip.png
+share/icons/hicolor/72x72/apps/grip.png
+share/icons/hicolor/scalable/apps/grip.svg
+%%NLS%%share/locale/be/LC_MESSAGES/grip.mo
+%%NLS%%share/locale/bg/LC_MESSAGES/grip.mo
+%%NLS%%share/locale/ca/LC_MESSAGES/grip.mo
+%%NLS%%share/locale/da/LC_MESSAGES/grip.mo
+%%NLS%%share/locale/de/LC_MESSAGES/grip.mo
+%%NLS%%share/locale/es/LC_MESSAGES/grip.mo
+%%NLS%%share/locale/fi/LC_MESSAGES/grip.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/grip.mo
+%%NLS%%share/locale/fur/LC_MESSAGES/grip.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/grip.mo
+%%NLS%%share/locale/it/LC_MESSAGES/grip.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/grip.mo
+%%NLS%%share/locale/nb/LC_MESSAGES/grip.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/grip.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/grip.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/grip.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/grip.mo
+%%NLS%%share/locale/sr/LC_MESSAGES/grip.mo
+%%NLS%%share/locale/uk/LC_MESSAGES/grip.mo
+%%NLS%%share/locale/vi/LC_MESSAGES/grip.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/grip.mo
+%%NLS%%share/locale/zh_HK/LC_MESSAGES/grip.mo
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/grip.mo
+share/pixmaps/grip.png
+share/pixmaps/griptray.png



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