rpms/avidemux/F-11 2.5.3_mjpeg_fix.diff, NONE, 1.1 avidemux-2.5.3-mpeg2enc.patch, NONE, 1.1 avidemux-2.5.3-pluginlibs.patch, NONE, 1.1 avidemux-2.5.3-tmplinktarget.patch, NONE, 1.1 .cvsignore, 1.9, 1.10 avidemux-gtk.desktop, 1.2, 1.3 avidemux-qt.desktop, 1.2, 1.3 avidemux.spec, 1.37, 1.38 sources, 1.10, 1.11 avidemux-2.5-checkfunction-includes.patch, 1.1, NONE avidemux-2.5-i18n.patch, 1.1, NONE

Stewart Adam firewing at rpmfusion.org
Thu May 20 20:11:34 CEST 2010


Author: firewing

Update of /cvs/free/rpms/avidemux/F-11
In directory se02.es.rpmfusion.net:/tmp/cvs-serv22670

Modified Files:
	.cvsignore avidemux-gtk.desktop avidemux-qt.desktop 
	avidemux.spec sources 
Added Files:
	2.5.3_mjpeg_fix.diff avidemux-2.5.3-mpeg2enc.patch 
	avidemux-2.5.3-pluginlibs.patch 
	avidemux-2.5.3-tmplinktarget.patch 
Removed Files:
	avidemux-2.5-checkfunction-includes.patch 
	avidemux-2.5-i18n.patch 
Log Message:
* Thu May 20 2010 Stewart Adam <s.adam at diffingo.com> - 2.5.3-1
- Update to 2.5.3 release
- Use avidemux.png as icon in the desktop shorcuts to fix problem on KDE
- Make ldconfig run in post/postun of libs package
- Fix typo in %description of main package


2.5.3_mjpeg_fix.diff:
 CMakeLists.txt |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

--- NEW FILE 2.5.3_mjpeg_fix.diff ---
diff --git a/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/CMakeLists.txt b/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/CMakeLists.txt
index 43baf2a..e36e5f5 100644
--- a/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/CMakeLists.txt
+++ b/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/CMakeLists.txt
@@ -6,7 +6,8 @@ build_sub22_mests.cc  feedframe.cc          mblock_bsumsq_mmx.cc        motionse
 build_sub44_mests.cc  find_best_one_pel.cc  mblock_sad_mmx.cc           mpeg2enc.cc      predict_mmx.cc    putvlc.cc        synchrolib.cc
 conform.cc            idct.cc               mblock_sad_mmxe.cc          mpeg2enc_if.cc   predict_ref.cc    quantize.cc      transfrm.cc
 cpu_accel.cc          idctdata.cc           mblock_sub44_sads_x86.cc    mpeg2param.cc    predict_x86.cc    quantize_ref.cc  transfrm_ref.cc
-fdctdata.cc           idct_mmx.cc           mjpeg_logging.c				mpeg2setup.cc    putbits.cc        quantize_x86.cc  transfrm_x86.cc
+fdctdata.cc           idct_mmx.cc           
+mpeg2setup.cc         putbits.cc            quantize_x86.cc             transfrm_x86.cc
 fdct_mmx.cc           ioio.c                mblock_sumsq_mmx.cc         mpegconsts.cc    puthdr.cc         quant_mmx2.cc    writepic.cc
 fdctref.cc            macroblock.cc         motion.cc                   predcomp_mmx.cc  putmpg.cc         ratectl.cc)
 
@@ -45,4 +46,5 @@ add_library(${ADM_LIB} ${${ADM_LIB}_SRCS})
 
 if (UNIX)
 	add_target_cflags(mpeg2enc -fPIC)
-endif (UNIX)
\ No newline at end of file
+endif (UNIX)
+

avidemux-2.5.3-mpeg2enc.patch:
 CMakeLists.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE avidemux-2.5.3-mpeg2enc.patch ---
--- avidemux_2.5.3/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/CMakeLists.txt.orig	2010-05-19 18:04:45.640566565 -0400
+++ avidemux_2.5.3/plugins/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/CMakeLists.txt	2010-05-19 18:05:01.255568336 -0400
@@ -42,7 +42,7 @@
 	ENDIF (NOT APPLE)
 ENDIF (ADM_CPU_X86)
 
-add_library(${ADM_LIB} ${${ADM_LIB}_SRCS})
+add_library(${ADM_LIB} STATIC ${${ADM_LIB}_SRCS})
 
 if (UNIX)
 	add_target_cflags(mpeg2enc -fPIC)

avidemux-2.5.3-pluginlibs.patch:
 pluginOptions/CMakeLists.txt |    5 ++++-
 xvidRateCtl/CMakeLists.txt   |    5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

--- NEW FILE avidemux-2.5.3-pluginlibs.patch ---
--- avidemux_2.5.3/plugins/ADM_videoEncoder/common/pluginOptions/CMakeLists.txt.orig	2010-05-19 17:59:29.921690913 -0400
+++ avidemux_2.5.3/plugins/ADM_videoEncoder/common/pluginOptions/CMakeLists.txt	2010-05-19 18:00:08.825566160 -0400
@@ -13,4 +13,7 @@
 
 if (UNIX)
 	add_target_cflags(ADM_vidEnc_pluginOptions -fPIC)
-endif (UNIX)
\ No newline at end of file
+endif (UNIX)
+
+INSTALL(TARGETS ADM_vidEnc_pluginOptions RUNTIME DESTINATION ${BIN_DIR}  LIBRARY DESTINATION lib${LIB_SUFFIX}  ARCHIVE DESTINATION lib${LIB_SUFFIX})
+
--- avidemux_2.5.3/plugins/ADM_videoEncoder/common/xvidRateCtl/CMakeLists.txt.orig	2010-05-19 17:57:00.680690875 -0400
+++ avidemux_2.5.3/plugins/ADM_videoEncoder/common/xvidRateCtl/CMakeLists.txt	2010-05-19 17:59:56.794691281 -0400
@@ -2,4 +2,7 @@
 
 if (UNIX)
 	add_target_cflags(ADM_xvidRateCtl -fPIC)
-endif (UNIX)
\ No newline at end of file
+endif (UNIX)
+
+INSTALL(TARGETS ADM_xvidRateCtl RUNTIME DESTINATION ${BIN_DIR}  LIBRARY DESTINATION lib${LIB_SUFFIX}  ARCHIVE DESTINATION lib${LIB_SUFFIX})
+

avidemux-2.5.3-tmplinktarget.patch:
 CMakeLists.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE avidemux-2.5.3-tmplinktarget.patch ---
--- avidemux_2.5.3/avidemux/CMakeLists.txt.orig	2010-04-30 12:30:20.000000000 -0400
+++ avidemux_2.5.3/avidemux/CMakeLists.txt	2010-05-19 14:25:31.456566543 -0400
@@ -490,5 +490,5 @@
 ENDMACRO (ADM_SYMLINK_LIBS)
 IF (UNIX AND NOT APPLE)
    # Some plugins link to ADM_coreImage (e.g., ADM_vf_addborders) and thus need the symlink in ${CMAKE_BINARY_DIR}/lib${LIB_SUFFIX}
-   ADM_SYMLINK_LIBS(ffmpeg ADM_coreImage)
+   #ADM_SYMLINK_LIBS(ffmpeg ADM_coreImage)
 ENDIF(UNIX AND NOT APPLE)


Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/avidemux/F-11/.cvsignore,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- .cvsignore	18 Jan 2010 21:13:35 -0000	1.9
+++ .cvsignore	20 May 2010 18:11:33 -0000	1.10
@@ -1 +1 @@
-avidemux_2.5.2.tar.gz
+avidemux_2.5.3.tar.gz


Index: avidemux-gtk.desktop
===================================================================
RCS file: /cvs/free/rpms/avidemux/F-11/avidemux-gtk.desktop,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- avidemux-gtk.desktop	27 Sep 2008 00:42:06 -0000	1.2
+++ avidemux-gtk.desktop	20 May 2010 18:11:33 -0000	1.3
@@ -1,8 +1,8 @@
 [Desktop Entry]
 Name=Avidemux Video Editor (GTK)
 Comment=Graphical video editing tool - GTK interface
-Icon=gnome-multimedia
+Icon=avidemux
 Exec=avidemux2_gtk
 Terminal=false
 Type=Application
-Categories=AudioVideo;
+Categories=AudioVideo;AudioVideoEditing;


Index: avidemux-qt.desktop
===================================================================
RCS file: /cvs/free/rpms/avidemux/F-11/avidemux-qt.desktop,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- avidemux-qt.desktop	27 Sep 2008 00:42:06 -0000	1.2
+++ avidemux-qt.desktop	20 May 2010 18:11:33 -0000	1.3
@@ -1,8 +1,8 @@
 [Desktop Entry]
 Name=Avidemux Video Editor (Qt)
 Comment=Graphical video editing tool - Qt interface
-Icon=gnome-multimedia
+Icon=avidemux
 Exec=avidemux2_qt4
 Terminal=false
 Type=Application
-Categories=AudioVideo;
+Categories=AudioVideo;AudioVideoEditing;


Index: avidemux.spec
===================================================================
RCS file: /cvs/free/rpms/avidemux/F-11/avidemux.spec,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- avidemux.spec	18 Jan 2010 21:13:35 -0000	1.37
+++ avidemux.spec	20 May 2010 18:11:33 -0000	1.38
@@ -1,7 +1,7 @@
 %define _pkgbuilddir %{_builddir}/%{name}_%{version}
 
 Name:           avidemux
-Version:        2.5.2
+Version:        2.5.3
 Release:        1%{?dist}
 Summary:        Graphical video editing and transcoding tool
 
@@ -31,11 +31,15 @@
 Patch0:         2.5.0-coreImage-parallel-build.patch
 Patch1:         avidemux-2.5-pulseaudio-default.patch
 Patch2:         avidemux-2.4-qt4.patch
-Patch3:         avidemux-2.5-i18n.patch
-Patch4:         avidemux-2.5-libmpeg2enc-altivec.patch
-Patch5:         avidemux-2.5-checkfunction-includes.patch
-Patch6:         avidemux-2.5.1-tmplinktarget.patch
-
+# Prevents avidemux from creating the symlinks for .so files, which we do below
+Patch3:         avidemux-2.5.3-tmplinktarget.patch
+# Fixes multiple definitions of mjpeg_log
+# http://fixounet.free.fr/2.6/2.5.3_mjpeg_fix.diff
+Patch4:         2.5.3_mjpeg_fix.diff
+# libADM_xvidRateCtl.so and libADM_vidEnc_pluginOptions.so are supposed to be
+# build statically according to upstream... Let's get them installed instead
+Patch5:         avidemux-2.5.3-mpeg2enc.patch
+Patch6:         avidemux-2.5.3-pluginlibs.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 # Upstream has been informed http://avidemux.org/admForum/viewtopic.php?id=6447
@@ -57,8 +61,6 @@
 BuildRequires:  js-devel
 BuildRequires:  libXv-devel
 BuildRequires:  libXmu-devel
-# Required by gtk: libXi-devel, libXext-devel, libX11-devel
-# Required by qt: libXt-devel, libXext-devel, libX11-devel
 BuildRequires:  libsamplerate-devel
 BuildRequires:  jack-audio-connection-kit-devel
 
@@ -97,7 +99,7 @@
 MPEG files, MP4 and ASF, using a variety of codecs. Tasks can be automated
 using projects, job queue and powerful scripting capabilities.
 
-For compatability reasons, avidemux is a meta-package which installs the
+For compatibility reasons, avidemux is a meta-package which installs the
 graphical, command line and plugin packages. If you want a smaller setup,
 you may selectively install one or more of the avidemux-* subpackages.
 
@@ -169,10 +171,10 @@
 %patch0 -p1 -b .parallel
 %patch1 -p1 -b .pulse
 %patch2 -p1 -b .qt4
-%patch3 -p1 -b .i18n
-%patch4 -p1 -b .altivec
-%patch5 -p1 -b .cfincludes
-%patch6 -p0 -b .tmplinktarget
+%patch3 -p1 -b .tmplinktarget
+%patch4 -p1 -b .mjpeg_log
+%patch5 -p1 -b .mpeg2enc
+%patch6 -p1 -b .pluginlibs
 
 
 %build
@@ -183,7 +185,7 @@
        -DAVIDEMUX_CORECONFIG_DIR="%{_pkgbuilddir}/build/config" \
        ..
 make %{?_smp_mflags}
-# Create the temp link directory manuall since otherwise it happens too early
+# Create the temp link directory manually since otherwise it happens too early
 mkdir -p %{_pkgbuilddir}/build/%{_lib}
 find %{_pkgbuilddir}/build/avidemux -name '*.so*' | \
      xargs ln -sft %{_pkgbuilddir}/build/%{_lib}
@@ -203,6 +205,8 @@
 # Install the build configuration for devel package
 install -d -m755 $RPM_BUILD_ROOT%{_includedir}
 install -m644 build/config/ADM_coreConfig.h $RPM_BUILD_ROOT%{_includedir}/ADM_coreConfig.h
+install -d -m755 $RPM_BUILD_ROOT%{_datadir}/pixmaps
+install -m644 avidemux/ADM_userInterfaces/ADM_QT4/ADM_gui/pics/avidemux_icon.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/avidemux.png
 
 # Find and remove all la files
 find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
@@ -221,8 +225,8 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%post libs -p /sbin/ldconfig
+%postun libs -p /sbin/ldconfig
 
 %files
 %defattr(-,root,root,-)
@@ -232,6 +236,7 @@
 %doc AUTHORS COPYING README TODO
 %dir %{_datadir}/%{name}
 %{_datadir}/ADM_scripts/
+%{_datadir}/pixmaps/avidemux.png
 %{_libdir}/libADM*
 
 %files cli
@@ -258,6 +263,12 @@
 %{_includedir}/ADM_coreConfig.h
 
 %changelog
+* Thu May 20 2010 Stewart Adam <s.adam at diffingo.com> - 2.5.3-1
+- Update to 2.5.3 release
+- Use avidemux.png as icon in the desktop shorcuts to fix problem on KDE
+- Make ldconfig run in post/postun of libs package
+- Fix typo in %%description of main package
+
 * Mon Jan 18 2010 Stewart Adam <s.adam at diffingo.com> - 2.5.2
 - Update to 2.5.2 release
 


Index: sources
===================================================================
RCS file: /cvs/free/rpms/avidemux/F-11/sources,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- sources	18 Jan 2010 21:13:35 -0000	1.10
+++ sources	20 May 2010 18:11:33 -0000	1.11
@@ -1 +1 @@
-9027e1324c06e833e6c3c22298503cc7  avidemux_2.5.2.tar.gz
+5a688029895b66b65ca86b7c85a03ee3  avidemux_2.5.3.tar.gz


--- avidemux-2.5-checkfunction-includes.patch DELETED ---


--- avidemux-2.5-i18n.patch DELETED ---



More information about the rpmfusion-commits mailing list