[arch-commits] Commit in avidemux/trunk (9 files)
Eric Bélanger
eric at archlinux.org
Mon Aug 17 23:05:20 UTC 2009
Date: Monday, August 17, 2009 @ 19:05:19
Author: eric
Revision: 49957
upgpkg: avidemux 2.5.1-1
Upstream update, Removed libdca optdepends, Enabled SMP build, Removed old patches
Modified:
avidemux/trunk/ChangeLog
avidemux/trunk/PKGBUILD
Deleted:
avidemux/trunk/avidemux-2.5.0-format-strings.patch
avidemux/trunk/avidemux-2.5.0-gcc-4.4.patch
avidemux/trunk/avidemux-plugins-2.5.0-gcc-4.4.patch
avidemux/trunk/avidemux.desktop
avidemux/trunk/avidemux_2.5.0-typecast.patch
avidemux/trunk/avidemux_2.5.0-underlinking.patch
avidemux/trunk/avidemux_2.5.0-wrong-include.patch
--------------------------------------+
ChangeLog | 7 +
PKGBUILD | 24 +---
avidemux-2.5.0-format-strings.patch | 44 --------
avidemux-2.5.0-gcc-4.4.patch | 170 ---------------------------------
avidemux-plugins-2.5.0-gcc-4.4.patch | 116 ----------------------
avidemux.desktop | 12 --
avidemux_2.5.0-typecast.patch | 59 -----------
avidemux_2.5.0-underlinking.patch | 103 -------------------
avidemux_2.5.0-wrong-include.patch | 12 --
9 files changed, 15 insertions(+), 532 deletions(-)
Modified: ChangeLog
===================================================================
--- ChangeLog 2009-08-17 20:26:41 UTC (rev 49956)
+++ ChangeLog 2009-08-17 23:05:19 UTC (rev 49957)
@@ -1,3 +1,10 @@
+2009-08-17 Eric Belanger <eric at archlinux.org>
+
+ * avidemux 2.5.1-1
+ * Upstream update
+ * Removed libdca optdepends
+ * Enabled SMP build
+
2009-08-05 Eric Belanger <eric at archlinux.org>
* avidemux 2.5.0-2
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-08-17 20:26:41 UTC (rev 49956)
+++ PKGBUILD 2009-08-17 23:05:19 UTC (rev 49957)
@@ -3,36 +3,28 @@
# Contributor: damir <damir at archlinux.org>
pkgname=avidemux
-pkgver=2.5.0
-pkgrel=2
+pkgver=2.5.1
+pkgrel=1
pkgdesc="A graphical tool to edit video (filter/re-encode/split)"
arch=('i686' 'x86_64')
license=('GPL')
url="http://fixounet.free.fr/avidemux/"
depends=('libxv' 'libxml2' 'sdl')
-makedepends=('cmake' 'libxslt' 'gtk2' 'qt' 'jack-audio-connection-kit' 'libdca' 'esound' \
- 'libvorbis' 'alsa-lib' 'lame' 'xvidcore' 'faad2' 'faac' 'x264' 'libsamplerate' 'subversion')
+makedepends=('cmake' 'libxslt' 'gtk2' 'qt' 'jack-audio-connection-kit' 'esound' 'libvorbis' \
+ 'alsa-lib' 'lame' 'xvidcore' 'faad2' 'faac' 'x264' 'libsamplerate' 'subversion')
optdepends=('gtk2: for using the GTK GUI' \
'qt: for using the QT4 GUI' \
'lame, faac: for the corresponding audio encoder plugin' \
- 'faad2, libdca : for the corresponding audio decoder plugin' \
+ 'faad2 : for the corresponding audio decoder plugin' \
'esound, jack-audio-connection-kit: for the corresponding audio device plugin' \
'x264, xvidcore: for the corresponding video encoder plugin')
-options=('!makeflags')
-source=(ftp://ftp.archlinux.org/other/avidemux/avidemux_2.5_svn5205.tbz \
- avidemux-2.5-i18n.patch)
-md5sums=('f0d89accf46e599e0b329322f3add740' '0adb7cee81e06bfc454baf1d8fbcdd64')
-sha1sums=('5179f095e74ee3329bb867bdd4e8663fc4488c06' 'd510ca55cd1b9c162b4c3bcd224a80b6a18421ef')
+source=(http://downloads.sourceforge.net/avidemux/avidemux_2.5.1.tar.gz avidemux-2.5-i18n.patch)
+md5sums=('081db3af87f1f93c7b4e5d5975e07e40' '0adb7cee81e06bfc454baf1d8fbcdd64')
+sha1sums=('50fe78548e0ebf0611d23aa4755f332056520392' 'd510ca55cd1b9c162b4c3bcd224a80b6a18421ef')
build() {
cd "${srcdir}/${pkgname}_${pkgver}"
-# patch -p1 < ../avidemux-2.5.0-gcc-4.4.patch || return 1
patch -p1 < ../avidemux-2.5-i18n.patch || return 1
-### patch -p1 < ../avidemux-2.5.0-format-strings.patch || return 1
-### patch -p1 < ../avidemux_2.5.0-underlinking.patch || return 1
-### patch -p1 < ../avidemux_2.5.0-wrong-include.patch || return 1
-# patch -p1 < ../avidemux-plugins-2.5.0-gcc-4.4.patch || return 1
-
mkdir build
cd build
cmake -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release -D NO_GTK=0 -D NO_QT4=0 .. || return 1
Deleted: avidemux-2.5.0-format-strings.patch
===================================================================
--- avidemux-2.5.0-format-strings.patch 2009-08-17 20:26:41 UTC (rev 49956)
+++ avidemux-2.5.0-format-strings.patch 2009-08-17 23:05:19 UTC (rev 49957)
@@ -1,44 +0,0 @@
-diff -p -up avidemux_2.5.0/avidemux/ADM_userInterfaces/ADM_GTK/ADM_dialog/DIA_properties.cpp.format-strings avidemux_2.5.0/avidemux/ADM_userInterfaces/ADM_GTK/ADM_dialog/DIA_properties.cpp
---- avidemux_2.5.0/avidemux/ADM_userInterfaces/ADM_GTK/ADM_dialog/DIA_properties.cpp.format-strings 2008-05-17 19:45:51.000000000 +0200
-+++ avidemux_2.5.0/avidemux/ADM_userInterfaces/ADM_GTK/ADM_dialog/DIA_properties.cpp 2009-07-09 21:24:29.000000000 +0200
-@@ -84,10 +84,10 @@ void DIA_properties( void )
- switch (wavinfo->channels)
- {
- case 1:
-- sprintf(text, QT_TR_NOOP("Mono"));
-+ sprintf(text, "%s", QT_TR_NOOP("Mono"));
- break;
- case 2:
-- sprintf(text, QT_TR_NOOP("Stereo"));
-+ sprintf(text, "%s", QT_TR_NOOP("Stereo"));
- break;
- default:
- sprintf(text, "%d",wavinfo->channels);
-diff -p -up avidemux_2.5.0/avidemux/ADM_userInterfaces/ADM_QT4/ADM_dialog/Q_props.cpp.format-strings avidemux_2.5.0/avidemux/ADM_userInterfaces/ADM_QT4/ADM_dialog/Q_props.cpp
---- avidemux_2.5.0/avidemux/ADM_userInterfaces/ADM_QT4/ADM_dialog/Q_props.cpp.format-strings 2009-02-05 21:04:06.000000000 +0100
-+++ avidemux_2.5.0/avidemux/ADM_userInterfaces/ADM_QT4/ADM_dialog/Q_props.cpp 2009-07-09 21:24:29.000000000 +0200
-@@ -76,10 +76,10 @@ propWindow::propWindow(QWidget *parent)
- switch (wavinfo->channels)
- {
- case 1:
-- sprintf(text, QT_TR_NOOP("Mono"));
-+ sprintf(text, "%s", QT_TR_NOOP("Mono"));
- break;
- case 2:
-- sprintf(text, QT_TR_NOOP("Stereo"));
-+ sprintf(text, "%s", QT_TR_NOOP("Stereo"));
- break;
- default:
- sprintf(text, "%d",wavinfo->channels);
-diff -p -up avidemux_2.5.0/avidemux/gtk_gui.cpp.format-strings avidemux_2.5.0/avidemux/gtk_gui.cpp
---- avidemux_2.5.0/avidemux/gtk_gui.cpp.format-strings 2009-04-20 17:58:54.000000000 +0200
-+++ avidemux_2.5.0/avidemux/gtk_gui.cpp 2009-07-09 21:24:29.000000000 +0200
-@@ -1352,7 +1352,7 @@ A_loadAC3 (char *name)
- if (ac3->open (path) == 0)
- {
- GUI_Error_HIG (QT_TR_NOOP("Failed to open the file"), QT_TR_NOOP("Not a WAV file?"));
-- printf (QT_TR_NOOP("WAV open file failed..."));
-+ printf ("%s", QT_TR_NOOP("WAV open file failed..."));
- delete ac3;
- delete [] path;
- return 0;
Deleted: avidemux-2.5.0-gcc-4.4.patch
===================================================================
--- avidemux-2.5.0-gcc-4.4.patch 2009-08-17 20:26:41 UTC (rev 49956)
+++ avidemux-2.5.0-gcc-4.4.patch 2009-08-17 23:05:19 UTC (rev 49957)
@@ -1,170 +0,0 @@
-diff -Naur avidemux_2.5.0.orig/avidemux/ADM_UIs/ADM_QT4/src/T_threadCount.h avidemux_2.5.0/avidemux/ADM_UIs/ADM_QT4/src/T_threadCount.h
---- avidemux_2.5.0.orig/avidemux/ADM_UIs/ADM_QT4/src/T_threadCount.h 2009-07-11 18:11:26.000000000 -0400
-+++ avidemux_2.5.0/avidemux/ADM_UIs/ADM_QT4/src/T_threadCount.h 2009-07-11 18:34:50.000000000 -0400
-@@ -1,6 +1,7 @@
- #ifndef T_threadCount_h
- #define T_threadCount_h
-
-+#include <stdint.h>
- #include <QtGui/QButtonGroup>
- #include <QtGui/QGridLayout>
- #include <QtGui/QLabel>
-diff -Naur avidemux_2.5.0.orig/avidemux/ADM_core/src/ADM_fileio.cpp avidemux_2.5.0/avidemux/ADM_core/src/ADM_fileio.cpp
---- avidemux_2.5.0.orig/avidemux/ADM_core/src/ADM_fileio.cpp 2009-07-11 18:11:26.000000000 -0400
-+++ avidemux_2.5.0/avidemux/ADM_core/src/ADM_fileio.cpp 2009-07-11 18:34:50.000000000 -0400
-@@ -681,7 +681,7 @@
- */
- const char *ADM_GetFileName(const char *str)
- {
-- char *filename;
-+ const char *filename;
- char *filename2;
-
- #ifndef __WIN32
-diff -Naur avidemux_2.5.0.orig/avidemux/ADM_coreUI/include/DIA_coreToolkit.h avidemux_2.5.0/avidemux/ADM_coreUI/include/DIA_coreToolkit.h
---- avidemux_2.5.0.orig/avidemux/ADM_coreUI/include/DIA_coreToolkit.h 2009-07-11 18:11:26.000000000 -0400
-+++ avidemux_2.5.0/avidemux/ADM_coreUI/include/DIA_coreToolkit.h 2009-07-11 18:34:50.000000000 -0400
-@@ -19,6 +19,8 @@
- #ifndef ADM_COREUI_TOOLKIT__
- #define ADM_COREUI_TOOLKIT__
-
-+#include <stdint.h>
-+
- typedef enum
- {
- ADM_LOG_NONE=0,
-diff -Naur avidemux_2.5.0.orig/avidemux/ADM_coreUI/include/DIA_enter.h avidemux_2.5.0/avidemux/ADM_coreUI/include/DIA_enter.h
---- avidemux_2.5.0.orig/avidemux/ADM_coreUI/include/DIA_enter.h 2009-07-11 18:11:26.000000000 -0400
-+++ avidemux_2.5.0/avidemux/ADM_coreUI/include/DIA_enter.h 2009-07-11 18:34:50.000000000 -0400
-@@ -16,6 +16,8 @@
- #ifndef DIA_ENTER_H
- #define DIA_ENTER_H
-
-+#include <stdint.h>
-+
- // Get a float value
- uint8_t DIA_GetFloatValue(float *value, float min, float max, const char *title, const char *legend);
- // Get an integer value
-diff -Naur avidemux_2.5.0.orig/avidemux/ADM_coreUI/include/DIA_fileSel.h avidemux_2.5.0/avidemux/ADM_coreUI/include/DIA_fileSel.h
---- avidemux_2.5.0.orig/avidemux/ADM_coreUI/include/DIA_fileSel.h 2009-07-11 18:11:26.000000000 -0400
-+++ avidemux_2.5.0/avidemux/ADM_coreUI/include/DIA_fileSel.h 2009-07-11 18:34:50.000000000 -0400
-@@ -15,6 +15,9 @@
-
- #ifndef DIA_FILESEL_H
- #define DIA_FILESEL_H
-+
-+#include <stdint.h>
-+
- typedef void SELFILE_CB(const char *);
-
- // Associated functions type
-diff -Naur avidemux_2.5.0.orig/avidemux/ADM_inputs/ADM_mpegdemuxer/dmx_io.cpp avidemux_2.5.0/avidemux/ADM_inputs/ADM_mpegdemuxer/dmx_io.cpp
---- avidemux_2.5.0.orig/avidemux/ADM_inputs/ADM_mpegdemuxer/dmx_io.cpp 2009-07-11 18:11:26.000000000 -0400
-+++ avidemux_2.5.0/avidemux/ADM_inputs/ADM_mpegdemuxer/dmx_io.cpp 2009-07-11 18:34:50.000000000 -0400
-@@ -71,7 +71,7 @@
- */
- uint8_t fileParser::open( const char *filename,FP_TYPE *multi )
- {
-- char *dot = NULL; // pointer to the last dot in filename
-+ const char *dot = NULL; // pointer to the last dot in filename
- uint8_t decimals = 0; // number of decimals
- char *left = NULL, *number = NULL, *right = NULL; // parts of filename (after splitting)
-
-diff -Naur avidemux_2.5.0.orig/avidemux/ADM_libraries/ADM_libmpeg2enc/yuv4mpeg_ratio.cc avidemux_2.5.0/avidemux/ADM_libraries/ADM_libmpeg2enc/yuv4mpeg_ratio.cc
---- avidemux_2.5.0.orig/avidemux/ADM_libraries/ADM_libmpeg2enc/yuv4mpeg_ratio.cc 2009-07-11 18:11:26.000000000 -0400
-+++ avidemux_2.5.0/avidemux/ADM_libraries/ADM_libmpeg2enc/yuv4mpeg_ratio.cc 2009-07-11 18:34:50.000000000 -0400
-@@ -104,7 +104,7 @@
-
- int y4m_parse_ratio(y4m_ratio_t *r, const char *s)
- {
-- char *t = strchr(s, ':');
-+ const char *t = strchr(s, ':');
- if (t == NULL) return Y4M_ERR_RANGE;
- r->n = atoi(s);
- r->d = atoi(t+1);
-diff -Naur avidemux_2.5.0.orig/avidemux/ADM_libraries/ADM_mplex/lpcmstrm_in.cpp avidemux_2.5.0/avidemux/ADM_libraries/ADM_mplex/lpcmstrm_in.cpp
---- avidemux_2.5.0.orig/avidemux/ADM_libraries/ADM_mplex/lpcmstrm_in.cpp 2009-07-11 18:11:26.000000000 -0400
-+++ avidemux_2.5.0/avidemux/ADM_libraries/ADM_mplex/lpcmstrm_in.cpp 2009-07-11 18:34:50.000000000 -0400
-@@ -53,7 +53,7 @@
-
- bool LPCMStream::Probe(IBitStream &bs )
- {
-- char *last_dot = strrchr( bs.StreamName(), '.' );
-+ const char *last_dot = strrchr( bs.StreamName(), '.' );
- return
- last_dot != NULL
- && strcmp( last_dot+1, "lpcm") == 0;
-diff -Naur avidemux_2.5.0.orig/avidemux/ADM_userInterfaces/ADM_QT4/ADM_dialog/DIA_color.cpp avidemux_2.5.0/avidemux/ADM_userInterfaces/ADM_QT4/ADM_dialog/DIA_color.cpp
---- avidemux_2.5.0.orig/avidemux/ADM_userInterfaces/ADM_QT4/ADM_dialog/DIA_color.cpp 2009-07-11 18:11:26.000000000 -0400
-+++ avidemux_2.5.0/avidemux/ADM_userInterfaces/ADM_QT4/ADM_dialog/DIA_color.cpp 2009-07-11 18:34:50.000000000 -0400
-@@ -1,3 +1,4 @@
-+#include <stdint.h>
- #include <QtGui/QColorDialog>
-
- #include "ADM_toolkitQt.h"
-@@ -17,4 +18,4 @@
- }
-
- return 0;
--}
-\ No newline at end of file
-+}
-diff -Naur avidemux_2.5.0.orig/avidemux/ADM_userInterfaces/ADM_QT4/ADM_dialog/Q_jobs.h avidemux_2.5.0/avidemux/ADM_userInterfaces/ADM_QT4/ADM_dialog/Q_jobs.h
---- avidemux_2.5.0.orig/avidemux/ADM_userInterfaces/ADM_QT4/ADM_dialog/Q_jobs.h 2009-07-11 18:11:26.000000000 -0400
-+++ avidemux_2.5.0/avidemux/ADM_userInterfaces/ADM_QT4/ADM_dialog/Q_jobs.h 2009-07-11 18:34:50.000000000 -0400
-@@ -1,6 +1,8 @@
- #ifndef Q_jobs_h
- #define Q_jobs_h
-
-+#include <cstdio>
-+#include <stdint.h>
- #include "ui_jobs.h"
- #include "ADM_misc.h"
-
-diff -Naur avidemux_2.5.0.orig/avidemux/ADM_userInterfaces/ADM_QT4/ADM_dialog/Q_license.h avidemux_2.5.0/avidemux/ADM_userInterfaces/ADM_QT4/ADM_dialog/Q_license.h
---- avidemux_2.5.0.orig/avidemux/ADM_userInterfaces/ADM_QT4/ADM_dialog/Q_license.h 2009-07-11 18:11:26.000000000 -0400
-+++ avidemux_2.5.0/avidemux/ADM_userInterfaces/ADM_QT4/ADM_dialog/Q_license.h 2009-07-11 18:34:50.000000000 -0400
-@@ -1,6 +1,7 @@
- #ifndef Q_license_h
- #define Q_license_h
-
-+#include <stdint.h>
- #include "ui_license.h"
-
- class Ui_licenseWindow : public QDialog
-diff -Naur avidemux_2.5.0.orig/avidemux/ADM_userInterfaces/ADM_QT4/ADM_gui/ADM_qslider.h avidemux_2.5.0/avidemux/ADM_userInterfaces/ADM_QT4/ADM_gui/ADM_qslider.h
---- avidemux_2.5.0.orig/avidemux/ADM_userInterfaces/ADM_QT4/ADM_gui/ADM_qslider.h 2009-07-11 18:11:26.000000000 -0400
-+++ avidemux_2.5.0/avidemux/ADM_userInterfaces/ADM_QT4/ADM_gui/ADM_qslider.h 2009-07-11 18:34:50.000000000 -0400
-@@ -1,6 +1,9 @@
- #ifndef ADM_Q_SLIDER_H
- #define ADM_Q_SLIDER_H
-
-+#include <cstdio>
-+#include <stdint.h>
-+
- class ADM_QSlider : public QSlider
- {
- protected:
-diff -Naur avidemux_2.5.0.orig/avidemux/ADM_userInterfaces/ADM_QT4/ADM_gui/gui_none.cpp avidemux_2.5.0/avidemux/ADM_userInterfaces/ADM_QT4/ADM_gui/gui_none.cpp
---- avidemux_2.5.0.orig/avidemux/ADM_userInterfaces/ADM_QT4/ADM_gui/gui_none.cpp 2009-07-11 18:11:26.000000000 -0400
-+++ avidemux_2.5.0/avidemux/ADM_userInterfaces/ADM_QT4/ADM_gui/gui_none.cpp 2009-07-11 18:34:50.000000000 -0400
-@@ -8,6 +8,7 @@
- //
- //
-
-+#include <stdint.h>
- #include "config.h"
-
- #include <QtGui/QApplication>
-diff -Naur avidemux_2.5.0.orig/avidemux/ADM_userInterfaces/ADM_commonUI/ADM_tray.h avidemux_2.5.0/avidemux/ADM_userInterfaces/ADM_commonUI/ADM_tray.h
---- avidemux_2.5.0.orig/avidemux/ADM_userInterfaces/ADM_commonUI/ADM_tray.h 2009-07-11 18:11:26.000000000 -0400
-+++ avidemux_2.5.0/avidemux/ADM_userInterfaces/ADM_commonUI/ADM_tray.h 2009-07-11 18:34:50.000000000 -0400
-@@ -18,6 +18,8 @@
- #ifndef ADM_TRAY_H
- #define ADM_TRAY_H
-
-+#include <stdint.h>
-+
- class ADM_tray
- {
- protected:
Deleted: avidemux-plugins-2.5.0-gcc-4.4.patch
===================================================================
--- avidemux-plugins-2.5.0-gcc-4.4.patch 2009-08-17 20:26:41 UTC (rev 49956)
+++ avidemux-plugins-2.5.0-gcc-4.4.patch 2009-08-17 23:05:19 UTC (rev 49957)
@@ -1,116 +0,0 @@
---- avidemux-plugins_2.5.0/plugins/ADM_videoFilters/AvisynthResize/qt4/Q_resize.h
-+++ avidemux-plugins_2.5.0/plugins/ADM_videoFilters/AvisynthResize/qt4/Q_resize.h
-@@ -1,6 +1,8 @@
- #ifndef Q_resizing_h
- #define Q_resizing_h
-
-+#include <stdint.h>
-+
- #include "ui_resizing.h"
-
- typedef struct resParam
---- avidemux-plugins_2.5.0/plugins/ADM_videoFilters/CNR2/ADM_vidCNR2_param.h
-+++ avidemux-plugins_2.5.0/plugins/ADM_videoFilters/CNR2/ADM_vidCNR2_param.h
-@@ -15,6 +15,8 @@
- #ifndef _CNR2_
- #define _CNR2_
-
-+#include <stdint.h>
-+
- typedef struct CNR2Param
- {
- double scdthr; // Scene change threshold in % default 10
---- avidemux-plugins_2.5.0/plugins/ADM_videoFilters/colorYUV/ADM_vidColorYuv_param.h
-+++ avidemux-plugins_2.5.0/plugins/ADM_videoFilters/colorYUV/ADM_vidColorYuv_param.h
-@@ -14,6 +14,9 @@
-
- #ifndef ADM_VID_COLOR_YUV_PARAM_H
- #define ADM_VID_COLOR_YUV_PARAM_H
-+
-+#include <stdint.h>
-+
- typedef struct COLOR_YUV_PARAM
- {
- double y_contrast, y_bright, y_gamma, y_gain;
---- avidemux-plugins_2.5.0/plugins/ADM_videoFilters/MPDelogo/ADM_vidMPdelogo.h
-+++ avidemux-plugins_2.5.0/plugins/ADM_videoFilters/MPDelogo/ADM_vidMPdelogo.h
-@@ -12,6 +12,9 @@
- ***************************************************************************/
- #ifndef ADM_DELOGO_H
- #define ADM_DELOGO_H
-+
-+#include <stdint.h>
-+
- typedef struct MPDELOGO_PARAM
- {
- uint32_t xoff;
---- avidemux-plugins_2.5.0/plugins/ADM_videoFilters/MPDelogo/DIA_flyMpDelogo.h
-+++ avidemux-plugins_2.5.0/plugins/ADM_videoFilters/MPDelogo/DIA_flyMpDelogo.h
-@@ -1,5 +1,8 @@
- #ifndef FLY_MPDELOGO_H
- #define FLY_MPDELOGO_H
-+
-+#include <stdint.h>
-+
- class flyMpDelogo : public FLY_DIALOG_TYPE
- {
- public:
---- avidemux-plugins_2.5.0/plugins/ADM_videoFilters/MplayerResize/qt4/Q_resize.h
-+++ avidemux-plugins_2.5.0/plugins/ADM_videoFilters/MplayerResize/qt4/Q_resize.h
-@@ -1,6 +1,8 @@
- #ifndef Q_resizing_h
- #define Q_resizing_h
-
-+#include <stdint.h>
-+
- #include "ui_resizing.h"
-
- typedef struct resParam
-diff -Naur avidemux-plugins_2.5.0.orig/plugins/ADM_videoEncoder/ADM_vidEnc_x264/guiHelper.cpp avidemux-plugins_2.5.0/plugins/ADM_videoEncoder/ADM_vidEnc_x264/guiHelper.cpp
---- avidemux-plugins_2.5.0.orig/plugins/ADM_videoEncoder/ADM_vidEnc_x264/guiHelper.cpp 2009-07-12 01:47:28.082355322 -0400
-+++ avidemux-plugins_2.5.0/plugins/ADM_videoEncoder/ADM_vidEnc_x264/guiHelper.cpp 2009-07-12 01:49:40.403171050 -0400
-@@ -62,8 +62,8 @@
-
- int x264_cqm_parse_jmlist(const char *buf, const char *name, uint8_t *cqm, uint8_t *defaultMatrix, int length)
- {
-- char *p;
-- char *nextvar;
-+ const char *p;
-+ const char *nextvar;
- int i;
-
- p = strstr(buf, name);
-diff -Naur avidemux-plugins_2.5.0.orig/plugins/ADM_videoEncoder/ADM_vidEnc_x264/qt4/x264CustomMatrixDialog.h avidemux-plugins_2.5.0/plugins/ADM_videoEncoder/ADM_vidEnc_x264/qt4/x264CustomMatrixDialog.h
---- avidemux-plugins_2.5.0.orig/plugins/ADM_videoEncoder/ADM_vidEnc_x264/qt4/x264CustomMatrixDialog.h 2009-07-12 01:47:28.079020819 -0400
-+++ avidemux-plugins_2.5.0/plugins/ADM_videoEncoder/ADM_vidEnc_x264/qt4/x264CustomMatrixDialog.h 2009-07-12 01:50:19.009000160 -0400
-@@ -1,6 +1,7 @@
- #ifndef x264CustomMatrixDialog_h
- #define x264CustomMatrixDialog_h
-
-+#include <stdint.h>
- #include "ui_x264CustomMatrixDialog.h"
-
- class x264CustomMatrixDialog : public QDialog
-diff -Naur avidemux-plugins_2.5.0.orig/plugins/ADM_videoEncoder/ADM_vidEnc_x264/zoneOptions.h avidemux-plugins_2.5.0/plugins/ADM_videoEncoder/ADM_vidEnc_x264/zoneOptions.h
---- avidemux-plugins_2.5.0.orig/plugins/ADM_videoEncoder/ADM_vidEnc_x264/zoneOptions.h 2009-07-12 01:47:28.079020819 -0400
-+++ avidemux-plugins_2.5.0/plugins/ADM_videoEncoder/ADM_vidEnc_x264/zoneOptions.h 2009-07-12 01:50:44.178997807 -0400
-@@ -17,6 +17,8 @@
- #ifndef zoneOptions_h
- #define zoneOptions_h
-
-+#include <stdint.h>
-+
- extern "C"
- {
- #include "x264.h"
-diff -Naur avidemux-plugins_2.5.0.orig/plugins/ADM_videoEncoder/ADM_vidEnc_xvid/options.h avidemux-plugins_2.5.0/plugins/ADM_videoEncoder/ADM_vidEnc_xvid/options.h
---- avidemux-plugins_2.5.0.orig/plugins/ADM_videoEncoder/ADM_vidEnc_xvid/options.h 2009-07-12 01:47:28.082355322 -0400
-+++ avidemux-plugins_2.5.0/plugins/ADM_videoEncoder/ADM_vidEnc_xvid/options.h 2009-07-12 01:51:12.152328208 -0400
-@@ -17,6 +17,7 @@
- #ifndef options_h
- #define options_h
-
-+#include <stdint.h>
- #include <libxml/tree.h>
- #include "xvid.h"
-
Deleted: avidemux.desktop
===================================================================
--- avidemux.desktop 2009-08-17 20:26:41 UTC (rev 49956)
+++ avidemux.desktop 2009-08-17 23:05:19 UTC (rev 49957)
@@ -1,12 +0,0 @@
-[Desktop Entry]
-Type=Application
-Encoding=UTF-8
-Name=Avidemux
-Comment=Video Editor
-Comment[de]=Video-Bearbeitungsprogramm
-Comment[fr]=Éditeur video
-Exec=avidemux2_gtk
-Terminal=false
-Icon=/usr/share/pixmaps/avidemux.png
-MimeType=application/x-extension-mp4;application/x-extension-m4a;video/mp4;video/x-m4v;video/mpeg;video/x-mpeg;video/x-avi;
-Categories=GTK;AudioVideo;Video;
Deleted: avidemux_2.5.0-typecast.patch
===================================================================
--- avidemux_2.5.0-typecast.patch 2009-08-17 20:26:41 UTC (rev 49956)
+++ avidemux_2.5.0-typecast.patch 2009-08-17 23:05:19 UTC (rev 49957)
@@ -1,59 +0,0 @@
-diff -p -up avidemux_2.5.0/avidemux/ADM_core/src/ADM_fileio.cpp~ avidemux_2.5.0/avidemux/ADM_core/src/ADM_fileio.cpp
---- avidemux_2.5.0/avidemux/ADM_core/src/ADM_fileio.cpp~ 2009-03-09 21:10:03.000000000 +0100
-+++ avidemux_2.5.0/avidemux/ADM_core/src/ADM_fileio.cpp 2009-07-09 21:34:15.000000000 +0200
-@@ -685,7 +685,7 @@ const char *ADM_GetFileName(const char *
- char *filename2;
-
- #ifndef __WIN32
-- filename = strrchr(str, '/');
-+ filename = strrchr((char*) str, '/');
- #else
- filename = strrchr(str, '\\');
- filename2 = strrchr(str, '/');
-diff -p -up avidemux_2.5.0/avidemux/ADM_inputs/ADM_mpegdemuxer/dmx_io.cpp~ avidemux_2.5.0/avidemux/ADM_inputs/ADM_mpegdemuxer/dmx_io.cpp
---- avidemux_2.5.0/avidemux/ADM_inputs/ADM_mpegdemuxer/dmx_io.cpp~ 2008-09-13 18:27:58.000000000 +0200
-+++ avidemux_2.5.0/avidemux/ADM_inputs/ADM_mpegdemuxer/dmx_io.cpp 2009-07-09 21:48:17.000000000 +0200
-@@ -87,7 +87,7 @@ uint8_t fileParser::open( const char *fi
-
-
- // find the last dot
-- dot = strrchr( filename, '.' );
-+ dot = strrchr( (char *) filename, '.' );
-
- // count the decimals before the dot
- decimals = 1;
-diff -p -up avidemux_2.5.0/avidemux/ADM_libraries/ADM_libmpeg2enc/yuv4mpeg_ratio.cc~ avidemux_2.5.0/avidemux/ADM_libraries/ADM_libmpeg2enc/yuv4mpeg_ratio.cc
---- avidemux_2.5.0/avidemux/ADM_libraries/ADM_libmpeg2enc/yuv4mpeg_ratio.cc~ 2004-01-30 20:32:00.000000000 +0100
-+++ avidemux_2.5.0/avidemux/ADM_libraries/ADM_libmpeg2enc/yuv4mpeg_ratio.cc 2009-07-09 21:49:28.000000000 +0200
-@@ -104,7 +104,7 @@ void y4m_ratio_reduce(y4m_ratio_t *r)
-
- int y4m_parse_ratio(y4m_ratio_t *r, const char *s)
- {
-- char *t = strchr(s, ':');
-+ char *t = strchr((char *) s, ':');
- if (t == NULL) return Y4M_ERR_RANGE;
- r->n = atoi(s);
- r->d = atoi(t+1);
-diff -p -up avidemux_2.5.0/avidemux/ADM_libraries/ADM_mplex/lpcmstrm_in.cpp~ avidemux_2.5.0/avidemux/ADM_libraries/ADM_mplex/lpcmstrm_in.cpp
---- avidemux_2.5.0/avidemux/ADM_libraries/ADM_mplex/lpcmstrm_in.cpp~ 2007-08-03 02:04:40.000000000 +0200
-+++ avidemux_2.5.0/avidemux/ADM_libraries/ADM_mplex/lpcmstrm_in.cpp 2009-07-09 21:50:06.000000000 +0200
-@@ -53,7 +53,7 @@ LPCMStream::LPCMStream(IBitStream &ibs,
-
- bool LPCMStream::Probe(IBitStream &bs )
- {
-- char *last_dot = strrchr( bs.StreamName(), '.' );
-+ char *last_dot = strrchr( (char *) bs.StreamName(), '.' );
- return
- last_dot != NULL
- && strcmp( last_dot+1, "lpcm") == 0;
---- avidemux_2.5.0/plugins/ADM_videoEncoder/ADM_vidEnc_x264/guiHelper.cpp~ 2009-07-10 13:39:52.745385459 +0200
-+++ avidemux_2.5.0/plugins/ADM_videoEncoder/ADM_vidEnc_x264/guiHelper.cpp 2009-07-10 14:00:03.432445620 +0200
-@@ -67,7 +67,7 @@
- char *nextvar;
- int i;
-
-- p = strstr(buf, name);
-+ p = strstr((char *) buf, name);
-
- if (!p)
- {
Deleted: avidemux_2.5.0-underlinking.patch
===================================================================
--- avidemux_2.5.0-underlinking.patch 2009-08-17 20:26:41 UTC (rev 49956)
+++ avidemux_2.5.0-underlinking.patch 2009-08-17 23:05:19 UTC (rev 49957)
@@ -1,103 +0,0 @@
-Index: avidemux_2.5.0/plugins/ADM_audioDecoders/ADM_ad_ac3/ADM_liba52/CMakeLists.txt
-===================================================================
---- avidemux_2.5.0/plugins/ADM_audioDecoders/ADM_ad_ac3/ADM_liba52/CMakeLists.txt
-+++ avidemux_2.5.0/plugins/ADM_audioDecoders/ADM_ad_ac3/ADM_liba52/CMakeLists.txt 2009-07-10 20:24:52.000000000 +0300
-@@ -5,9 +5,7 @@
-
- ADD_LIBRARY(${ADM_LIB} STATIC ${${ADM_LIB}_SRCS})
-
--IF (WIN32 OR APPLE)
-- TARGET_LINK_LIBRARIES(${ADM_LIB} ADM_core)
--ENDIF (WIN32 OR APPLE)
-+TARGET_LINK_LIBRARIES(${ADM_LIB} ADM_core)
-
- IF (UNIX)
- ADD_TARGET_CFLAGS(${ADM_LIB} -fPIC)
-Index: avidemux_2.5.0/plugins/ADM_audioDevices/Alsa/CMakeLists.txt
-===================================================================
---- avidemux_2.5.0/plugins/ADM_audioDevices/Alsa/CMakeLists.txt
-+++ avidemux_2.5.0/plugins/ADM_audioDevices/Alsa/CMakeLists.txt 2009-07-10 20:46:43.000000000 +0300
-@@ -4,7 +4,7 @@
- SET(ADM_av_alsa_SRCS ADM_deviceALSA.cpp)
-
- ADD_LIBRARY(ADM_av_alsa SHARED ${ADM_av_alsa_SRCS})
--TARGET_LINK_LIBRARIES(ADM_av_alsa ${ASOUND_LIBRARY})
-+TARGET_LINK_LIBRARIES(ADM_av_alsa ADM_core ADM_coreAudio ${ASOUND_LIBRARY})
-
- INIT_AUDIO_DEVICE(ADM_av_alsa)
- INSTALL_AUDIODEVICE(ADM_av_alsa)
-Index: avidemux_2.5.0/plugins/ADM_audioDevices/Arts/CMakeLists.txt
-===================================================================
---- avidemux_2.5.0/plugins/ADM_audioDevices/Arts/CMakeLists.txt
-+++ avidemux_2.5.0/plugins/ADM_audioDevices/Arts/CMakeLists.txt 2009-07-10 21:23:13.000000000 +0300
-@@ -4,7 +4,7 @@
- SET(ADM_av_arts_SRCS ADM_deviceArts.cpp)
-
- ADD_LIBRARY(ADM_av_arts SHARED ${ADM_av_arts_SRCS})
--TARGET_LINK_LIBRARIES(ADM_av_arts ${ARTS_LDFLAGS})
-+TARGET_LINK_LIBRARIES(ADM_av_arts ADM_coreAudio ${ARTS_LDFLAGS})
- ADD_DEFINITIONS(${ARTS_CFLAGS})
- INIT_AUDIO_DEVICE(ADM_av_arts)
- INSTALL_AUDIODEVICE(ADM_av_arts)
-Index: avidemux_2.5.0/plugins/ADM_audioDevices/Oss/CMakeLists.txt
-===================================================================
---- avidemux_2.5.0/plugins/ADM_audioDevices/Oss/CMakeLists.txt
-+++ avidemux_2.5.0/plugins/ADM_audioDevices/Oss/CMakeLists.txt 2009-07-10 21:14:29.000000000 +0300
-@@ -4,6 +4,7 @@
- SET(ADM_av_oss_SRCS ADM_deviceoss.cpp)
-
- ADD_LIBRARY(ADM_av_oss SHARED ${ADM_av_oss_SRCS})
-+TARGET_LINK_LIBRARIES(ADM_av_oss ADM_coreAudio)
- include_directories(${OSS_INCLUDE_DIR})
- INIT_AUDIO_DEVICE(ADM_av_oss)
- INSTALL_AUDIODEVICE(ADM_av_oss)
-Index: avidemux_2.5.0/avidemux/ADM_libraries/ADM_smjs/CMakeLists.txt
-===================================================================
---- avidemux_2.5.0/avidemux/ADM_libraries/ADM_smjs/CMakeLists.txt
-+++ avidemux_2.5.0/avidemux/ADM_libraries/ADM_smjs/CMakeLists.txt 2009-07-10 19:15:45.000000000 +0300
-@@ -14,5 +14,6 @@
- ENDIF (MINGW)
-
- ADD_TARGET_CFLAGS(${ADM_LIB} "-DNDEBUG -DTRIMMED -DEXPORT_JS_API -DJS_USE_SAFE_ARENA -D_IEEE_LIBM")
-+TARGET_LINK_LIBRARIES(${ADM_LIB} m)
-
- INSTALL(TARGETS ${ADM_LIB} RUNTIME DESTINATION ${BIN_DIR} LIBRARY DESTINATION lib ARCHIVE DESTINATION lib)
-\ Ei rivinvaihtoa tiedoston lopussa
-Index: avidemux_2.5.0/avidemux/ADM_userInterfaces/ADM_render/CMakeLists.txt
-===================================================================
---- avidemux_2.5.0/avidemux/ADM_userInterfaces/ADM_render/CMakeLists.txt
-+++ avidemux_2.5.0/avidemux/ADM_userInterfaces/ADM_render/CMakeLists.txt 2009-07-10 19:50:46.000000000 +0300
-@@ -27,6 +27,10 @@
- TARGET_LINK_LIBRARIES(${ADM_LIB}_gtk ${SDL_LIBRARY})
- ENDIF (USE_SDL)
-
-+ IF (USE_XV)
-+ TARGET_LINK_LIBRARIES(${ADM_LIB}_gtk ${XVIDEO_LIBRARY_DIR} X11 Xext)
-+ ENDIF (USE_XV)
-+
- INSTALL(TARGETS ${ADM_LIB}_gtk RUNTIME DESTINATION ${BIN_DIR} LIBRARY DESTINATION lib ARCHIVE DESTINATION lib)
- ENDIF (ADM_UI_GTK)
-
-@@ -35,6 +39,10 @@
- TARGET_LINK_LIBRARIES(${ADM_LIB}_qt4 ${SDL_LIBRARY})
- ENDIF (USE_SDL)
-
-+ IF (USE_XV)
-+ TARGET_LINK_LIBRARIES(${ADM_LIB}_qt4 ${XVIDEO_LIBRARY_DIR} X11 Xext)
-+ ENDIF (USE_XV)
-+
- INSTALL(TARGETS ${ADM_LIB}_qt4 RUNTIME DESTINATION ${BIN_DIR} LIBRARY DESTINATION lib ARCHIVE DESTINATION lib)
- ENDIF (ADM_UI_QT4)
-
-Index: avidemux_2.5.0/avidemux/ADM_core/src/CMakeLists.txt
-===================================================================
---- avidemux_2.5.0/avidemux/ADM_core/src/CMakeLists.txt
-+++ avidemux_2.5.0/avidemux/ADM_core/src/CMakeLists.txt 2009-07-10 19:06:53.000000000 +0300
-@@ -5,6 +5,7 @@
-
- ADD_LIBRARY(ADM_core SHARED ${ADM_core_SRCS})
- ADD_TARGET_DEFINITIONS(ADM_core ADM_DEBUG FIND_LEAKS)
-+TARGET_LINK_LIBRARIES(ADM_core dl)
-
- IF (MINGW)
- TARGET_LINK_LIBRARIES(ADM_core "${PTHREAD_LIBRARIES}" imagehlp ws2_32)
Deleted: avidemux_2.5.0-wrong-include.patch
===================================================================
--- avidemux_2.5.0-wrong-include.patch 2009-08-17 20:26:41 UTC (rev 49956)
+++ avidemux_2.5.0-wrong-include.patch 2009-08-17 23:05:19 UTC (rev 49957)
@@ -1,12 +0,0 @@
-Index: avidemux_2.5.0/plugins/ADM_audioEncoders/lavcodec/audioencoder_lavcodec.cpp
-===================================================================
---- avidemux_2.5.0/plugins/ADM_audioEncoders/lavcodec/audioencoder_lavcodec.cpp
-+++ avidemux_2.5.0/plugins/ADM_audioEncoders/lavcodec/audioencoder_lavcodec.cpp 2009-07-10 18:53:47.000000000 +0300
-@@ -19,7 +19,6 @@
- #include "ADM_default.h"
- #include "DIA_factory.h"
- #include "DIA_coreToolkit.h"
--#include <lame/lame.h>
- #include "audioencoder.h"
- #include "audioencoderInternal.h"
- //
More information about the arch-commits
mailing list