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
commit415ae5bfc3f9adef796d01a54965061bb6d07cf3 (patch)
tree4b9ac5a876c2482b43da00790945dc0e57d45173 /media-sound/sound-juicer/files
parentnew version (diff)
downloadgentoo-2-415ae5bfc3f9adef796d01a54965061bb6d07cf3.tar.gz
gentoo-2-415ae5bfc3f9adef796d01a54965061bb6d07cf3.tar.bz2
gentoo-2-415ae5bfc3f9adef796d01a54965061bb6d07cf3.zip
new version
Diffstat (limited to 'media-sound/sound-juicer/files')
-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
6 files changed, 1 insertions, 253 deletions
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([