Author: firewing
Update of /cvs/free/rpms/dvdstyler/F-8
In directory se02.es.rpmfusion.net:/tmp/cvs-serv11769/F-8
Modified Files:
.cvsignore
Added Files:
dvdstyler-1.6.2-desktop.patch
dvdstyler-1.7.0-ffmpeg-AVCodecTag.patch
dvdstyler-1.7.0-wxsvg-freeworld.patch dvdstyler.spec
Log Message:
Working build for dvdstyler 1.7.0
dvdstyler-1.6.2-desktop.patch:
--- NEW FILE dvdstyler-1.6.2-desktop.patch ---
--- data/dvdstyler.desktop.old 2008-08-16 11:59:51.000000000 -0400
+++ data/dvdstyler.desktop 2008-08-16 11:59:20.000000000 -0400
@@ -1,11 +1,11 @@
[Desktop Entry]
Version=1.0
Type=Application
-Encoding=UTF-8
Name=DVD Styler
Comment=Video DVD Production
+Icon=dvdstyler
-Icon=dvdstyler.png
Exec=dvdstyler
Terminal=false
+Categories=AudioVideo;
-Categories=Application;AudioVideo;
StartupNotify=true
+StartupWMClass=Dvdstyler
dvdstyler-1.7.0-ffmpeg-AVCodecTag.patch:
--- NEW FILE dvdstyler-1.7.0-ffmpeg-AVCodecTag.patch ---
diff -up src/mediatrc_ffmpeg.cpp.ff src/mediatrc_ffmpeg.cpp
--- src/mediatrc_ffmpeg.cpp.ff 2008-08-24 22:34:02.000000000 +0200
+++ src/mediatrc_ffmpeg.cpp 2008-10-15 22:25:03.000000000 +0200
@@ -958,8 +958,8 @@ bool wxFfmpegMediaTranscoder::Run(bool&
if (!codec->codec_tag) {
if ( !os->oformat->codec_tag || av_codec_get_id(
- os->oformat->codec_tag, icodec->codec_tag) > 0
- || av_codec_get_tag(os->oformat->codec_tag,
+ const_cast<const struct AVCodecTag **>(os->oformat->codec_tag),
icodec->codec_tag) > 0
+ || av_codec_get_tag(const_cast<const struct AVCodecTag
**>(os->oformat->codec_tag),
icodec->codec_id) <= 0)
codec->codec_tag = icodec->codec_tag;
}
dvdstyler-1.7.0-wxsvg-freeworld.patch:
--- NEW FILE dvdstyler-1.7.0-wxsvg-freeworld.patch ---
--- configure.in.orig 2008-10-15 22:59:08.000000000 -0400
+++ configure.in 2008-10-15 22:59:21.000000000 -0400
@@ -59,7 +59,7 @@
dnl check for wxSVG
AC_CHECK_LIB(wxsvg, main, [LIBS="$LIBS -lwxsvg"], [AC_MSG_ERROR([*** missing
wxSVG library (
wxsvg.sf.net) ***])])
-AC_CHECK_HEADER([wxSVG/svg.h], [], [AC_MSG_ERROR([*** missing wxSVG library
(
wxsvg.sf.net) ***])])
+AC_CHECK_HEADER([wxSVG-freeworld/svg.h], [], [AC_MSG_ERROR([*** missing wxSVG-freeworld
library (
rpmfusion.org) ***])])
dnl check gnomeui-2.0
CHECK_WX_BUILT_WITH_GTK2()
--- ./wxVillaLib/ThumbnailFactory.cpp.orig 2008-09-27 14:29:41.000000000 -0400
+++ ./wxVillaLib/ThumbnailFactory.cpp 2008-09-27 14:31:15.000000000 -0400
@@ -27,7 +27,7 @@
#include <libgnomeui/gnome-thumbnail.h>
static GnomeThumbnailFactory* thumbnail_factory = NULL;
#elif defined(WX_SVG)
-#include <wxSVG/mediadec_ffmpeg.h>
+#include <wxSVG-freeworld/mediadec_ffmpeg.h>
#elif defined(FFMPEG)
#include "mediadec_ffmpeg.h"
#endif
--- ./src/dvdstyler.cpp.orig 2008-09-27 14:29:41.000000000 -0400
+++ ./src/dvdstyler.cpp 2008-09-27 14:31:15.000000000 -0400
@@ -17,8 +17,8 @@
#include <wxVillaLib/imagjpg.h>
#include <wxVillaLib/utils.h>
#include <wxVillaLib/ThumbnailFactory.h>
-#include <wxSVG/SVGCanvas.h>
-#include <wxSVG/mediadec_ffmpeg.h>
+#include <wxSVG-freeworld/SVGCanvas.h>
+#include <wxSVG-freeworld/mediadec_ffmpeg.h>
#ifndef __WXWINCE__
#include <locale.h>
--- ./src/MenuObject.cpp.orig 2008-09-27 14:29:41.000000000 -0400
+++ ./src/MenuObject.cpp 2008-09-27 14:31:14.000000000 -0400
@@ -11,8 +11,8 @@
#include "Menu.h"
#include <wxVillaLib/utils.h>
-#include <wxSVG/svg.h>
-#include <wxSVGXML/svgxmlhelpr.h>
+#include <wxSVG-freeworld/svg.h>
+#include <wxSVGXML-freeworld/svgxmlhelpr.h>
#include <wx/mstream.h>
#include <wx/filename.h>
--- ./src/Utils.h.orig 2008-09-27 14:29:41.000000000 -0400
+++ ./src/Utils.h 2008-09-27 14:31:14.000000000 -0400
@@ -11,7 +11,7 @@
#ifndef UTILS_H
#define UTILS_H
-#include <wxSVGXML/svgxml.h>
+#include <wxSVGXML-freeworld/svgxml.h>
const wxString DATAFORMAT_MENU = wxT("application/dvdstyler-menu");
const wxString DATAFORMAT_MENU_OBJECT =
wxT("application/dvdstyler-menu-object");
--- ./src/DVD.h.orig 2008-09-27 14:29:41.000000000 -0400
+++ ./src/DVD.h 2008-09-27 14:31:14.000000000 -0400
@@ -14,7 +14,7 @@
#include <wx/wx.h>
#include <wx/image.h>
#include <wx/dynarray.h>
-#include <wxSVG/mediadec_ffmpeg.h>
+#include <wxSVG-freeworld/mediadec_ffmpeg.h>
#include "Menu.h"
#include "Slideshow.h"
--- ./src/MenuEditor.h.orig 2008-09-27 14:29:41.000000000 -0400
+++ ./src/MenuEditor.h 2008-09-27 14:31:13.000000000 -0400
@@ -11,7 +11,7 @@
#ifndef MENUEDITOR_H
#define MENUEDITOR_H
-#include <wxSVG/svgctrl.h>
+#include <wxSVG-freeworld/svgctrl.h>
#include "DVD.h"
class TitlesetManager;
--- ./src/Menu.cpp.orig 2008-09-27 14:29:41.000000000 -0400
+++ ./src/Menu.cpp 2008-09-27 14:31:13.000000000 -0400
@@ -13,9 +13,9 @@
#include "Palette3D.h"
#include <wxVillaLib/SConv.h>
#include <wxVillaLib/utils.h>
-#include <wxSVG/svg.h>
-#include <wxSVG/SVGCanvas.h>
-#include <wxSVGXML/svgxmlhelpr.h>
+#include <wxSVG-freeworld/svg.h>
+#include <wxSVG-freeworld/SVGCanvas.h>
+#include <wxSVGXML-freeworld/svgxmlhelpr.h>
#include <wx/mstream.h>
#include <wx/filename.h>
--- ./src/Slideshow.cpp.orig 2008-09-27 14:29:41.000000000 -0400
+++ ./src/Slideshow.cpp 2008-09-27 14:31:13.000000000 -0400
@@ -9,7 +9,7 @@
//////////////////////////////////////////////////////////////////////////////
#include "Slideshow.h"
-#include <wxSVGXML/svgxmlhelpr.h>
+#include <wxSVGXML-freeworld/svgxmlhelpr.h>
//////////////////////////////////////////////////////////////////////////////
--- ./src/ProgressDlg.cpp.orig 2008-09-27 14:29:41.000000000 -0400
+++ ./src/ProgressDlg.cpp 2008-09-27 14:31:12.000000000 -0400
@@ -17,8 +17,8 @@
#include <wx/filename.h>
#include <wx/file.h>
#include <wx/regex.h>
-#include <wxSVG/SVGDocument.h>
-#include <wxSVG/mediadec_ffmpeg.h>
+#include <wxSVG-freeworld/SVGDocument.h>
+#include <wxSVG-freeworld/mediadec_ffmpeg.h>
#include "mediaenc_ffmpeg.h"
#include "mediatrc_ffmpeg.h"
--- ./src/MenuEditor.cpp.orig 2008-09-27 14:29:41.000000000 -0400
+++ ./src/MenuEditor.cpp 2008-09-27 14:31:12.000000000 -0400
@@ -17,8 +17,8 @@
#include <wxVillaLib/ImageProc.h>
#include <wxVillaLib/Thumbnails.h>
#include <wxVillaLib/utils.h>
-#include <wxSVG/svg.h>
-#include <wxSVGXML/svgxml.h>
+#include <wxSVG-freeworld/svg.h>
+#include <wxSVGXML-freeworld/svgxml.h>
#include "math.h"
#include <wx/dnd.h>
#include <wx/utils.h>
--- ./src/DVD.cpp.orig 2008-09-27 14:29:41.000000000 -0400
+++ ./src/DVD.cpp 2008-09-27 14:31:11.000000000 -0400
@@ -10,10 +10,10 @@
#include "DVD.h"
#include "Config.h"
-#include <wxSVGXML/svgxmlhelpr.h>
+#include <wxSVGXML-freeworld/svgxmlhelpr.h>
#include <wxVillaLib/utils.h>
#include <sys/stat.h>
-#include <wxSVG/mediadec_ffmpeg.h>
+#include <wxSVG-freeworld/mediadec_ffmpeg.h>
#define DATA_FILE(fname) wxFindDataFile(_T("data") + wxString(wxFILE_SEP_PATH)
+ fname)
--- NEW FILE dvdstyler.spec ---
Name: dvdstyler
Version: 1.7.0
Release: 3%{?dist}
Summary: Cross-platform DVD authoring application
Group: Applications/Multimedia
License: GPLv2+
URL:
http://www.dvdstyler.de/
Source0:
http://downloads.sourceforge.net/dvdstyler/DVDStyler-%{version}.tar.bz2
Patch0: dvdstyler-1.6.2-desktop.patch
Patch1: dvdstyler-1.7.0-wxsvg-freeworld.patch
Patch2: dvdstyler-1.7.0-ffmpeg-AVCodecTag.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# build
BuildRequires: gettext
BuildRequires: automake
BuildRequires: autoconf
# libraries
BuildRequires: wxGTK-devel >= 2.6.3
BuildRequires: wxsvg-freeworld-devel
BuildRequires: ffmpeg-devel
BuildRequires: libgnomeui-devel
# mpeg
BuildRequires: mpgtx
BuildRequires: mjpegtools
BuildRequires: dvdauthor
# iso/burn
BuildRequires: mkisofs
BuildRequires: dvd+rw-tools
#images
BuildRequires: libjpeg-devel
BuildRequires: libexif-devel
BuildRequires: netpbm-progs
# finally
BuildRequires: desktop-file-utils
Requires: mpgtx
Requires: netpbm-progs
Requires: mjpegtools
Requires: dvdauthor
Requires: mkisofs
Requires: dvd+rw-tools
# Optional, defaults to off in burn settings in 1.5.1
Requires(hint): dvdisaster
%description
DVDStyler is a cross-platform DVD menu creation GUI that allows
creation of DVD navigation menus similar to those found on most
commercial DVD's. It leverages various other open source video
rendering programs to produce the final DVD menu navigation system.
%prep
%setup -q -n DVDStyler-%{version}
%patch0 -b .desktop
%patch1 -b .wxsvg-freeworld
%patch2 -b .ffmpeg-AVCodecTag
%build
export CFLAGS="$CXXFLAGS -I/usr/include/wxSVG-freeworld
-L%{_libdir}/wxsvg-freeworld"
export CXXFLAGS="$CXXFLAGS -I/usr/include/wxSVG-freeworld
-L%{_libdir}/wxsvg-freeworld"
./autogen.sh
%configure \
--disable-dependency-tracking
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/dvdstyler
# Desktop entry and icon are supposed to be installed by "make install"
# in 1.5.1 (to paths we don't want) but are not due to configure/Makefile.in
# and friends outdatedness, watch this space in > 1.5.1.
desktop-file-install --vendor livna --mode 644 \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
data/dvdstyler.desktop
install -Dpm 644 data/dvdstyler.png \
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/dvdstyler.png
%find_lang %{name}
%post
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ] ; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%postun
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ] ; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING README TODO
%{_bindir}/dvdstyler
%{_datadir}/dvdstyler/
%{_datadir}/applications/*dvdstyler.desktop
%{_datadir}/icons/hicolor/*x*/apps/dvdstyler.png
%{_datadir}/pixmaps/dvdstyler.png
%{_mandir}/*/*.gz
%changelog
* Wed Oct 15 2008 Stewart Adam <s.adam at diffingo.com> - 1.7.0-3
- Add ffmpeg-devel and fix wxsvg-freeworld-devel BR
- Add patch to fix AVCodecTag conversion errors
- Update wxsvg-freeworld patch so dvdstyler can be built without wxsvg (and use
only wxsvg-freeworld instead)
* Sat Sep 27 2008 Stewart Adam <s.adam at diffingo.com> - 1.7.0-2
- Rebuild for wxsvg 1.0b11 with ffmpeg enabled
* Sat Sep 06 2008 Stewart Adam <s.adam at diffingo.com> - 1:1.7.0-1
- Update to 1.7.0
* Sat Aug 16 2008 Stewart Adam <s.adam at diffingo.com> - 1:1.6.2-1
- Update to 1.6.2
* Sun Aug 03 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 1:1.5.1-3
- rebuild
* Wed Aug 22 2007 Ville Skyttä <ville.skytta at iki.fi> - 1:1.5.1-2
- License: GPL+
- Sync icon cache scriptlets with Fedora Wiki.
* Mon Jul 9 2007 Ville Skyttä <ville.skytta at iki.fi> - 1:1.5.1-1
- 1.5.1.
* Fri Jun 8 2007 Ville Skyttä <ville.skytta at iki.fi> - 1:1.5-1
- 1.5.
* Fri May 25 2007 Ville Skyttä <ville.skytta at iki.fi> - 1:1.4-8
- Rebuild.
* Tue Feb 6 2007 Ville Skyttä <ville.skytta at iki.fi> - 1:1.4-7
- Patch for wxWidgets 2.8.
* Fri Oct 06 2006 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> 1.4-6
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
* Mon Sep 25 2006 Ville Skyttä <ville.skytta at iki.fi> - 1:1.4-5
- Rebuild.
* Sun Apr 9 2006 Ville Skyttä <ville.skytta at iki.fi> - 1:1.4-4
- Actually apply the y4mscaler patch (#904). Note that for the change to take
effect, old Jpeg2MpegCmd setting may need to be removed from ~/.dvdstyler.
- Install icon to %%{_datadir}/icons/hicolor.
* Thu Mar 09 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
- switch to new release field
* Tue Feb 28 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
- add dist
* Mon Jun 06 2005 Thorsten Leemhuis <fedora at leemhuis.info> - 1:1.4-0.lvn.3
- Add gcc4-x86_64.patch to fix compile on x86_64
* Sun May 22 2005 Ville Skyttä <ville.skytta at iki.fi> - 1:1.4-0.lvn.2
- Patch default config to use y4mscaler and require it due to changes in
mjpegtools 1.7.0.
* Wed May 18 2005 Ville Skyttä <ville.skytta at iki.fi> - 1:1.4-0.lvn.1
- 1.4, desktop entry patch applied upstream.
- Patch to fix about dialog crash.
* Sun Jan 30 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.31-0.lvn.1
- First build.
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/dvdstyler/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 22 Jul 2008 16:49:42 -0000 1.1
+++ .cvsignore 16 Oct 2008 04:18:52 -0000 1.2
@@ -0,0 +1 @@
+DVDStyler-1.7.0.tar.bz2