build system: remove option --without-mkvtoolnix-gui

This commit is contained in:
Moritz Bunkus 2015-08-15 18:53:12 +02:00
parent 64465ce72b
commit 20e26c840b
5 changed files with 10 additions and 14 deletions

View File

@ -1,5 +1,12 @@
2015-08-15 Moritz Bunkus <moritz@bunkus.org>
* build system: removal: the switch »--without-mkvtoolnix-gui« has
been removed. There are only two GUIs left in the package: the
Qt-enabled mkvinfo and MKVToolNix GUI. Both are enabled by default
and can be disabled with the option »--disable-qt«. In that case
only the text-mode version of mkvinfo is built, and the MKVToolNix
GUI is not built at all.
* Removal: all support for wxWidgets has been removed. This means
that the mkvmerge GUI (mmg) has been removed and that mkvinfo now
only supports a text-mode and a Qt-based interface.

View File

@ -43,7 +43,7 @@ require_relative "rake.d/tarball"
require_relative 'rake.d/gtest' if $have_gtest
def setup_globals
$build_mkvtoolnix_gui ||= c?(:USE_QT) && c?(:BUILD_MKVTOOLNIX_GUI)
$build_mkvtoolnix_gui ||= c?(:USE_QT)
$build_tools ||= c?(:BUILD_TOOLS)
$programs = %w{mkvmerge mkvinfo mkvextract mkvpropedit}

View File

@ -229,13 +229,6 @@ return 0;
fi
fi
AC_ARG_WITH(mkvtoolnix-gui,[AS_HELP_STRING([--without-mkvtoolnix-gui],[do not build mkvtoolnix-gui])])
if test x"$with_mkvtoolnix_gui" = xyes -o x"$with_mkvtoolnix_gui" = x; then
BUILD_MKVTOOLNIX_GUI=yes
else
BUILD_MKVTOOLNIX_GUI=no
fi
AC_PATH_PROG(LCONVERT, lconvert)
else
@ -248,8 +241,6 @@ if test x"$have_qt" != "xyes" ; then
QT_LIBS=
MOC=
UIC=
elif test x"$BUILD_MKVTOOLNIX_GUI" = "xyes" ; then
opt_features_yes="$opt_features_yes\n * mkvtoolnix-gui"
fi
AC_SUBST(MOC)
@ -257,4 +248,3 @@ AC_SUBST(UIC)
AC_SUBST(QT_CFLAGS)
AC_SUBST(QT_LIBS)
AC_SUBST(USE_QT)
AC_SUBST(BUILD_MKVTOOLNIX_GUI)

View File

@ -132,7 +132,6 @@ ZLIB_LIBS = @ZLIB_LIBS@
# Which additional stuff to compile
USE_QT = @USE_QT@
BUILD_MKVTOOLNIX_GUI = @BUILD_MKVTOOLNIX_GUI@
BUILD_TOOLS = @BUILD_TOOLS@
TRANSLATIONS = @TRANSLATIONS@

View File

@ -31,8 +31,8 @@ override_dh_clean:
rake.d/dependecy.d/*.rb src/input/*.d config.h build-config
override_dh_install:
./drake install 'install:shared' DESTDIR=$(CURDIR)/debian/tmp docdir='$${datarootdir}/doc/mkvtoolnix-gui'
./drake 'install:manpages' DESTDIR=$(CURDIR)/debian/tmp USE_QT=yes BUILD_MKVTOOLNIX_GUI=yes docdir='$${datarootdir}/doc/mkvtoolnix-gui'
./drake install 'install:shared' DESTDIR=$(CURDIR)/debian/tmp docdir='$${datarootdir}/doc/mkvtoolnix-gui'
./drake 'install:manpages' USE_QT=yes DESTDIR=$(CURDIR)/debian/tmp docdir='$${datarootdir}/doc/mkvtoolnix-gui'
dh_install --list-missing -Xmkvtoolnix.xml