diff options
author | Marc-André Moreau <marcandre.moreau@gmail.com> | 2011-11-27 01:33:34 +0400 |
---|---|---|
committer | Marc-André Moreau <marcandre.moreau@gmail.com> | 2011-11-27 01:33:34 +0400 |
commit | 7540217198603d3f303bdedbb392bc075b84cea9 (patch) | |
tree | ff4ce8a877a56a50122ae709cdb51e4194581ec8 /remmina | |
parent | f8a12f45140b57120b126b085979d2e64b476bd5 (diff) |
cmake: removing GNU build system files
Diffstat (limited to 'remmina')
-rw-r--r-- | remmina/Makefile.am | 6 | ||||
-rwxr-xr-x | remmina/autogen.sh | 10 | ||||
-rw-r--r-- | remmina/configure.ac | 220 | ||||
-rw-r--r-- | remmina/desktop/Makefile.am | 42 | ||||
-rw-r--r-- | remmina/icons/Makefile.am | 32 | ||||
-rw-r--r-- | remmina/include/Makefile.am | 6 | ||||
-rw-r--r-- | remmina/src/Makefile.am | 49 |
7 files changed, 0 insertions, 365 deletions
diff --git a/remmina/Makefile.am b/remmina/Makefile.am deleted file mode 100644 index 66dc9e7f4..000000000 --- a/remmina/Makefile.am +++ /dev/null @@ -1,6 +0,0 @@ -## Process this file with automake to produce Makefile.in -SUBDIRS = @REMMINA_SUBDIRS@ - -pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = remmina.pc - diff --git a/remmina/autogen.sh b/remmina/autogen.sh deleted file mode 100755 index 3eec06ea7..000000000 --- a/remmina/autogen.sh +++ /dev/null @@ -1,10 +0,0 @@ -#! /bin/sh - -aclocal -autoheader --force -intltoolize -c --automake --force -automake --add-missing --copy --include-deps -autoconf - -rm -rf autom4te.cache - diff --git a/remmina/configure.ac b/remmina/configure.ac deleted file mode 100644 index c3a5f13eb..000000000 --- a/remmina/configure.ac +++ /dev/null @@ -1,220 +0,0 @@ -# -*- Autoconf -*- -# Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.60) -AC_INIT(remmina, 0.9.99.1) -AM_INIT_AUTOMAKE -AM_CONFIG_HEADER([config.h]) -AC_CONFIG_SRCDIR([src/remmina.c]) - -# Checks for programs. -AC_ISC_POSIX -AC_PROG_CC -AC_PROG_INSTALL -AC_PROG_MAKE_SET - -# Disable optimization if we enable debug -AC_ARG_ENABLE(debug, - [AS_HELP_STRING([--enable-debug], [Enable compiling in debug mode])], [ - if test "x$enableval" = "xyes"; then - CFLAGS="-g -O0" - fi] -) - -# Only use -Wall if we have gcc -if test "x$GCC" = "xyes"; then - if test -z "`echo "$CFLAGS" | grep "\-Wall" 2> /dev/null`" ; then - CFLAGS="$CFLAGS -Wall" - fi -fi - -IT_PROG_INTLTOOL([0.35.0]) - -GETTEXT_PACKAGE=remmina -AC_SUBST(GETTEXT_PACKAGE) -AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [The gettext package]) - -if test "x$USE_NLS" != "xno"; then - ALL_LINGUAS="bg ca cs da de el es eu fr hu id it kk lt nl pl pt_BR pt_PT ru sk sv th tr uk zh_CN" - nls_support="yes" -else - ALL_LINGUAS="" - nls_support="disabled." -fi - -AM_GLIB_GNU_GETTEXT - -remmina_localedir='${datadir}/locale' -AC_SUBST(remmina_localedir) - -remmina_plugindir='${libdir}/remmina/plugins' -AC_SUBST(remmina_plugindir) - -REMMINA_SUBDIRS="include src po desktop icons" - -# Checks GTK+ version. -PKG_CHECK_MODULES(GTK, [ - gtk+-3.0 -]) -remmina_pkgs="gtk+-3.0" - -# Check libavahi-ui -AC_ARG_ENABLE(avahi, - [AS_HELP_STRING([--disable-avahi], [Disable Avahi])], - [avahi_support=$enableval], - [avahi_support="yes"] -) -if test "x$avahi_support" != "xno"; then - PKG_CHECK_MODULES(AVAHI_UI, - [ - avahi-ui-gtk3 >= 0.6.30 - avahi-client >= 0.6.30 - ], [ - avahi_support="yes" - remmina_pkgs="$remmina_pkgs avahi-ui-gtk3 avahi-client" - AC_DEFINE([HAVE_LIBAVAHI_UI], [1], [Define to 1 if you have the 'avahi-ui' library (-lavahi-ui).]) - AC_DEFINE([HAVE_LIBAVAHI_CLIENT], [1], [Define to 1 if you have the 'avahi-client' library (-lavahi-client).]) - ], avahi_support="no. libavahi-ui-gtk3-dev required." - ) -else - avahi_support="disabled." -fi - -# Check libvte -AC_ARG_ENABLE(vte, - [AS_HELP_STRING([--disable-vte], [Disable VTE (Terminal)])], - [vte_support=$enableval], - [vte_support="yes"] -) -if test "x$vte_support" != "xno"; then - PKG_CHECK_MODULES(VTE, - vte-2.90, [ - vte_support="yes" - remmina_pkgs="$remmina_pkgs vte-2.90" - AC_DEFINE([HAVE_LIBVTE], [1], [Define to 1 if you have the 'vte' library (-lvte).]) - ], vte_support="no. libvte-2.90-dev required." - ) -else - vte_support="disabled." -fi - -# Check libpthread (if found I assume GThread uses pthread) -AC_CHECK_LIB(pthread, pthread_create, [ - AC_CHECK_HEADER(pthread.h, [ - pthread_support="yes" - PKG_CHECK_MODULES(GTHREAD, [gthread-2.0 >= 2.14.0]) - remmina_pkgs="$remmina_pkgs gthread-2.0" - AC_DEFINE([HAVE_PTHREAD], [1], [Define to 1 if you have the `pthread' library (-lpthread).]) - ], pthread_support="no. libpthread-dev required.") -],[ - pthread_support="no. libpthread required." -]) - -# Check libssh -AC_ARG_ENABLE(ssh, - [AS_HELP_STRING([--disable-ssh], [Disable SSH])], - [ssh_support=$enableval], - [ssh_support="yes"] -) -if test "x$ssh_support" != "xno"; then - if test "$pthread_support" = "yes"; then - AC_CHECK_LIB(ssh, ssh_options_set, [ - AC_CHECK_HEADER(libssh/libssh.h, [ - ssh_support="yes" - AC_DEFINE([HAVE_LIBSSH], [1], [Define to 1 if you have the `ssh' library (-lssh).]) - LIBS="-lssh $LIBS" - ], ssh_support="no. libssh-dev required.") - ], ssh_support="no. libssh >= 0.4 required.") - else - ssh_support="no. Multi-threaded support required." - fi -else - ssh_support="disabled." -fi - -# Check libgcrypt -AC_ARG_ENABLE(gcrypt, - [AS_HELP_STRING([--disable-gcrypt], [Disable GCrypt])], - [gcrypt_support=$enableval], - [gcrypt_support="yes"] -) -if test "x$gcrypt_support" != "xno"; then - AM_PATH_LIBGCRYPT(1.4.0,[ - gcrypt_support="yes" - AC_DEFINE([HAVE_LIBGCRYPT], [1], [Define to 1 if you have the `gcrypt' library (-lgcrypt).]) - ],[ - gcrypt_support="no. libgcrypt-dev required." - ]) -else - gcrypt_support="disabled." -fi - -# Check libappindicator -AC_ARG_ENABLE(appindicator, - [AS_HELP_STRING([--disable-appindicator], [Disable application indicators])], - [appindicator_support=$enableval], - [appindicator_support="yes"] -) -if test "x$appindicator_support" != "xno"; then - PKG_CHECK_MODULES(APP_INDICATOR, - appindicator3-0.1, [ - appindicator_support="yes" - remmina_pkgs="$remmina_pkgs appindicator3-0.1" - AC_DEFINE([HAVE_LIBAPPINDICATOR], [1], [Define to 1 if you have the 'appindicator' library (-lappindicator).]) - ], appindicator_support="no. libappindicator3-dev required." - ) -else - appindicator_support="disabled." -fi - -# Merge all PKG checks here -PKG_CHECK_MODULES(REMMINA, [ - $remmina_pkgs -]) -AC_SUBST(REMMINA_CFLAGS) -AC_SUBST(REMMINA_LIBS) - -AC_SUBST(REMMINA_SUBDIRS) - -# Checks for header files. -AC_CHECK_HEADERS_ONCE( - netdb.h - arpa/inet.h - netinet/in.h - sys/socket.h - sys/un.h - fcntl.h - errno.h - termios.h -) - -# Checks for typedefs, structures, and compiler characteristics. - -# Checks for library functions. - -AC_CONFIG_FILES([ -Makefile -remmina.pc -include/Makefile -src/Makefile -po/Makefile.in -desktop/Makefile -icons/Makefile -]) - -AC_OUTPUT - -echo -echo "Remmina configure result:" -echo -echo "* NLS support: $nls_support" -echo "* Multi-threaded support: $pthread_support" -echo "* SSH support: $ssh_support" -echo "* Avahi support: $avahi_support" -echo "* Terminal support: $vte_support" -echo "* Encryption support: $gcrypt_support" -echo "* Application indicator support: $appindicator_support" -echo -echo "Type \"make\" to compile remmina." -echo - diff --git a/remmina/desktop/Makefile.am b/remmina/desktop/Makefile.am deleted file mode 100644 index 98bf6c899..000000000 --- a/remmina/desktop/Makefile.am +++ /dev/null @@ -1,42 +0,0 @@ -## Process this file with automake to produce Makefile.in - -desktopdir = $(datadir)/applications -desktop_in_files = remmina.desktop.in -desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) -@INTLTOOL_DESKTOP_RULE@ - -icon16dir = $(datadir)/icons/hicolor/16x16/apps -icon16_DATA = 16x16/apps/remmina.png -icon22dir = $(datadir)/icons/hicolor/22x22/apps -icon22_DATA = 22x22/apps/remmina.png -icon24dir = $(datadir)/icons/hicolor/24x24/apps -icon24_DATA = 24x24/apps/remmina.png -icon32dir = $(datadir)/icons/hicolor/32x32/apps -icon32_DATA = 32x32/apps/remmina.png -icon48dir = $(datadir)/icons/hicolor/48x48/apps -icon48_DATA = 48x48/apps/remmina.png -iconsvgdir = $(datadir)/icons/hicolor/scalable/apps -iconsvg_DATA = scalable/apps/remmina.svg -gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor -install-data-hook: update-icon-cache -uninstall-hook: update-icon-cache -update-icon-cache: - @-if test -z "$(DESTDIR)"; then \ - echo "Updating Gtk icon cache."; \ - $(gtk_update_icon_cache); \ - else \ - echo "*** Icon cache not updated. After (un)install, run this:"; \ - echo "*** $(gtk_update_icon_cache)"; \ - fi - -EXTRA_DIST = \ - $(desktop_in_files) \ - $(icon16_DATA) \ - $(icon22_DATA) \ - $(icon24_DATA) \ - $(icon32_DATA) \ - $(icon48_DATA) \ - $(iconsvg_DATA) -CLEANFILES = \ - $(desktop_DATA) - diff --git a/remmina/icons/Makefile.am b/remmina/icons/Makefile.am deleted file mode 100644 index 42cb31bbe..000000000 --- a/remmina/icons/Makefile.am +++ /dev/null @@ -1,32 +0,0 @@ -## Process this file with automake to produce Makefile.in - -appicon16actionsdir = ${pkgdatadir}/icons/hicolor/16x16/actions -appicon16actions_DATA = \ - 16x16/actions/remmina-fit-window.png \ - 16x16/actions/remmina-scale.png \ - 16x16/actions/remmina-fullscreen.png \ - 16x16/actions/remmina-switch-page.png \ - 16x16/actions/remmina-pin-up.png \ - 16x16/actions/remmina-pin-down.png - -appicon16emblemsdir = ${pkgdatadir}/icons/hicolor/16x16/emblems -appicon16emblems_DATA = \ - 16x16/emblems/remmina-sftp.png - -appicon22actionsdir = ${pkgdatadir}/icons/hicolor/22x22/actions -appicon22actions_DATA = \ - 22x22/actions/remmina-fit-window.png \ - 22x22/actions/remmina-scale.png \ - 22x22/actions/remmina-fullscreen.png \ - 22x22/actions/remmina-switch-page.png - -appicon22emblemsdir = ${pkgdatadir}/icons/hicolor/22x22/emblems -appicon22emblems_DATA = \ - 22x22/emblems/remmina-sftp.png - -EXTRA_DIST = \ - $(appicon16actions_DATA) \ - $(appicon16emblems_DATA) \ - $(appicon22actions_DATA) \ - $(appicon22emblems_DATA) - diff --git a/remmina/include/Makefile.am b/remmina/include/Makefile.am deleted file mode 100644 index b0efde3e0..000000000 --- a/remmina/include/Makefile.am +++ /dev/null @@ -1,6 +0,0 @@ -## Process this file with automake to produce Makefile.in - -# plugin development files -includedir = $(prefix)/include/remmina -include_HEADERS = remmina/plugin.h remmina/types.h - diff --git a/remmina/src/Makefile.am b/remmina/src/Makefile.am deleted file mode 100644 index 0fb50a780..000000000 --- a/remmina/src/Makefile.am +++ /dev/null @@ -1,49 +0,0 @@ -## Process this file with automake to produce Makefile.in -bin_PROGRAMS = remmina - -INCLUDES = -I$(top_srcdir)/include \ - @REMMINA_CFLAGS@ @LIBGCRYPT_CFLAGS@ \ - -DREMMINA_LOCALEDIR=\"$(remmina_localedir)\" \ - -DREMMINA_PLUGINDIR=\"$(remmina_plugindir)\" \ - -DGETTEXT_PACKAGE=\"$(GETTEXT_PACKAGE)\" \ - -DREMMINA_DATADIR=\"$(pkgdatadir)\" - -remmina_SOURCES = remmina.c \ - remminamain.h remminamain.c \ - remminapublic.h remminapublic.c \ - remminafile.h remminafile.c \ - remminafilemanager.h remminafilemanager.c \ - remminafileeditor.h remminafileeditor.c \ - remminascrolledviewport.h remminascrolledviewport.c \ - remminaconnectionwindow.h remminaconnectionwindow.c \ - remminaprotocolwidget.h remminaprotocolwidget.c \ - remminainitdialog.h remminainitdialog.c \ - remminaabout.h remminaabout.c \ - remminapref.h remminapref.c \ - remminastringarray.h remminastringarray.c \ - remminastringlist.h remminastringlist.c \ - remminaprefdialog.h remminaprefdialog.c \ - remminassh.h remminassh.c \ - remminasshplugin.h remminasshplugin.c \ - remminachatwindow.h remminachatwindow.c \ - remminamarshals.h remminamarshals.c \ - remminaftpclient.h remminaftpclient.c \ - remminasftpclient.h remminasftpclient.c \ - remminasftpplugin.h remminasftpplugin.c \ - remminacrypt.h remminacrypt.c \ - remminachainbutton.h remminachainbutton.c \ - remminascaler.h remminascaler.c \ - remminawidgetpool.h remminawidgetpool.c \ - remminapluginmanager.h remminapluginmanager.c \ - remminalog.h remminalog.c \ - remminakeychooser.h remminakeychooser.c \ - remminaexec.h remminaexec.c \ - remminaicon.h remminaicon.c \ - remminaavahi.h remminaavahi.c \ - remminaappletmenuitem.h remminaappletmenuitem.c \ - remminaappletmenu.h remminaappletmenu.c - -remmina_LDADD = @REMMINA_LIBS@ @LIBGCRYPT_LIBS@ - -EXTRA_DIST = remminamarshals.list - |