diff options
author | tnut <thierryn1 at hispeed dot ch> | 2010-05-03 22:29:06 +0200 |
---|---|---|
committer | tnut <thierryn1 at hispeed dot ch> | 2010-05-03 22:29:06 +0200 |
commit | 0a7d4d3281280fcad93483e479ce585c52f00631 (patch) | |
tree | 7b8fce2a59ca8d41e41cd7d942a48dafd47fa7f9 /test/avidemux | |
parent | 0f1f4c72af832acb6763699a84395bf3a650cb7c (diff) | |
download | nutyx-extra-0a7d4d3281280fcad93483e479ce585c52f00631.tar.gz nutyx-extra-0a7d4d3281280fcad93483e479ce585c52f00631.tar.bz2 nutyx-extra-0a7d4d3281280fcad93483e479ce585c52f00631.tar.xz nutyx-extra-0a7d4d3281280fcad93483e479ce585c52f00631.zip |
avidemux dans test
Diffstat (limited to 'test/avidemux')
-rw-r--r-- | test/avidemux/.footprint | 189 | ||||
-rw-r--r-- | test/avidemux/.md5sum | 2 | ||||
-rw-r--r-- | test/avidemux/Pkgfile | 41 | ||||
-rw-r--r-- | test/avidemux/avidemux-2.5-i18n.patch | 40 |
4 files changed, 272 insertions, 0 deletions
diff --git a/test/avidemux/.footprint b/test/avidemux/.footprint new file mode 100644 index 000000000..8684966b2 --- /dev/null +++ b/test/avidemux/.footprint @@ -0,0 +1,189 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/avidemux2_cli +-rwxr-xr-x root/root usr/bin/avidemux2_gtk +-rwxr-xr-x root/root usr/bin/avidemux2_qt4 +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/ADM_plugins/ +drwxr-xr-x root/root usr/lib/ADM_plugins/audioDecoder/ +-rwxr-xr-x root/root usr/lib/ADM_plugins/audioDecoder/libADM_ad_Mad.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/audioDecoder/libADM_ad_a52.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/audioDecoder/libADM_ad_faad.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/audioDecoder/libADM_ad_vorbis.so +drwxr-xr-x root/root usr/lib/ADM_plugins/audioDevices/ +-rwxr-xr-x root/root usr/lib/ADM_plugins/audioDevices/libADM_av_alsa.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/audioDevices/libADM_av_esd.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/audioDevices/libADM_av_oss.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/audioDevices/libADM_av_sdl.so +drwxr-xr-x root/root usr/lib/ADM_plugins/audioEncoders/ +-rwxr-xr-x root/root usr/lib/ADM_plugins/audioEncoders/libADM_ae_faac.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/audioEncoders/libADM_ae_lame.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/audioEncoders/libADM_ae_lav_ac3.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/audioEncoders/libADM_ae_lav_mp2.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/audioEncoders/libADM_ae_pcm.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/audioEncoders/libADM_ae_twolame.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/audioEncoders/libADM_ae_vorbis.so +drwxr-xr-x root/root usr/lib/ADM_plugins/videoEncoder/ +drwxr-xr-x root/root usr/lib/ADM_plugins/videoEncoder/avcodec/ +-rw-r--r-- root/root usr/lib/ADM_plugins/videoEncoder/avcodec/Mpeg1Param.xsd +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoEncoder/libADM_vidEnc_avcodec.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoEncoder/libADM_vidEnc_xvid.so +drwxr-xr-x root/root usr/lib/ADM_plugins/videoEncoder/xvid/ +-rw-r--r-- root/root usr/lib/ADM_plugins/videoEncoder/xvid/XvidParam.xsd +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoEncoder/xvid/libADM_vidEnc_Xvid_Gtk.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoEncoder/xvid/libADM_vidEnc_Xvid_Qt.so +drwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/ +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_Crop_gtk.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_Deinterlace.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_Delta.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_Denoise.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_FluxSmooth.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_Hue_cli.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_Mosaic.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_Pulldown.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_Stabilize.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_Tisophote.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_Whirl.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_addborders.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_asharp_cli.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_asharp_gtk.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_asharp_qt4.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_avisynthResize_cli.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_avisynthResize_gtk.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_avisynthResize_qt4.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_blackenBorders.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_blendDgBob.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_blendRemoval.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_chromaShift_gtk.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_chromaShift_qt4.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_chromashift_cli.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_cnr2_cli.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_cnr2_gtk.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_cnr2_qt4.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_colorYUV_cli.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_colorYUV_gtk.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_colorYUV_qt4.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_contrast_cli.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_contrast_gtk.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_contrast_qt4.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_crop_cli.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_crop_qt4.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_curveEditor_qt4.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_decimate.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_denoise3d.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_denoise3dhq.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_dropOut.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_eq2_cli.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_eq2_gtk.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_eq2_qt4.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_equalizer_cli.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_equalizer_gtk.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_equalizer_qt4.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_fade.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_fastconvolutiongauss.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_fastconvolutionmean.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_fastconvolutionmedian.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_fastconvolutionsharpen.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_forcedPP.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_hue_gtk.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_hue_qt4.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_hzStackField.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_keepEvenField.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_keepOddField.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_kernelDeint.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_largemedian.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_lavDeinterlace.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_lumaonly.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_mSharpen.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_mSmooth.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_mcdeint.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_mergeField.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_mpdelogo_cli.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_mpdelogo_gtk.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_mpdelogo_qt4.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_mplayerResize_cli.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_mplayerResize_gtk.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_mplayerResize_qt4.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_palShift.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_resampleFps.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_reverse.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_rotate.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_separateField.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_smartPalShift.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_smartSwapField.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_soften.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_ssa.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_stackField.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_sub_cli.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_sub_gtk.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_sub_qt4.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_swapField.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_swapuv.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_tdeint.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_telecide.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_unstackField.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_vflip.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_vlad.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vf_yadif.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vidChromaU.so +-rwxr-xr-x root/root usr/lib/ADM_plugins/videoFilter/libADM_vidChromaV.so +-rw-r--r-- root/root usr/lib/libADM5avcodec.so.52 +-rw-r--r-- root/root usr/lib/libADM5avformat.so.52 +-rw-r--r-- root/root usr/lib/libADM5avutil.so.50 +-rw-r--r-- root/root usr/lib/libADM5postproc.so.51 +-rw-r--r-- root/root usr/lib/libADM5swscale.so.0 +-rwxr-xr-x root/root usr/lib/libADM_UICli.so +-rwxr-xr-x root/root usr/lib/libADM_UIGtk.so +-rwxr-xr-x root/root usr/lib/libADM_UIQT4.so +-rwxr-xr-x root/root usr/lib/libADM_core.so +-rwxr-xr-x root/root usr/lib/libADM_coreAudio.so +-rwxr-xr-x root/root usr/lib/libADM_coreImage.so +-rwxr-xr-x root/root usr/lib/libADM_coreUI.so +-rwxr-xr-x root/root usr/lib/libADM_render_cli.so +-rwxr-xr-x root/root usr/lib/libADM_render_gtk.so +-rwxr-xr-x root/root usr/lib/libADM_render_qt4.so +-rwxr-xr-x root/root usr/lib/libADM_smjs.so +lrwxrwxrwx root/root usr/lib/libADM_vidEnc_x264.so -> /usr/lib/ADM_plugins/videoEncoder/libADM_vidEnc_x264.so +lrwxrwxrwx root/root usr/lib/libADM_vidEnc_xvid.so -> /usr/lib/ADM_plugins/videoEncoder/libADM_vidEnc_xvid.so +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/ADM_scripts/ +drwxr-xr-x root/root usr/share/ADM_scripts/auto/ +drwxr-xr-x root/root usr/share/ADM_scripts/auto/Apple/ +-rw-r--r-- root/root usr/share/ADM_scripts/auto/Apple/Apple iPhone.js +-rw-r--r-- root/root usr/share/ADM_scripts/auto/Apple/Apple iPod 5.5G.js +-rw-r--r-- root/root usr/share/ADM_scripts/auto/Apple/Apple iPod.js +-rw-r--r-- root/root usr/share/ADM_scripts/auto/Microsoft Zune.js +-rw-r--r-- root/root usr/share/ADM_scripts/auto/Sony PlayStation Portable.js +drwxr-xr-x root/root usr/share/ADM_scripts/video/ +-rw-r--r-- root/root usr/share/ADM_scripts/video/autoWizard.js +-rw-r--r-- root/root usr/share/ADM_scripts/video/filter.js +-rw-r--r-- root/root usr/share/ADM_scripts/video/functions.js +drwxr-xr-x root/root usr/share/applications/ +-rw-r--r-- root/root usr/share/applications/avidemux.desktop +drwxr-xr-x root/root usr/share/avidemux/ +drwxr-xr-x root/root usr/share/avidemux/i18n/ +-rw-r--r-- root/root usr/share/avidemux/i18n/avidemux_ca.qm +-rw-r--r-- root/root usr/share/avidemux/i18n/avidemux_cs.qm +-rw-r--r-- root/root usr/share/avidemux/i18n/avidemux_de.qm +-rw-r--r-- root/root usr/share/avidemux/i18n/avidemux_el.qm +-rw-r--r-- root/root usr/share/avidemux/i18n/avidemux_es.qm +-rw-r--r-- root/root usr/share/avidemux/i18n/avidemux_fr.qm +-rw-r--r-- root/root usr/share/avidemux/i18n/avidemux_it.qm +-rw-r--r-- root/root usr/share/avidemux/i18n/avidemux_ja.qm +-rw-r--r-- root/root usr/share/avidemux/i18n/avidemux_pl.qm +-rw-r--r-- root/root usr/share/avidemux/i18n/avidemux_pt_BR.qm +-rw-r--r-- root/root usr/share/avidemux/i18n/avidemux_ru.qm +-rw-r--r-- root/root usr/share/avidemux/i18n/avidemux_sr.qm +-rw-r--r-- root/root usr/share/avidemux/i18n/avidemux_sr@latin.qm +-rw-r--r-- root/root usr/share/avidemux/i18n/avidemux_tr.qm +-rw-r--r-- root/root usr/share/avidemux/i18n/avidemux_zh_TW.qm +-rw-r--r-- root/root usr/share/avidemux/i18n/qt_cs.qm +-rw-r--r-- root/root usr/share/avidemux/i18n/qt_fr.qm +-rw-r--r-- root/root usr/share/avidemux/i18n/qt_it.qm +-rw-r--r-- root/root usr/share/avidemux/i18n/qt_zh_TW.qm +drwxr-xr-x root/root usr/share/locale/ +drwxr-xr-x root/root usr/share/locale/fr/ +drwxr-xr-x root/root usr/share/locale/fr/LC_MESSAGES/ +-rw-r--r-- root/root usr/share/locale/fr/LC_MESSAGES/avidemux.mo +drwxr-xr-x root/root usr/share/pixmaps/ +-rw-r--r-- root/root usr/share/pixmaps/avidemux.png diff --git a/test/avidemux/.md5sum b/test/avidemux/.md5sum new file mode 100644 index 000000000..55e101d3f --- /dev/null +++ b/test/avidemux/.md5sum @@ -0,0 +1,2 @@ +0adb7cee81e06bfc454baf1d8fbcdd64 avidemux-2.5-i18n.patch +9027e1324c06e833e6c3c22298503cc7 avidemux_2.5.2.tar.gz diff --git a/test/avidemux/Pkgfile b/test/avidemux/Pkgfile new file mode 100644 index 000000000..a1df30775 --- /dev/null +++ b/test/avidemux/Pkgfile @@ -0,0 +1,41 @@ +# Description: Editeur Video +# URL: http://fixounet.free.fr/avidemux/ +# Maintainer: NuTyX core team +# Packager: lesibel at free dot fr +# Depends on: gtk, qt, faac, lame, libvorbis, xorg-libxv, libxml2, sdl, cmake, x264, xvid, avahi + +name=avidemux +version=2.5.2 +release=2 +source=(http://download.berlios.de/avidemux/avidemux_$version.tar.gz avidemux-2.5-i18n.patch) + +build() +{ + cd ${name}_${version} + patch -p1 < ../avidemux-2.5-i18n.patch + mkdir build + cd build + cmake -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release -D NO_GTK=0 -D NO_QT4=0 .. + make + make DESTDIR=$PKG install + + mkdir -p lib + cd lib + find ../avidemux -name '*.so*' | xargs ln -sft . || return 1 + cd ../../plugins + mkdir build + cd build + cmake -D CMAKE_INSTALL_PREFIX=/usr -D AVIDEMUX_SOURCE_DIR=$SRC/avidemux_$version \ + -D AVIDEMUX_CORECONFIG_DIR=$SRC/avidemux_$version/build/config \ + -D AVIDEMUX_INSTALL_PREFIX=$SRC/avidemux_$version/build -D CMAKE_BUILD_TYPE=Release .. + make + make DESTDIR=$PKG install + + ln -s /usr/lib/ADM_plugins/videoEncoder/libADM_vidEnc_xvid.so $PKG/usr/lib/libADM_vidEnc_xvid.so + ln -s /usr/lib/ADM_plugins/videoEncoder/libADM_vidEnc_x264.so $PKG/usr/lib/libADM_vidEnc_x264.so + + install -D -m644 ../../avidemux_icon.png $PKG/usr/share/pixmaps/avidemux.png + install -D -m644 ../../avidemux2.desktop $PKG/usr/share/applications/avidemux.desktop +# install -D -m644 ../../man/avidemux.1 $PKG/usr/share/man/man1/avidemux.1 + +} diff --git a/test/avidemux/avidemux-2.5-i18n.patch b/test/avidemux/avidemux-2.5-i18n.patch new file mode 100644 index 000000000..b36d484fc --- /dev/null +++ b/test/avidemux/avidemux-2.5-i18n.patch @@ -0,0 +1,40 @@ +diff -Naur avidemux_2.5.0.orig/avidemux/ADM_userInterfaces/ADM_QT4/ui_support.cpp avidemux_2.5.0/avidemux/ADM_userInterfaces/ADM_QT4/ui_support.cpp +--- avidemux_2.5.0.orig/avidemux/ADM_userInterfaces/ADM_QT4/ui_support.cpp 2009-07-11 21:12:49.000000000 -0400 ++++ avidemux_2.5.0/avidemux/ADM_userInterfaces/ADM_QT4/ui_support.cpp 2009-07-11 21:14:03.000000000 -0400 +@@ -73,7 +73,7 @@ + #ifdef __APPLE__
+ QString appdir = QCoreApplication::applicationDirPath() + "/../Resources/locale/";
+ #else
+- QString appdir = QCoreApplication::applicationDirPath() + "/i18n/";
++ QString appdir = "/usr/share/avidemux/i18n/";
+ #endif
+
+ loadTranslation(&qtTranslator, appdir + "qt_" + QLocale::system().name());
+@@ -164,4 +164,4 @@ + }
+
+ return "Qt";
+-} +\ No newline at end of file ++}
+diff -Naur avidemux_2.5.0.orig/cmake/Ts.cmake avidemux_2.5.0/cmake/Ts.cmake +--- avidemux_2.5.0.orig/cmake/Ts.cmake 2009-07-11 21:12:51.000000000 -0400 ++++ avidemux_2.5.0/cmake/Ts.cmake 2009-07-11 21:22:34.000000000 -0400 +@@ -64,7 +64,7 @@ +
+ SET(qm_files ${qm_files} ${_outXml} ${_out})
+
+- INSTALL(FILES ${_out} DESTINATION "${CMAKE_INSTALL_PREFIX}/${BIN_DIR}/i18n")
++ INSTALL(FILES ${_out} DESTINATION "${CMAKE_INSTALL_PREFIX}/share/avidemux/i18n")
+ ENDFOREACH(ts_input ${ts_files})
+
+ SET(${_sources} ${${_sources}} ${qm_files})
+@@ -95,7 +95,7 @@ +
+ SET(qm_files ${qm_files} ${_out})
+
+- INSTALL(FILES ${_out} DESTINATION "${CMAKE_INSTALL_PREFIX}/${BIN_DIR}/i18n")
++ INSTALL(FILES ${_out} DESTINATION "${CMAKE_INSTALL_PREFIX}/share/avidemux/i18n")
+ ENDFOREACH(ts_input ${ts_files})
+
+ SET(${_sources} ${${_sources}} ${qm_files})
|