Mercurial > hg > octave-nkf
changeset 16244:b74c4e967f76
gui: remove binary language files from repo and generate them during build
* configure.ac: check for lrelease
* libgui/Makefile.am: new rule for generating qm-files from ts-files
* libgui/languages/*.qm: removed binary language files
author | Torsten <ttl@justmail.de> |
---|---|
date | Sun, 10 Mar 2013 20:31:16 +0100 |
parents | 428da5debfe4 |
children | b1b01c69967e |
files | configure.ac libgui/Makefile.am libgui/languages/be_BY.qm libgui/languages/de_DE.qm libgui/languages/en_US.qm libgui/languages/es_ES.qm libgui/languages/nl_NL.qm libgui/languages/pt_BR.qm libgui/languages/ru_RU.qm libgui/languages/uk_UA.qm |
diffstat | 10 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.ac +++ b/configure.ac @@ -2587,11 +2587,12 @@ AC_CHECK_PROGS(MOC, [moc-qt5 moc-qt4 moc]) AC_CHECK_PROGS(UIC, [uic-qt5 uic-qt4 uic]) AC_CHECK_PROGS(RCC, [rcc]) - if test -n "$MOC" && test -n "$UIC" && test -n "$RCC"; then + AC_CHECK_PROGS(LRELEASE, [lrelease]) + if test -n "$MOC" && test -n "$UIC" && test -n "$RCC" && test -n "$LRELEASE"; then AC_DEFINE(HAVE_QT, 1, - [Define to 1 if Qt is available (libraries, developer header files, utility programs (moc, uic, and rcc))]) + [Define to 1 if Qt is available (libraries, developer header files, utility programs (moc, uic, rcc, and lrelease))]) else - AC_MSG_WARN([Qt utility programs moc, uic, and rcc not found -- disabling GUI]) + AC_MSG_WARN([Qt utility programs moc, uic, rcc, and lrelease not found -- disabling GUI]) build_gui=no fi fi
--- a/libgui/Makefile.am +++ b/libgui/Makefile.am @@ -90,3 +90,5 @@ qrc-%.cc: %.qrc @RCC@ -o $@ $< +%.qm: %.ts + @LRELEASE@ $<
deleted file mode 100644 index a35ad51bdced45d06f08300f4c0ec4c2af9e8ab8..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 GIT binary patch literal 0 Hc$@<O00001
deleted file mode 100644 index 8e57ee6fe4548f8e16f7319ea374c252cb7fa9c2..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 GIT binary patch literal 0 Hc$@<O00001
deleted file mode 100644 --- a/libgui/languages/en_US.qm +++ /dev/null @@ -1,1 +0,0 @@ -<¸dÊÍ!¿`¡½Ý \ No newline at end of file
deleted file mode 100644 index f9805860aa6acb5f9432c6b05b899e4ad66f32d7..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 GIT binary patch literal 0 Hc$@<O00001
deleted file mode 100644 index 227c6c5d0d4da9dba6307beddfec61359f373601..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 GIT binary patch literal 0 Hc$@<O00001
deleted file mode 100644 index 204461ebb4eb0630b0bdc0139df5be07b9be8968..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 GIT binary patch literal 0 Hc$@<O00001