From 0fd3c73e8c320be9469d0542b178c75516b21549 Mon Sep 17 00:00:00 2001 From: Denis Leroy Date: Sun, 30 Dec 2007 11:14:32 +0000 Subject: [PATCH] - Update to upstream 0.7.0, updated BRs - Forward-ported open() permission patch --- .cvsignore | 2 +- brasero-0.6.0-open.patch | 12 ------------ brasero-0.7.0-open.patch | 11 +++++++++++ brasero.spec | 27 ++++++++++++++++++--------- sources | 2 +- 5 files changed, 31 insertions(+), 23 deletions(-) delete mode 100644 brasero-0.6.0-open.patch create mode 100644 brasero-0.7.0-open.patch diff --git a/.cvsignore b/.cvsignore index bd80019..540d66b 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -brasero-0.6.1.tar.bz2 +brasero-0.7.0.tar.bz2 diff --git a/brasero-0.6.0-open.patch b/brasero-0.6.0-open.patch deleted file mode 100644 index 3648119..0000000 --- a/brasero-0.6.0-open.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- brasero-0.6.0/src/burn-transcode.c~ 2007-07-11 14:48:14.000000000 +0200 -+++ brasero-0.6.0/src/burn-transcode.c 2007-08-17 09:17:31.000000000 +0200 -@@ -1402,7 +1402,8 @@ - int fd; - gboolean result; - -- fd = open (transcode->priv->current->dest, O_WRONLY | O_CREAT | O_APPEND); -+ fd = open (transcode->priv->current->dest, O_WRONLY | O_CREAT | O_APPEND, -+ S_IRWXU | S_IRGRP | S_IROTH); - if (fd == -1) { - g_set_error (error, - BRASERO_BURN_ERROR, diff --git a/brasero-0.7.0-open.patch b/brasero-0.7.0-open.patch new file mode 100644 index 0000000..55230a3 --- /dev/null +++ b/brasero-0.7.0-open.patch @@ -0,0 +1,11 @@ +--- brasero-0.7.0/src/plugins/transcode/burn-transcode.c.orig 2007-12-30 11:17:45.000000000 +0100 ++++ brasero-0.7.0/src/plugins/transcode/burn-transcode.c 2007-12-30 11:18:02.000000000 +0100 +@@ -931,7 +931,7 @@ + + output = NULL; + brasero_job_get_audio_output (BRASERO_JOB (transcode), &output); +- fd = open (output, O_WRONLY | O_CREAT | O_APPEND); ++ fd = open (output, O_WRONLY | O_CREAT | O_APPEND, S_IRWXU | S_IRGRP | S_IROTH); + g_free (output); + + if (fd == -1) { diff --git a/brasero.spec b/brasero.spec index e853bb9..652d918 100644 --- a/brasero.spec +++ b/brasero.spec @@ -1,18 +1,18 @@ Name: brasero -Version: 0.6.1 -Release: 4%{?dist} +Version: 0.7.0 +Release: 1%{?dist} Summary: Gnome CD/DVD burning application Group: Applications/Multimedia License: GPLv2+ URL: http://www.gnome.org/projects/brasero/ -Source0: http://ftp.gnome.org/pub/GNOME/sources/brasero/0.6/%{name}-%{version}.tar.bz2 -Patch0: brasero-0.6.0-tooltips.patch -Patch2: brasero-0.6.0-open.patch +Source0: http://ftp.gnome.org/pub/GNOME/sources/brasero/0.7/%{name}-%{version}.tar.bz2 +Patch0: brasero-0.7.0-open.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gettext intltool BuildRequires: desktop-file-utils +BuildRequires: gnome-vfs2-devel >= 2.14.2 BuildRequires: libgnomeui-devel >= 2.10.0 BuildRequires: gstreamer-devel >= 0.10.6 BuildRequires: gstreamer-plugins-base-devel >= 0.10.0 @@ -22,6 +22,10 @@ BuildRequires: libbeagle-devel >= 0.1.1 %endif BuildRequires: totem-pl-parser-devel BuildRequires: libnotify-devel >= 0.3.0 +BuildRequires: libxml2-devel >= 2.6.0 +BuildRequires: dbus-glib-devel >= 0.7.2 +BuildRequires: libburn-devel >= 0.4.0 +BuildRequires: libisofs-devel >= 0.2.8 Requires: dvd+rw-tools Requires: cdrecord @@ -43,16 +47,16 @@ desktop. %prep %setup -q -%patch0 -p1 -b .tooltips -%patch2 -p1 -b .open +%patch0 -p1 -b .open %build %configure \ + --enable-dbus \ + --enable-preview \ --disable-caches \ --disable-static \ - --disable-schemas-install \ - --disable-libburn + --disable-schemas-install make %{?_smp_mflags} @@ -113,6 +117,7 @@ fi %doc AUTHORS COPYING ChangeLog NEWS README %{_mandir}/man1/%{name}.* %{_bindir}/* +%{_libdir}/%{name} %{_datadir}/%{name} %{_datadir}/applications/brasero.desktop %{_datadir}/icons/hicolor/*/apps/* @@ -121,6 +126,10 @@ fi %changelog +* Sun Dec 30 2007 Denis Leroy - 0.7.0-1 +- Update to upstream 0.7.0, updated BRs +- Forward-ported open() permission patch + * Mon Dec 10 2007 Denis Leroy - 0.6.1-4 - Changed totem-devel req to totem-pl-parser-devel diff --git a/sources b/sources index 2b2eb71..e2a472a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -fa3b59f06b93bd831805a73a81f3293f brasero-0.6.1.tar.bz2 +b6ef754a108e2f2b64b815b283f51756 brasero-0.7.0.tar.bz2