diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-cdr/graveman |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-cdr/graveman')
-rw-r--r-- | app-cdr/graveman/Manifest | 9 | ||||
-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 | 72 | ||||
-rw-r--r-- | app-cdr/graveman/metadata.xml | 5 |
7 files changed, 170 insertions, 0 deletions
diff --git a/app-cdr/graveman/Manifest b/app-cdr/graveman/Manifest new file mode 100644 index 000000000000..8ec8767c6f45 --- /dev/null +++ b/app-cdr/graveman/Manifest @@ -0,0 +1,9 @@ +AUX desktop-entry.patch 544 SHA256 6f854c7e9c935321f534982b50d983ba7b73f4c833b20be016e90e167ce925ab SHA512 92c46a60de5676e0fbb4a22c0e382586b0ac165ad9346f6dd4363c9ec6b19225f80755605bdcf25fdbb834d0868c7040703847797f3b835bde0849be5a08204f WHIRLPOOL ccca6424041a64017751eb43ef89684617a2e7d9c4dd61eaa8bb10a853e3769c5aa8cb6cac678f041e2916b1b3cb6299eedcfc44167789f64b7f6c3ef9ee2f3d +AUX joliet-long.patch 796 SHA256 1dc71e18b54da294ae254d7d7461f48c62cc091f1be8611eaa5f9d854645fb97 SHA512 cc3280b8eb0f79c89e70cdee5852119d8c13165483222fc1c750b65bfbeb081de9153387f30113ef90e553f18a5ef9625f4bd5737bd6fba521e3846294d27ade WHIRLPOOL 84120a7a68a61ce0d6676f3d5ebc376605a900807698d8b0edb0134806691bc46b590ef9bb086a1d8d0ccb610d942bc4199efd6c7e27e03c2b7e6560b5a1e851 +AUX rename.patch 505 SHA256 68713f33656d6a21cf4e08a4fb70d52b4d04f52985dea39b42b6789e5d38db3c SHA512 5ae9769ddd1c26a34d155d38ec2dede550e63be6fa7cb7f8a3cdd7b289aadce370c3f015bac91d0379b20f9f5a2265daff6f69b22350df9486b515c956d7abf5 WHIRLPOOL 8edee853db9a383c1e09d7f17dfab31da376b0f48974eeb3925f37dbe5dae17848e9baeffd1a091771db2011d39596463b092a516dd8978f7756139298cef865 +AUX sox.patch 1396 SHA256 e25cd7293dc6a03c2a5e27e3bdafb5d1ad0066891ef131160b236c7498b2a0a4 SHA512 545e3439a81e131a704c53e0c5a016d32a99e5bbda788ef5f3a6b1819cac7f4d5b98688e3738f3e6f1440eaba3a69efc1b2718edd578c9e4499166e4d527bd2d WHIRLPOOL f35d27c9362becab1b2257c8aec908e231121bc215173b6c49ffea71b0160f320d64b81737320fa78c62d494a044b00db87d1228767cf4b6b8257b31ff287940 +DIST graveman-0.3.12-5.tar.gz 962523 SHA256 c55a4b7b2bd0788f98ed39d752a38af522e8a5bce8bea45ce5455e4c3444a696 SHA512 c09ec1b5273411e61ee568260eb921bb10aafa90ccd0f4074228741c1f0470650368f96e595763d77b46c87fa4a038a1d5a3a022f8019afd5f772754f9636ee4 WHIRLPOOL 967e341f2b656ef872ada0f918a43a581ecedc7110481c49c912461ab8c7445837aad51a30c9ff220dfbf0f06f1872a90ea666cd88c6e6d937fcb4408a291b2a +EBUILD graveman-0.3.12_p5-r2.ebuild 1674 SHA256 1ac413fcfee21c88db82a78286397e758af2c90fd525902a8a819bc5cac96e04 SHA512 5907963ae33523bb1eb1460ef9438d5240ba19a9f79f89f6d2c7ccda05e3112badb9881f3354ed43244990773622e91fa9462b31c5133ba75c468adea9c8d7a6 WHIRLPOOL b4d799af7a4e239601c467daa331cf984415b2b11a8b98df58c6b3c44a2837f21e9b92d7d82a40cfc5703638fffbd9d805b42071c71627a7890230c6fe2c321d +MISC ChangeLog 2764 SHA256 7bf75688e3fca156d2b1bd72d44c67e9885175d334509b976c004bc4170f69c6 SHA512 fdfb0cced71a05e39ef98a99478abee2de61e64087aef2940fa3e57a01eeba47ba527d8530894e27119254032fd64de0ee175517751d252361260f05169adce2 WHIRLPOOL 4e6e47718b9c580e24ff62675fc761ab613ce6b5f10ef8c5f29b6b7f00c2d5bba3a5347427e9a2aed8166f98f63c8d10edd67e8ebb59706a17dd1b722a52a454 +MISC ChangeLog-2015 9164 SHA256 b5cb48006a3b70f9d024421ff07f5493710a889e6518848d6b44d031ae18fc0e SHA512 46a2525a14cba8d80aad58718965f93d65f28817b34ad3bff00aeb42c5f3c930c93a582cbeb7418ae33644873f1e0cf085f5255d844a7bcbec30d51249c129b9 WHIRLPOOL af9aeb298508f447f943c6af580688b094933ffd13de21a5bc052b6df11cc015eef380278adc314ef36f78623063a59c0f113818b8466dc15453333a97d548db +MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968 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..0b0f66656aa3 --- /dev/null +++ b/app-cdr/graveman/files/joliet-long.patch @@ -0,0 +1,18 @@ +--- a/src/mkisofs.c.old 2005-05-28 02:37:14.000000000 +0200 ++++ b/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..5970656a3c55 --- /dev/null +++ b/app-cdr/graveman/files/rename.patch @@ -0,0 +1,11 @@ +--- a/src/callbacks.c.old 2006-05-23 17:42:48.642913000 +0200 ++++ b/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..570bc8406177 --- /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/src/sox.c 2005-05-28 02:37:14.000000000 +0200 ++++ b/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..f38d627c9490 --- /dev/null +++ b/app-cdr/graveman/graveman-0.3.12_p5-r2.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +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() { + eapply \ + "${FILESDIR}"/joliet-long.patch \ + "${FILESDIR}"/rename.patch \ + "${FILESDIR}"/desktop-entry.patch + + if use mp3 || use vorbis; then + eapply "${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 + + # Prevent m4_copy error when running aclocal + # m4_copy: won't overwrite defined macro: glib_DEFUN, bug #579918 + rm m4/glib-gettext.m4 || die + + 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..6f49eba8f496 --- /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> +<!-- maintainer-needed --> +</pkgmetadata> |