summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2011-07-19 13:14:46 +0000
committerPacho Ramos <pacho@gentoo.org>2011-07-19 13:14:46 +0000
commit74e58b6561b2a94810c1230c5dcd111c40e25004 (patch)
tree31a93a0dc32aefc6d7b3a659140ecc8a130a523a /app-cdr
parentMask 'vcd' and 'dvd' USE flags on different arches not having needed dependen... (diff)
downloadhistorical-74e58b6561b2a94810c1230c5dcd111c40e25004.tar.gz
historical-74e58b6561b2a94810c1230c5dcd111c40e25004.tar.bz2
historical-74e58b6561b2a94810c1230c5dcd111c40e25004.zip
Apply upstream patches silencing some warnings, fixing a bug causing unproper sizes to be displayed in some circumstances, stop showing useless dialog warning about medium. Also handles better dvd and vcd runtime dependencies (bug #372007 by David King) and no longer installs .la files (bug #362957 by Stéphane Pagnon).
Package-Manager: portage-2.1.10.6/cvs/Linux x86_64
Diffstat (limited to 'app-cdr')
-rw-r--r--app-cdr/brasero/ChangeLog15
-rw-r--r--app-cdr/brasero/Manifest15
-rw-r--r--app-cdr/brasero/brasero-2.32.1-r1.ebuild119
-rw-r--r--app-cdr/brasero/files/brasero-2.32.1-fix-size.patch56
-rw-r--r--app-cdr/brasero/files/brasero-2.32.1-useless-dialog.patch68
-rw-r--r--app-cdr/brasero/files/brasero-2.32.1-warning-silenced.patch21
-rw-r--r--app-cdr/brasero/files/brasero-2.32.1-warning-silenced2.patch20
-rw-r--r--app-cdr/brasero/metadata.xml2
8 files changed, 308 insertions, 8 deletions
diff --git a/app-cdr/brasero/ChangeLog b/app-cdr/brasero/ChangeLog
index 063ba2bed4a2..4957a5c30766 100644
--- a/app-cdr/brasero/ChangeLog
+++ b/app-cdr/brasero/ChangeLog
@@ -1,6 +1,19 @@
# ChangeLog for app-cdr/brasero
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/brasero/ChangeLog,v 1.129 2011/04/09 16:04:49 eva Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/brasero/ChangeLog,v 1.130 2011/07/19 13:14:46 pacho Exp $
+
+*brasero-2.32.1-r1 (19 Jul 2011)
+
+ 19 Jul 2011; Pacho Ramos <pacho@gentoo.org> +brasero-2.32.1-r1.ebuild,
+ +files/brasero-2.32.1-fix-size.patch,
+ +files/brasero-2.32.1-useless-dialog.patch,
+ +files/brasero-2.32.1-warning-silenced.patch,
+ +files/brasero-2.32.1-warning-silenced2.patch:
+ Apply upstream patches silencing some warnings, fixing a bug causing unproper
+ sizes to be displayed in some circumstances, stop showing useless dialog
+ warning about medium. Also handles better dvd and vcd runtime dependencies
+ (bug #372007 by David King) and no longer installs .la files (bug #362957 by
+ Stéphane Pagnon).
09 Apr 2011; Gilles Dartiguelongue <eva@gentoo.org> -brasero-2.30.2.ebuild,
-brasero-2.30.3.ebuild:
diff --git a/app-cdr/brasero/Manifest b/app-cdr/brasero/Manifest
index 699721210004..f10686cf3070 100644
--- a/app-cdr/brasero/Manifest
+++ b/app-cdr/brasero/Manifest
@@ -2,14 +2,19 @@
Hash: SHA1
AUX brasero-2.32.0-build-plugins-against-local-library.patch 15544 RMD160 d24919b6f6b5e6abb5c22fc37c1d84a1f8484e49 SHA1 029eda8eedbd2be612de413f570fb8e2c63fabb7 SHA256 895d4ff2c349ddff6a8fcbc9d366808a3fed2c3aa54bd4bb7b717505801c3176
+AUX brasero-2.32.1-fix-size.patch 2244 RMD160 1a476af590d92c41f1d16aaa25b96f258c12e549 SHA1 9d9a2bc18e34d41d1c07090dd4e17bc5efd40fc5 SHA256 6cbedaa3e1ceb1140961afe925792b813a0ca5f894256c9330f756268c43d566
+AUX brasero-2.32.1-useless-dialog.patch 2498 RMD160 f5ffa8cf8056201654f9be090b9a12a9fbd533a3 SHA1 fe872decc38c16557ec8fd1d024d59f9f0df3159 SHA256 0be1c75fea2e0d9b72130c26687338f33061a96202c99fcf85c06e2749560912
+AUX brasero-2.32.1-warning-silenced.patch 690 RMD160 9081cdc99c30f3cf82ea02d2eef843697f024283 SHA1 41c92574d5320560ff209c3a5cd73cab12ad2a30 SHA256 899ca8171a751332957ec21c3028ebc4a4d303bda30699d57cf0f6607bd2ae58
+AUX brasero-2.32.1-warning-silenced2.patch 616 RMD160 6f69ff16b87b1432dae55849a40efc4b23c62181 SHA1 f4f8c233ade48d7c166b877d81573ac4f56462a2 SHA256 cb435ec18ba02e445ebbf55c5cee16ce078d0e6e762e5821222e911a13ce5f5d
DIST brasero-2.32.1.tar.bz2 4530933 RMD160 0acfcc53077cbbdaa5e0e593f290c41825f72838 SHA1 56141108561f2b8d45998662b86cf6e20f0ff4f2 SHA256 7b1056b6f19398912d51e3e583bc1b4d2a75ce2a8e15a96e1514fe6edb79df3b
+EBUILD brasero-2.32.1-r1.ebuild 3528 RMD160 18ffc8155ee93efbfe766d330e000a54d8180939 SHA1 59cc9066a2695ca958b736ce417c01b850bb3345 SHA256 a63479be71bfc33ca0fb39261f541e40cb440aa0c32f0af126bc77ffa9f28f59
EBUILD brasero-2.32.1.ebuild 3133 RMD160 6827f0836838fc34ec949ca09f9bf1dfc2a90b7d SHA1 50922bccf99e76e837f252f410660af265d4b871 SHA256 2f1811e303a3c6dbffa24d2b77c5dd91fd2de796efa98e5a271a0a9992103de3
-MISC ChangeLog 19872 RMD160 b6cd044b97a856ebd8eb514e58e06fc1251db9a0 SHA1 d3b7e0e60c49a0bc8ed862d83567087d157e1ff9 SHA256 9d06c9e5bee823171743e746ef0a4810c0586c4c0b45b355b4811069ee523630
-MISC metadata.xml 641 RMD160 2c3e31524c7596ef80339e53eec43e69fdb4cf99 SHA1 061662ed16b16fd04de09d3171b94072697fd123 SHA256 d60d99dd695b64d987f7c311e6d254506214393dabcbd184fc92846e4266f92b
+MISC ChangeLog 20497 RMD160 05b42f502af474f2f51125d8fc79971424b6a1fc SHA1 33c31193945a15a4fbad52f01ccb340abb2cea51 SHA256 02c8b6b4e101d5a683c955b8066da133b1a85cc3723b3a3f8724465369c089fc
+MISC metadata.xml 556 RMD160 d56c60c90e372b42082fb29ebc27c848c3797b4e SHA1 5c235714b113475a72165d00c81851f3e51823f6 SHA256 a51028424ee10f80ab9b13171dca9e317d109a37883b609cf337362d43d383da
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEUEARECAAYFAk2gg6YACgkQ1fmVwcYIWAZwRACffELLrauJgCazF78xWI1FDUWC
-ET0Al1CtKAydaOfFMCVFrl88RBC80To=
-=kMCN
+iEYEARECAAYFAk4lg0wACgkQCaWpQKGI+9QMUQCdH/V2MSgN1lz8tFJpARl71y9B
+FJUAniZe1VK95Dw6SDxrHiu6NWmOVARA
+=s2Uh
-----END PGP SIGNATURE-----
diff --git a/app-cdr/brasero/brasero-2.32.1-r1.ebuild b/app-cdr/brasero/brasero-2.32.1-r1.ebuild
new file mode 100644
index 000000000000..883dbaa7431c
--- /dev/null
+++ b/app-cdr/brasero/brasero-2.32.1-r1.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/brasero/brasero-2.32.1-r1.ebuild,v 1.1 2011/07/19 13:14:46 pacho Exp $
+
+EAPI="4"
+GNOME2_LA_PUNT="yes"
+GNOME_TARBALL_SUFFIX="bz2"
+GCONF_DEBUG="no"
+
+inherit autotools eutils gnome2 multilib
+
+DESCRIPTION="Brasero (aka Bonfire) is yet another application to burn CD/DVD for the gnome desktop."
+HOMEPAGE="http://projects.gnome.org/brasero/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="+cdr +css doc dvd +introspection +libburn nautilus playlist test vcd"
+
+COMMON_DEPEND="
+ >=dev-libs/glib-2.25.10:2
+ media-libs/libcanberra[gtk]
+ >=x11-libs/gtk+-2.21.9:2[introspection?]
+ >=gnome-base/gconf-2.31.1:2
+ >=media-libs/gstreamer-0.10.15:0.10
+ >=media-libs/gst-plugins-base-0.10:0.10
+ >=dev-libs/libxml2-2.6:2
+ >=dev-libs/libunique-1:1
+ x11-libs/libSM
+ introspection? ( >=dev-libs/gobject-introspection-0.6.3 )
+ libburn? (
+ >=dev-libs/libburn-0.4
+ >=dev-libs/libisofs-0.6.4 )
+ nautilus? ( >=gnome-base/nautilus-2.31.3 )
+ playlist? ( >=dev-libs/totem-pl-parser-2.29.1 )"
+RDEPEND="${COMMON_DEPEND}
+ app-cdr/cdrdao
+ app-cdr/dvd+rw-tools
+ >=media-plugins/gst-plugins-meta-0.10-r6:0.10[dvd?,vcd?]
+ x11-themes/hicolor-icon-theme
+ css? ( media-libs/libdvdcss:1.2 )
+ cdr? ( virtual/cdrtools )
+ dvd? ( media-video/dvdauthor )
+ vcd? ( media-video/vcdimager )
+ !libburn? ( virtual/cdrtools )"
+DEPEND="${COMMON_DEPEND}
+ app-text/gnome-doc-utils
+ dev-util/pkgconfig
+ sys-devel/gettext
+ dev-util/intltool
+ gnome-base/gnome-common:3
+ >=dev-util/gtk-doc-am-1.12
+ doc? ( >=dev-util/gtk-doc-1.12 )
+ test? ( app-text/docbook-xml-dtd:4.3 )"
+# eautoreconf deps
+# gnome-base/gnome-common
+# dev-util/gtk-doc-am
+PDEPEND="gnome-base/gvfs"
+
+pkg_setup() {
+ G2CONF="${G2CONF}
+ --disable-scrollkeeper
+ --disable-caches
+ --disable-dependency-tracking
+ --with-gtk=2.0
+ --disable-search
+ $(use_enable cdr cdrtools)
+ $(use_enable cdr cdrkit)
+ $(use_enable introspection)
+ $(use_enable libburn libburnia)
+ $(use_enable nautilus)
+ $(use_enable playlist)"
+
+ if ! use libburn; then
+ G2CONF="${G2CONF} --enable-cdrtools --enable-cdrkit"
+ fi
+
+ DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README"
+}
+
+src_prepare() {
+ gnome2_src_prepare
+
+ # Fix link against installed libraries, bug #340767
+ epatch "${FILESDIR}/${PN}-2.32.0-build-plugins-against-local-library.patch"
+
+ # Silenced some warnings
+ epatch "${FILESDIR}/${P}-warning-silenced.patch"
+ epatch "${FILESDIR}/${P}-warning-silenced2.patch"
+
+ # Make sure that the size is displayed correctly when burning tracks internally copied with cdda2wav
+ epatch "${FILESDIR}/${P}-fix-size.patch"
+
+ # Do not show useless dialog warning about the nature of the medium when we are copying audio from a CDRW
+ epatch "${FILESDIR}/${P}-useless-dialog.patch"
+
+ intltoolize --force --copy --automake || die "intltoolize failed"
+ eautoreconf
+}
+
+pkg_preinst() {
+ gnome2_pkg_preinst
+
+ preserve_old_lib /usr/$(get_libdir)/libbrasero-burn.so.0
+ preserve_old_lib /usr/$(get_libdir)/libbrasero-media.so.0
+ preserve_old_lib /usr/$(get_libdir)/libbrasero-utils.so.0
+}
+
+pkg_postinst() {
+ gnome2_pkg_postinst
+
+ preserve_old_lib_notify /usr/$(get_libdir)/libbrasero-burn.so.0
+ preserve_old_lib_notify /usr/$(get_libdir)/libbrasero-media.so.0
+ preserve_old_lib_notify /usr/$(get_libdir)/libbrasero-utils.so.0
+
+ echo
+ elog "If ${PN} doesn't handle some music or video format, please check"
+ elog "your USE flags on media-plugins/gst-plugins-meta"
+}
diff --git a/app-cdr/brasero/files/brasero-2.32.1-fix-size.patch b/app-cdr/brasero/files/brasero-2.32.1-fix-size.patch
new file mode 100644
index 000000000000..cbdcbef5d032
--- /dev/null
+++ b/app-cdr/brasero/files/brasero-2.32.1-fix-size.patch
@@ -0,0 +1,56 @@
+From 6ddf46d1477bb6e2a3e86afa699c52b643bfcef7 Mon Sep 17 00:00:00 2001
+From: Philippe Rouquier <bonfire-app@wanadoo.fr>
+Date: Wed, 24 Nov 2010 15:29:32 +0000
+Subject: Make sure that the size is displayed correctly when burning tracks internally copied with cdda2wav
+
+---
+diff --git a/libbrasero-burn/brasero-track-stream.c b/libbrasero-burn/brasero-track-stream.c
+index f041676..e3ee6df 100644
+--- a/libbrasero-burn/brasero-track-stream.c
++++ b/libbrasero-burn/brasero-track-stream.c
+@@ -243,6 +243,7 @@ brasero_track_stream_set_boundaries (BraseroTrackStream *track,
+ * This function returns the path or the URI (if @uri is TRUE)
+ * of the stream (song or video file).
+ *
++ * Note: this function resets any length previously set to 0.
+ * Return value: a #gchar.
+ **/
+
+@@ -347,7 +348,6 @@ brasero_track_stream_get_length (BraseroTrackStream *track,
+ return BRASERO_BURN_ERR;
+
+ *length = BRASERO_STREAM_LENGTH (priv->start, priv->end + priv->gap);
+-
+ return BRASERO_BURN_OK;
+ }
+
+diff --git a/plugins/cdrtools/burn-cdda2wav.c b/plugins/cdrtools/burn-cdda2wav.c
+index 16343bd..797b3f9 100644
+--- a/plugins/cdrtools/burn-cdda2wav.c
++++ b/plugins/cdrtools/burn-cdda2wav.c
+@@ -108,10 +108,6 @@ brasero_cdda2wav_post (BraseroJob *job)
+
+ brasero_medium_get_track_space (medium, i + 1, NULL, &block_num);
+ track_stream = brasero_track_stream_new ();
+- brasero_track_stream_set_boundaries (track_stream,
+- 0,
+- BRASERO_BYTES_TO_DURATION (block_num * 2352),
+- 0);
+
+ brasero_track_stream_set_format (track_stream,
+ BRASERO_AUDIO_FORMAT_RAW|
+@@ -147,6 +143,12 @@ brasero_cdda2wav_post (BraseroJob *job)
+ g_free (filename);
+ }
+
++ /* Always set the boundaries after the source as
++ * brasero_track_stream_set_source () resets the length */
++ brasero_track_stream_set_boundaries (track_stream,
++ 0,
++ BRASERO_BYTES_TO_DURATION (block_num * 2352),
++ 0);
+ brasero_job_add_track (job, BRASERO_TRACK (track_stream));
+ g_object_unref (track_stream);
+ }
+--
+cgit v0.9
diff --git a/app-cdr/brasero/files/brasero-2.32.1-useless-dialog.patch b/app-cdr/brasero/files/brasero-2.32.1-useless-dialog.patch
new file mode 100644
index 000000000000..c24d5d5439e5
--- /dev/null
+++ b/app-cdr/brasero/files/brasero-2.32.1-useless-dialog.patch
@@ -0,0 +1,68 @@
+From dfe0b01a5193cbb631b2afbd37042c5124259d7b Mon Sep 17 00:00:00 2001
+From: Philippe Rouquier <bonfire-app@wanadoo.fr>
+Date: Wed, 24 Nov 2010 15:48:29 +0000
+Subject: Do not show useless dialog warning about the nature of the medium when we are copying audio from a CDRW
+
+---
+diff --git a/libbrasero-burn/brasero-burn.c b/libbrasero-burn/brasero-burn.c
+index 6dcf53a..f8b64c5 100644
+--- a/libbrasero-burn/brasero-burn.c
++++ b/libbrasero-burn/brasero-burn.c
+@@ -1881,28 +1881,38 @@ brasero_burn_check_session_consistency (BraseroBurn *burn,
+
+ static BraseroBurnResult
+ brasero_burn_check_data_loss (BraseroBurn *burn,
++ BraseroTrackType *temp_output,
+ GError **error)
+ {
+ BraseroMedia media;
+ BraseroBurnFlag flags;
+ BraseroTrackType *input;
+ BraseroBurnResult result;
+- BraseroTrackType *output;
+ BraseroBurnPrivate *priv = BRASERO_BURN_PRIVATE (burn);
+
+- output = brasero_track_type_new ();
+- brasero_burn_session_get_output_type (priv->session, output);
+- if (!brasero_track_type_get_has_medium (output)) {
++ if (!temp_output) {
++ BraseroTrackType *output;
++
++ output = brasero_track_type_new ();
++ brasero_burn_session_get_output_type (priv->session, output);
++ if (!brasero_track_type_get_has_medium (output)) {
++ brasero_track_type_free (output);
++ return BRASERO_BURN_OK;
++ }
++
++ media = brasero_track_type_get_medium_type (output);
+ brasero_track_type_free (output);
+- return BRASERO_BURN_OK;
+ }
++ else {
++ if (!brasero_track_type_get_has_medium (temp_output))
++ return BRASERO_BURN_OK;
+
+- flags = brasero_burn_session_get_flags (priv->session);
+- media = brasero_track_type_get_medium_type (output);
+- brasero_track_type_free (output);
++ media = brasero_track_type_get_medium_type (temp_output);
++ }
+
+ input = brasero_track_type_new ();
+ brasero_burn_session_get_input_type (priv->session, input);
++ flags = brasero_burn_session_get_flags (priv->session);
+
+ if (media & (BRASERO_MEDIUM_HAS_DATA|BRASERO_MEDIUM_HAS_AUDIO)) {
+ if (flags & BRASERO_BURN_FLAG_BLANK_BEFORE_WRITE) {
+@@ -2056,7 +2066,7 @@ brasero_burn_run_tasks (BraseroBurn *burn,
+
+ /* performed some additional tests that can only be performed at this
+ * point. They are mere warnings. */
+- result = brasero_burn_check_data_loss (burn, error);
++ result = brasero_burn_check_data_loss (burn, temp_output, error);
+ if (result != BRASERO_BURN_OK) {
+ brasero_burn_session_pop_settings (priv->session);
+ return result;
+--
+cgit v0.9
diff --git a/app-cdr/brasero/files/brasero-2.32.1-warning-silenced.patch b/app-cdr/brasero/files/brasero-2.32.1-warning-silenced.patch
new file mode 100644
index 000000000000..2a1c131c51de
--- /dev/null
+++ b/app-cdr/brasero/files/brasero-2.32.1-warning-silenced.patch
@@ -0,0 +1,21 @@
+From 6638f341240231001f6a3aeb92faeae4e9fefa7a Mon Sep 17 00:00:00 2001
+From: Philippe Rouquier <bonfire-app@wanadoo.fr>
+Date: Wed, 24 Nov 2010 14:29:01 +0000
+Subject: Silenced a warning
+
+---
+diff --git a/libbrasero-burn/brasero-session.c b/libbrasero-burn/brasero-session.c
+index fa67cca..73d8642 100644
+--- a/libbrasero-burn/brasero-session.c
++++ b/libbrasero-burn/brasero-session.c
+@@ -2059,7 +2059,7 @@ brasero_burn_session_get_src_medium (BraseroBurnSession *self)
+ return NULL;
+
+ track = priv->tracks->data;
+- if (!BRASERO_TRACK_DISC (track))
++ if (!BRASERO_IS_TRACK_DISC (track))
+ return NULL;
+
+ drive = brasero_track_disc_get_drive (BRASERO_TRACK_DISC (track));
+--
+cgit v0.9
diff --git a/app-cdr/brasero/files/brasero-2.32.1-warning-silenced2.patch b/app-cdr/brasero/files/brasero-2.32.1-warning-silenced2.patch
new file mode 100644
index 000000000000..bf756e4e942f
--- /dev/null
+++ b/app-cdr/brasero/files/brasero-2.32.1-warning-silenced2.patch
@@ -0,0 +1,20 @@
+From af1abd9dc9fd85074c9866195f1fb767e16a9a29 Mon Sep 17 00:00:00 2001
+From: Philippe Rouquier <bonfire-app@wanadoo.fr>
+Date: Wed, 24 Nov 2010 14:33:09 +0000
+Subject: Silenced a warning when unhibiting
+
+---
+diff --git a/libbrasero-burn/burn-dbus.c b/libbrasero-burn/burn-dbus.c
+index fe5dea0..a6d77cc 100644
+--- a/libbrasero-burn/burn-dbus.c
++++ b/libbrasero-burn/burn-dbus.c
+@@ -81,7 +81,6 @@ brasero_uninhibit_suspend (guint cookie)
+ error->message);
+ g_error_free (error);
+ } else {
+- g_variant_get (res, "(u)", &cookie);
+ g_variant_unref (res);
+ }
+
+--
+cgit v0.9
diff --git a/app-cdr/brasero/metadata.xml b/app-cdr/brasero/metadata.xml
index c09593fe6159..65f429789245 100644
--- a/app-cdr/brasero/metadata.xml
+++ b/app-cdr/brasero/metadata.xml
@@ -4,8 +4,6 @@
<herd>media-optical</herd>
<herd>gnome</herd>
<use>
- <flag name='beagle'>Enable <pkg>app-misc/beagle</pkg> support for
- searches</flag>
<flag name="introspection">Use
<pkg>dev-libs/gobject-introspection</pkg> for
introspection</flag>