summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarinus Schraal <foser@gentoo.org>2003-05-28 12:00:51 +0000
committerMarinus Schraal <foser@gentoo.org>2003-05-28 12:00:51 +0000
commit79cf1c7e308e2c10b514d19104e1c7927b1b7d8f (patch)
tree6fe5e49e01205993c7f6106f6a16f200eeb8967c /media-sound/sound-juicer
parentnew version (diff)
downloadhistorical-79cf1c7e308e2c10b514d19104e1c7927b1b7d8f.tar.gz
historical-79cf1c7e308e2c10b514d19104e1c7927b1b7d8f.tar.bz2
historical-79cf1c7e308e2c10b514d19104e1c7927b1b7d8f.zip
new version
Diffstat (limited to 'media-sound/sound-juicer')
-rw-r--r--media-sound/sound-juicer/Manifest10
-rw-r--r--media-sound/sound-juicer/files/digest-sound-juicer-0.1-r11
-rw-r--r--media-sound/sound-juicer/files/digest-sound-juicer-0.31
-rw-r--r--media-sound/sound-juicer/files/sound-juicer-0.1-avoid_illegal_filename.patch34
-rw-r--r--media-sound/sound-juicer/files/sound-juicer-0.1-nocrash_on_missing_plugins.patch83
-rw-r--r--media-sound/sound-juicer/files/sound-juicer-0.1-paranoia-r1.patch121
-rw-r--r--media-sound/sound-juicer/files/sound-juicer-0.1-warn_plugins_missing.patch14
-rw-r--r--media-sound/sound-juicer/sound-juicer-0.3.ebuild (renamed from media-sound/sound-juicer/sound-juicer-0.1-r1.ebuild)23
8 files changed, 7 insertions, 280 deletions
diff --git a/media-sound/sound-juicer/Manifest b/media-sound/sound-juicer/Manifest
index bb7a7db017fb..347f3a6e863f 100644
--- a/media-sound/sound-juicer/Manifest
+++ b/media-sound/sound-juicer/Manifest
@@ -1,11 +1,5 @@
MD5 11ab94cba4aae7b60b0baefb164302c1 sound-juicer-0.2.1.ebuild 795
-MD5 96523530748acee859880ecc1c05f7f2 sound-juicer-0.1-r1.ebuild 1227
-MD5 667fa2eaa537f811eaaa03ee397ba070 ChangeLog 791
-MD5 11ab94cba4aae7b60b0baefb164302c1 sound-juicer-0.3.ebuild 795
+MD5 e59ab81ed918e5d95b14e625ffc75a74 ChangeLog 956
+MD5 40f4c0f18cd08fc3caa79e63b4c1f1b4 sound-juicer-0.3.ebuild 837
MD5 4b4b5eaf1d207bd47e80205ae3c987b6 files/digest-sound-juicer-0.2.1 70
MD5 efe7af84cebeb4a031076644ffde1240 files/digest-sound-juicer-0.3 68
-MD5 75969594c2832ac0b3113c8d6636594c files/digest-sound-juicer-0.1-r1 68
-MD5 556cf0e598558a2cfbe7cb4d77b94aa9 files/sound-juicer-0.1-nocrash_on_missing_plugins.patch 2793
-MD5 2148ce592267df4d3b7b660e5b946fdb files/sound-juicer-0.1-warn_plugins_missing.patch 971
-MD5 634d3f6a1a016b8593b34eef7745eb05 files/sound-juicer-0.1-paranoia-r1.patch 5068
-MD5 42399e09dddbd4172c9f328242c1e662 files/sound-juicer-0.1-avoid_illegal_filename.patch 1227
diff --git a/media-sound/sound-juicer/files/digest-sound-juicer-0.1-r1 b/media-sound/sound-juicer/files/digest-sound-juicer-0.1-r1
deleted file mode 100644
index 8d622d04f29e..000000000000
--- a/media-sound/sound-juicer/files/digest-sound-juicer-0.1-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 b97e7ab6fc08412d53c98d6505969681 sound-juicer-0.1.tar.gz 163744
diff --git a/media-sound/sound-juicer/files/digest-sound-juicer-0.3 b/media-sound/sound-juicer/files/digest-sound-juicer-0.3
new file mode 100644
index 000000000000..6a9ae4d15f6b
--- /dev/null
+++ b/media-sound/sound-juicer/files/digest-sound-juicer-0.3
@@ -0,0 +1 @@
+MD5 2026ddcfa9f0a1a6cda8b9a1a51120b5 sound-juicer-0.3.tar.gz 197083
diff --git a/media-sound/sound-juicer/files/sound-juicer-0.1-avoid_illegal_filename.patch b/media-sound/sound-juicer/files/sound-juicer-0.1-avoid_illegal_filename.patch
deleted file mode 100644
index 615e81bb8c1b..000000000000
--- a/media-sound/sound-juicer/files/sound-juicer-0.1-avoid_illegal_filename.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-Only in sound-juicer-0.1.patched/: .tm_project.cache
-diff -ur sound-juicer-0.1/src/sj-extracting.c sound-juicer-0.1.patched/src/sj-extracting.c
---- sound-juicer-0.1/src/sj-extracting.c 2003-04-08 13:06:35.000000000 +0200
-+++ sound-juicer-0.1.patched/src/sj-extracting.c 2003-04-23 00:27:18.000000000 +0200
-@@ -42,7 +42,7 @@
- static void pop_and_rip (void)
- {
- TrackDetails *track;
-- char *file_path, *directory;
-+ char *file_path, *directory, *file_name;
- GError *error = NULL;
- int left;
-
-@@ -60,7 +60,11 @@
- track_duration = track->duration;
-
- gtk_label_set_text (GTK_LABEL (progress_label), g_strdup_printf (_("Currently extracting '%s'"), track->title));
-- file_path = g_strdup_printf("%s/%s/%s.ogg", base_path, track->album->title, track->title); /* TODO: CRAP */
-+
-+ /* whitespace illegal path chars */
-+ file_name = g_strdelimit ( (gchar *)track->title, "/", ' ');
-+
-+ file_path = g_strdup_printf("%s/%s/%s.ogg", base_path, track->album->title, file_name ); /* TODO: CRAP */
- directory = g_path_get_dirname (file_path);
- if (!g_file_test (directory, G_FILE_TEST_IS_DIR)) {
- GError *error = NULL;
-@@ -80,6 +84,7 @@
- return;
- }
- g_free (file_path);
-+ g_free (file_name);
- return;
- }
-
diff --git a/media-sound/sound-juicer/files/sound-juicer-0.1-nocrash_on_missing_plugins.patch b/media-sound/sound-juicer/files/sound-juicer-0.1-nocrash_on_missing_plugins.patch
deleted file mode 100644
index 8986c949834d..000000000000
--- a/media-sound/sound-juicer/files/sound-juicer-0.1-nocrash_on_missing_plugins.patch
+++ /dev/null
@@ -1,83 +0,0 @@
-Only in sound-juicer-0.1.patched/: .tm_project.cache
-diff -ur sound-juicer-0.1/src/sj-extractor.c sound-juicer-0.1.patched/src/sj-extractor.c
---- sound-juicer-0.1/src/sj-extractor.c 2003-04-11 10:51:36.000000000 +0200
-+++ sound-juicer-0.1.patched/src/sj-extractor.c 2003-04-22 23:50:55.000000000 +0200
-@@ -136,10 +136,11 @@
- GError *error = NULL;
- extractor->priv = g_new0 (SjExtractorPrivate, 1);
- build_pipeline(extractor, &error);
-- if (error) {
-+
-+/* if (error) {
- g_error (_("Could not create pipeline: %s"), error->message);
- g_error_free (error);
-- }
-+ } */
- }
-
- #if 0
-@@ -182,8 +183,6 @@
-
- priv = extractor->priv;
-
-- priv->pipeline = gst_pipeline_new ("pipeline");
--
- /* Read from CD */
- priv->cdparanoia = gst_element_factory_make ("cdparanoia", "cdparanoia");
- if (priv->cdparanoia == NULL) {
-@@ -220,6 +219,8 @@
- return;
- }
-
-+ priv->pipeline = gst_pipeline_new ("pipeline");
-+
- /* Add the elements to the pipeline */
- gst_bin_add (GST_BIN (priv->pipeline), priv->cdparanoia);
- gst_bin_add (GST_BIN (priv->pipeline), priv->vorbisenc);
-@@ -359,3 +360,13 @@
- g_return_val_if_fail (SJ_IS_EXTRACTOR (extractor), NULL);
- return extractor->priv->track_details;
- }
-+
-+gboolean sj_extractor_pipeline_constructed (SjExtractor *extractor)
-+{
-+ g_return_val_if_fail (extractor != NULL, FALSE);
-+ g_return_val_if_fail (SJ_IS_EXTRACTOR (extractor), FALSE);
-+
-+ if (extractor->priv->pipeline == NULL)
-+ return FALSE;
-+ return TRUE;
-+}
-diff -ur sound-juicer-0.1/src/sj-extractor.h sound-juicer-0.1.patched/src/sj-extractor.h
---- sound-juicer-0.1/src/sj-extractor.h 2003-04-07 23:01:02.000000000 +0200
-+++ sound-juicer-0.1.patched/src/sj-extractor.h 2003-04-22 23:38:59.000000000 +0200
-@@ -69,6 +69,8 @@
-
- const TrackDetails *sj_extractor_get_track_details (SjExtractor *extractor);
-
-+gboolean sj_extractor_pipeline_constructed (SjExtractor *extractor);
-+
- G_END_DECLS
-
- #endif /* SJ_EXTRACTOR_H */
-diff -ur sound-juicer-0.1/src/sj-main.c sound-juicer-0.1.patched/src/sj-main.c
---- sound-juicer-0.1/src/sj-main.c 2003-04-11 10:43:41.000000000 +0200
-+++ sound-juicer-0.1.patched/src/sj-main.c 2003-04-22 23:54:56.000000000 +0200
-@@ -417,6 +417,17 @@
-
- extractor = SJ_EXTRACTOR (sj_extractor_new());
-
-+ if ( !sj_extractor_pipeline_constructed( extractor))
-+ {
-+ GtkWidget *dialog;
-+
-+ dialog = gtk_message_dialog_new ( NULL, GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR,
-+ GTK_BUTTONS_OK, "Could not create pipeline, exiting.\n\nSome required gstreamer plugins are missing,\nplease read the documentation for more information." );
-+
-+ gtk_dialog_run( GTK_DIALOG( dialog));
-+ exit (1);
-+ }
-+
- gconf_client = gconf_client_get_default ();
- if (gconf_client == NULL) {
- g_print (_("Could not create GConf client.\n"));
diff --git a/media-sound/sound-juicer/files/sound-juicer-0.1-paranoia-r1.patch b/media-sound/sound-juicer/files/sound-juicer-0.1-paranoia-r1.patch
deleted file mode 100644
index 756f6e9fa51c..000000000000
--- a/media-sound/sound-juicer/files/sound-juicer-0.1-paranoia-r1.patch
+++ /dev/null
@@ -1,121 +0,0 @@
-Only in sound-juicer-0.1: .tm_project.cache
-Only in sound-juicer-0.1: AC_PACKAGE_NAME.prj
-Only in sound-juicer-0.1: AC_PACKAGE_NAME.prj.bak
-Only in sound-juicer-0.1: AC_PACKAGE_NAME.pws
-Only in sound-juicer-0.1.unpatched/: configure
-diff -ur sound-juicer-0.1.unpatched/data/sound-juicer.schemas.in sound-juicer-0.1/data/sound-juicer.schemas.in
---- sound-juicer-0.1.unpatched/data/sound-juicer.schemas.in 2003-04-10 19:30:59.000000000 +0200
-+++ sound-juicer-0.1/data/sound-juicer.schemas.in 2003-04-22 19:36:47.000000000 +0200
-@@ -38,5 +38,18 @@
- </locale>
- </schema>
-
-+ <schema>
-+ <key>/schemas/apps/sound-juicer/paranoia</key>
-+ <applyto>/apps/sound-juicer/paranoia</applyto>
-+ <type>int</type>
-+ <owner>sound-juicer</owner>
-+ <locale name="C">
-+ <short>The paranoia mode to use</short>
-+ <long>
-+ Paranoia mode, 3 settings. 0 (no paranoia), 4 (cdda2wav-style overlap checking) and 255 (full paranoia)
-+ </long>
-+ </locale>
-+ </schema>
-+
- </schemalist>
- </gconfschemafile>
-diff -ur sound-juicer-0.1.unpatched/src/sj-extractor.c sound-juicer-0.1/src/sj-extractor.c
---- sound-juicer-0.1.unpatched/src/sj-extractor.c 2003-04-11 10:51:36.000000000 +0200
-+++ sound-juicer-0.1/src/sj-extractor.c 2003-04-22 19:45:01.000000000 +0200
-@@ -192,7 +192,7 @@
- _("Could not create cdparanoia element"));
- return;
- }
-- g_object_set (G_OBJECT (priv->cdparanoia), "paranoia_mode", 0, NULL);
-+
- /* Get the track format for seeking later */
- priv->track_format = gst_format_get_by_nick ("track");
- g_assert (priv->track_format != 0); /* TODO: GError */
-@@ -275,6 +275,15 @@
- g_object_set (G_OBJECT (extractor->priv->cdparanoia), "location", device, NULL);
- }
-
-+void sj_extractor_set_paranoia (SjExtractor *extractor, const gint paranoia_mode)
-+{
-+ g_return_if_fail (extractor != NULL);
-+ g_return_if_fail (SJ_IS_EXTRACTOR (extractor));
-+ g_return_if_fail (paranoia_mode != NULL);
-+
-+ g_object_set (G_OBJECT (extractor->priv->cdparanoia), "paranoia-mode", paranoia_mode, NULL);
-+}
-+
- void sj_extractor_extract_track (SjExtractor *extractor, const TrackDetails *track, const char* path, GError **error)
- {
- GstEvent *event;
-diff -ur sound-juicer-0.1.unpatched/src/sj-extractor.h sound-juicer-0.1/src/sj-extractor.h
---- sound-juicer-0.1.unpatched/src/sj-extractor.h 2003-04-07 23:01:02.000000000 +0200
-+++ sound-juicer-0.1/src/sj-extractor.h 2003-04-22 18:46:22.000000000 +0200
-@@ -63,6 +63,8 @@
-
- void sj_extractor_set_device (SjExtractor *extractor, const char* device);
-
-+void sj_extractor_set_paranoia (SjExtractor *extractor, const gint paranoia_mode);
-+
- void sj_extractor_extract_track (SjExtractor *extractor, const TrackDetails *track, const char* path, GError **error);
-
- void sj_extractor_cancel_extract (SjExtractor *extractor);
-diff -ur sound-juicer-0.1.unpatched/src/sj-main.c sound-juicer-0.1/src/sj-main.c
---- sound-juicer-0.1.unpatched/src/sj-main.c 2003-04-11 10:43:41.000000000 +0200
-+++ sound-juicer-0.1/src/sj-main.c 2003-04-22 19:40:35.000000000 +0200
-@@ -54,10 +54,12 @@
- static const char *device;
- gboolean extracting = FALSE;
-
-+#define DEFAULT_PARANOIA 4
- #define GCONF_ROOT "/apps/sound-juicer"
- #define GCONF_DEVICE GCONF_ROOT "/device"
- #define GCONF_BASEPATH GCONF_ROOT "/base_path"
- #define GCONF_FORMAT GCONF_ROOT "/format"
-+#define GCONF_PARANOIA GCONF_ROOT "/paranoia"
-
- /**
- * Clicked Quit
-@@ -277,6 +279,20 @@
- }
-
- /**
-+ * The GConf key for the paranoia mode has changed
-+ */
-+void paranoia_changed_cb (GConfClient *client, guint cnxn_id, GConfEntry *entry, gpointer user_data)
-+{
-+ g_assert (strcmp (entry->key, GCONF_PARANOIA) == 0);
-+ if (entry->value == NULL) {
-+ sj_extractor_set_paranoia (extractor, DEFAULT_PARANOIA);
-+ } else {
-+ sj_extractor_set_paranoia (extractor, gconf_value_get_int (entry->value));
-+ }
-+ /* TODO: sanity check the paranoia somewhat (0,4,255 are valid) */
-+}
-+
-+/**
- * Utility function to reread a CD
- */
- void reread_cd (void)
-@@ -427,6 +443,7 @@
- gconf_client_notify_add (gconf_client, GCONF_DEVICE, device_changed_cb, NULL, NULL, NULL);
- gconf_client_notify_add (gconf_client, GCONF_BASEPATH, basepath_changed_cb, NULL, NULL, NULL);
- gconf_client_notify_add (gconf_client, GCONF_FORMAT, format_changed_cb, NULL, NULL, NULL);
-+ gconf_client_notify_add (gconf_client, GCONF_PARANOIA, paranoia_changed_cb, NULL, NULL, NULL);
-
- glade_init ();
- glade = glade_xml_new (DATADIR"/sound-juicer.glade", NULL, NULL);
-@@ -499,6 +516,8 @@
- basepath_changed_cb (gconf_client, -1, gconf_client_get_entry (gconf_client, GCONF_BASEPATH, NULL, TRUE, NULL), NULL);
- device_changed_cb (gconf_client, -1, gconf_client_get_entry (gconf_client, GCONF_DEVICE, NULL, TRUE, NULL), NULL);
- format_changed_cb (gconf_client, -1, gconf_client_get_entry (gconf_client, GCONF_FORMAT, NULL, TRUE, NULL), NULL);
-+ paranoia_changed_cb (gconf_client, -1, gconf_client_get_entry (gconf_client, GCONF_PARANOIA, NULL, TRUE, NULL), NULL);
-+
-
- gtk_widget_show_all (main_window);
- gtk_main ();
diff --git a/media-sound/sound-juicer/files/sound-juicer-0.1-warn_plugins_missing.patch b/media-sound/sound-juicer/files/sound-juicer-0.1-warn_plugins_missing.patch
deleted file mode 100644
index 7aefbe32660e..000000000000
--- a/media-sound/sound-juicer/files/sound-juicer-0.1-warn_plugins_missing.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -ur sound-juicer-0.1/configure.in sound-juicer-0.1.patched/configure.in
---- sound-juicer-0.1/configure.in 2003-04-10 18:54:32.000000000 +0200
-+++ sound-juicer-0.1.patched/configure.in 2003-04-22 00:28:23.000000000 +0200
-@@ -55,8 +55,8 @@
- fi
- AM_GCONF_SOURCE_2
-
--AM_GST_ELEMENT_CHECK(cdparanoia,,AC_MSG_ERROR([The 'cdparanoa' element was not found. This will cause Sound Juicer to fail at runtime.]))
--AM_GST_ELEMENT_CHECK(vorbisenc,,AC_MSG_ERROR([The 'vorbisenc' element was not found. This will cause Sound Juicer to fail at runtime.]))
-+AM_GST_ELEMENT_CHECK(cdparanoia,,AC_MSG_WARN([The 'cdparanoia' element was not found. This will cause Sound Juicer to fail at runtime.]))
-+AM_GST_ELEMENT_CHECK(vorbisenc,,AC_MSG_WARN([The 'vorbisenc' element was not found. This will cause Sound Juicer to fail at runtime.]))
- AM_GST_ELEMENT_CHECK(filesink,,AC_MSG_WARN([The 'filesink' element was not found. This will cause Sound Juicer to fail at runtime.]))
-
- AC_OUTPUT([
diff --git a/media-sound/sound-juicer/sound-juicer-0.1-r1.ebuild b/media-sound/sound-juicer/sound-juicer-0.3.ebuild
index 94dca3d9fcbd..b1be4fa6ebe7 100644
--- a/media-sound/sound-juicer/sound-juicer-0.1-r1.ebuild
+++ b/media-sound/sound-juicer/sound-juicer-0.3.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/sound-juicer/sound-juicer-0.1-r1.ebuild,v 1.1 2003/04/23 11:44:38 foser Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/sound-juicer/sound-juicer-0.3.ebuild,v 1.1 2003/05/28 12:00:42 foser Exp $
-inherit gnome2 eutils
+inherit gnome2
DESCRIPTION="CD ripper for GNOME 2"
HOMEPAGE="http://www.burtonini.com/"
@@ -26,22 +26,7 @@ DEPEND="${RDEPEND}
>=dev-util/intltool-0.20
dev-util/pkgconfig"
-src_unpack() {
- unpack ${A}
-
- # i'm a paranoid android <foser@gentoo.org>
- epatch ${FILESDIR}/${P}-paranoia-r1.patch
- # do not break configure when not finding certain plugins
- epatch ${FILESDIR}/${P}-warn_plugins_missing.patch
- # nice handling of missing plugins
- epatch ${FILESDIR}/${P}-nocrash_on_missing_plugins.patch
- # avoid / in file name
- epatch ${FILESDIR}/${P}-avoid_illegal_filename.patch
-
- cd ${S}
- autoconf || die
-}
-
DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README TODO"
-SCROLLKEEPER_UPDATE="0"
+# needed to get around some sandboxing checks
+export GST_INSPECT=/bin/true