diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-cdr/graveman | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-cdr/graveman')
-rw-r--r-- | app-cdr/graveman/Manifest | 1 | ||||
-rw-r--r-- | app-cdr/graveman/files/desktop-entry.patch | 17 | ||||
-rw-r--r-- | app-cdr/graveman/files/joliet-long.patch | 18 | ||||
-rw-r--r-- | app-cdr/graveman/files/rename.patch | 11 | ||||
-rw-r--r-- | app-cdr/graveman/files/sox.patch | 38 | ||||
-rw-r--r-- | app-cdr/graveman/graveman-0.3.12_p5-r2.ebuild | 70 | ||||
-rw-r--r-- | app-cdr/graveman/metadata.xml | 5 |
7 files changed, 160 insertions, 0 deletions
diff --git a/app-cdr/graveman/Manifest b/app-cdr/graveman/Manifest new file mode 100644 index 000000000000..92cab9bc9ab6 --- /dev/null +++ b/app-cdr/graveman/Manifest @@ -0,0 +1 @@ +DIST graveman-0.3.12-5.tar.gz 962523 SHA256 c55a4b7b2bd0788f98ed39d752a38af522e8a5bce8bea45ce5455e4c3444a696 SHA512 c09ec1b5273411e61ee568260eb921bb10aafa90ccd0f4074228741c1f0470650368f96e595763d77b46c87fa4a038a1d5a3a022f8019afd5f772754f9636ee4 WHIRLPOOL 967e341f2b656ef872ada0f918a43a581ecedc7110481c49c912461ab8c7445837aad51a30c9ff220dfbf0f06f1872a90ea666cd88c6e6d937fcb4408a291b2a diff --git a/app-cdr/graveman/files/desktop-entry.patch b/app-cdr/graveman/files/desktop-entry.patch new file mode 100644 index 000000000000..4a683d2c84ec --- /dev/null +++ b/app-cdr/graveman/files/desktop-entry.patch @@ -0,0 +1,17 @@ +diff -ur graveman-0.3.12-5.orig/desktop/graveman.desktop.in graveman-0.3.12-5/desktop/graveman.desktop.in +--- graveman-0.3.12-5.orig/desktop/graveman.desktop.in 2005-05-24 00:07:08.000000000 +0300 ++++ graveman-0.3.12-5/desktop/graveman.desktop.in 2008-05-10 06:33:32.000000000 +0300 +@@ -1,5 +1,4 @@ + [Desktop Entry] +-Encoding=UTF-8 + Name=Graveman + Name[cs]=Graveman + Name[de]=Graveman +@@ -48,5 +47,5 @@ + Exec=graveman + Terminal=false + Type=Application +-Icon=graveman48.png +-Categories=Application;Utility; ++Icon=graveman48 ++Categories=Utility; diff --git a/app-cdr/graveman/files/joliet-long.patch b/app-cdr/graveman/files/joliet-long.patch new file mode 100644 index 000000000000..31517d6fc782 --- /dev/null +++ b/app-cdr/graveman/files/joliet-long.patch @@ -0,0 +1,18 @@ +--- src/mkisofs.c.old 2005-05-28 02:37:14.000000000 +0200 ++++ src/mkisofs.c 2005-07-11 02:10:44.000000000 +0200 +@@ -91,13 +91,13 @@ + } + } + +- Lextra = g_strdup_printf("%s %s -iso-level %s %s%s %s%s", Lrockridge == TRUE ? "-r" : "", Ljoliet ? "-J" : "", Lisolevel, ++ Lextra = g_strdup_printf("%s %s -iso-level %s %s%s %s%s", Lrockridge == TRUE ? "-r" : "", Ljoliet ? "-J -joliet-long" : "", Lisolevel, + Lmediainfo ? "-C " : "", Lmediainfo ? Lmediainfo : "", Lmediainfo && Ldevchar ? "-M " : "", + Lmediainfo && Ldevchar ? Ldevchar : ""); + g_free(Lmediainfo); + g_free(Lisolevel); + } else { /* data dvd */ +- Lextra = g_strdup("-r -J"); ++ Lextra = g_strdup("-r -J -joliet-long"); + } + + /* charsets a utiliser pour la creation de l'image iso */ diff --git a/app-cdr/graveman/files/rename.patch b/app-cdr/graveman/files/rename.patch new file mode 100644 index 000000000000..6be526d0c7df --- /dev/null +++ b/app-cdr/graveman/files/rename.patch @@ -0,0 +1,11 @@ +--- src/callbacks.c.old 2006-05-23 17:42:48.642913000 +0200 ++++ src/callbacks.c 2006-05-23 17:42:52.553201500 +0200 +@@ -268,7 +268,7 @@ + + gtk_tree_model_get(Ltreemodel, &Liter, 2, &Lname, -1); + +- Ltitle = g_strdup_printf(Ltitle, _("Enter the new name for %s"), Lname); ++ Ltitle = g_strdup_printf(_("Enter the new name for %s"), Lname); + + Lboite = gtk_dialog_new_with_buttons(Ltitle, NULL, GTK_DIALOG_MODAL, + GTK_STOCK_OK,GTK_RESPONSE_OK, GTK_STOCK_CANCEL,GTK_RESPONSE_CANCEL, NULL); diff --git a/app-cdr/graveman/files/sox.patch b/app-cdr/graveman/files/sox.patch new file mode 100644 index 000000000000..f283337b02f3 --- /dev/null +++ b/app-cdr/graveman/files/sox.patch @@ -0,0 +1,38 @@ +diff -Naur /var/tmp/portage/graveman-0.3.12_p5/work/graveman-0.3.12-5/src/sox.c ./src/sox.c +--- a/graveman-0.3.12-5/src/sox.c 2005-05-28 02:37:14.000000000 +0200 ++++ b/graveman-0.3.12-5/src/sox.c 2007-01-27 18:22:11.000000000 +0100 +@@ -37,7 +37,7 @@ + gboolean check_sox() + { + gchar *Lsox = conf_get_string("sox"); +- gchar *Lcommandline, *Lerr = NULL; ++ gchar *Lcommandline, *Lerr = NULL, *Lstdout = NULL; + gboolean Lstatus; + gint Lexit = 0; + +@@ -47,12 +47,22 @@ + if (!Lsox || !*Lsox) return FALSE; + + Lcommandline = g_strdup_printf("%s -help", conf_get_string("sox")); +- Lstatus = g_spawn_command_line_sync(Lcommandline, NULL, &Lerr, &Lexit, NULL); ++ Lstatus = g_spawn_command_line_sync(Lcommandline, &Lstdout, &Lerr, &Lexit, NULL); + g_free(Lcommandline); + +- GsupportMp3 = (Lstatus == TRUE && Lerr && ((strstr(Lerr, SOX_MP3)))); +- GsupportOgg = (Lstatus == TRUE && Lerr && ((strstr(Lerr, SOX_OGG)))); ++ /* sox 12.17 outputs -help to stderr */ ++ if (Lerr && strstr(Lerr, "12.17")) { ++ GsupportMp3 = (Lstatus == TRUE && Lerr && ((strstr(Lerr, SOX_MP3)))); ++ GsupportOgg = (Lstatus == TRUE && Lerr && ((strstr(Lerr, SOX_OGG)))); ++ } ++ ++ /* sox 12.18 outputs -help to stdout */ ++ else { ++ GsupportMp3 = (Lstatus == TRUE && Lstdout && ((strstr(Lstdout, SOX_MP3)))); ++ GsupportOgg = (Lstatus == TRUE && Lstdout && ((strstr(Lstdout, SOX_OGG)))); ++ } + ++ g_free(Lstdout); + g_free(Lerr); + + return Lstatus; diff --git a/app-cdr/graveman/graveman-0.3.12_p5-r2.ebuild b/app-cdr/graveman/graveman-0.3.12_p5-r2.ebuild new file mode 100644 index 000000000000..374136100df0 --- /dev/null +++ b/app-cdr/graveman/graveman-0.3.12_p5-r2.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GCONF_DEBUG="no" + +inherit autotools eutils gnome2 + +DESCRIPTION="Graphical frontend for cdrecord, mkisofs, readcd and sox using GTK+2" +HOMEPAGE="http://graveman.tuxfamily.org/" +SRC_URI="http://graveman.tuxfamily.org/sources/${PN}-${PV/_p/-}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 sparc x86" +IUSE="debug dvdr flac mp3 nls vorbis" + +RDEPEND=" + app-cdr/cdrdao + >=dev-libs/glib-2.4:2 + >=gnome-base/libglade-2.4:2.0 + media-libs/libmng + virtual/cdrtools + x11-libs/gdk-pixbuf:2 + >=x11-libs/gtk+-2.4:2 + dvdr? ( app-cdr/dvd+rw-tools ) + flac? ( media-libs/flac ) + mp3? ( media-libs/libid3tag + media-libs/libmad + media-sound/sox ) + nls? ( virtual/libintl ) + vorbis? ( + media-libs/libogg + media-libs/libvorbis + media-sound/sox ) +" +DEPEND="${RDEPEND} + dev-util/intltool + virtual/pkgconfig + nls? ( sys-devel/gettext )" + +S=${WORKDIR}/${P/_p/-} + +src_prepare() { + epatch \ + "${FILESDIR}"/joliet-long.patch \ + "${FILESDIR}"/rename.patch \ + "${FILESDIR}"/desktop-entry.patch + + if use mp3 || use vorbis; then + epatch "${FILESDIR}"/sox.patch + fi + + # Fix tests + echo glade/dialog_media.glade >> po/POTFILES.in + echo glade/window_welcome.glade >> po/POTFILES.in + echo src/flac.c >> po/POTFILES.in + + eautoreconf # Needed for build only the needed translations + gnome2_src_prepare +} + +src_configure() { + gnome2_src_configure \ + $(use_enable debug) \ + $(use_enable flac) \ + $(use_enable mp3) \ + $(use_enable vorbis ogg) +} diff --git a/app-cdr/graveman/metadata.xml b/app-cdr/graveman/metadata.xml new file mode 100644 index 000000000000..3ca6ae763b34 --- /dev/null +++ b/app-cdr/graveman/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>media-optical</herd> +</pkgmetadata> |