summaryrefslogtreecommitdiffstats
path: root/extra/avidemux/avidemux-2.5-i18n.patch
diff options
context:
space:
mode:
authorlesibel <lesibel@free.fr>2009-11-13 18:52:54 +0100
committerlesibel <lesibel@free.fr>2009-11-13 18:52:54 +0100
commitb441d15c46a6784ff0e031400e74d115aadf9ac0 (patch)
tree753e959005fb69cc619415584a1f6dbc8cc8c6ad /extra/avidemux/avidemux-2.5-i18n.patch
parent3b6e21a9e69d20a43b60c5d96c50060e50cbaa7a (diff)
downloadnutyx-pakxe-b441d15c46a6784ff0e031400e74d115aadf9ac0.tar.gz
nutyx-pakxe-b441d15c46a6784ff0e031400e74d115aadf9ac0.tar.bz2
nutyx-pakxe-b441d15c46a6784ff0e031400e74d115aadf9ac0.tar.xz
nutyx-pakxe-b441d15c46a6784ff0e031400e74d115aadf9ac0.zip
Ajout de avidemux#2.5.1-1
Diffstat (limited to 'extra/avidemux/avidemux-2.5-i18n.patch')
-rw-r--r--extra/avidemux/avidemux-2.5-i18n.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/extra/avidemux/avidemux-2.5-i18n.patch b/extra/avidemux/avidemux-2.5-i18n.patch
new file mode 100644
index 000000000..b36d484fc
--- /dev/null
+++ b/extra/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})