From: Tobias Brunner Date: Fri, 4 Jun 2010 11:41:01 +0000 (+0200) Subject: Adding autotools framework for the maemo frontend. X-Git-Tag: 4.5.0~77 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0261b12419ee24d6562e3f0e81a103ce190564c5;p=thirdparty%2Fstrongswan.git Adding autotools framework for the maemo frontend. --- diff --git a/src/frontends/maemo/Makefile.am b/src/frontends/maemo/Makefile.am new file mode 100644 index 0000000000..d01eb3c973 --- /dev/null +++ b/src/frontends/maemo/Makefile.am @@ -0,0 +1,5 @@ +EXTRA_DIST = \ + autogen.sh + +SUBDIRS = src data + diff --git a/src/frontends/maemo/NEWS b/src/frontends/maemo/NEWS new file mode 100644 index 0000000000..ffacf70981 --- /dev/null +++ b/src/frontends/maemo/NEWS @@ -0,0 +1,4 @@ +strongswan-applet-1.0.0 +----------------------- + +- Initial release diff --git a/src/frontends/maemo/autogen.sh b/src/frontends/maemo/autogen.sh new file mode 100755 index 0000000000..6039708df2 --- /dev/null +++ b/src/frontends/maemo/autogen.sh @@ -0,0 +1,5 @@ +#!/bin/sh +libtoolize --force && +aclocal && +automake -a && +autoconf diff --git a/src/frontends/maemo/configure.ac b/src/frontends/maemo/configure.ac new file mode 100644 index 0000000000..6d1d7ed448 --- /dev/null +++ b/src/frontends/maemo/configure.ac @@ -0,0 +1,54 @@ +AC_INIT(strongswan-applet, 1.0.0) +AM_INIT_AUTOMAKE + +# Programs +AC_PROG_CC +AC_PROG_INSTALL +AC_PROG_LIBTOOL + +# Headers +AC_HEADER_STDC + +# Library dependencies +PKG_CHECK_MODULES(HILDON, hildon-1 hildon-fm-2 hildon-control-panel libhildondesktop-1) +AC_SUBST(HILDON_CFLAGS) +AC_SUBST(HILDON_LIBS) + +PKG_CHECK_MODULES(DBUS, dbus-glib-1 >= 0.60) +AC_SUBST(DBUS_CFLAGS) +AC_SUBST(DBUS_LIBS) + +PKG_CHECK_MODULES(OSSO, osso-af-settings >= 0.8.5 libosso >= 0.9.17 gnome-vfs-2.0 >= 2.8.4.11 gnome-vfs-module-2.0 >= 2.8.4.11) +AC_SUBST(OSSO_CFLAGS) +AC_SUBST(OSSO_LIBS) + +# Application icon install directories +icon_18x18dir=$datadir/icons/hicolor/18x18/hildon +icon_24x24dir=$datadir/icons/hicolor/24x24/hildon +icon_32x32dir=$datadir/icons/hicolor/32x32/hildon +icon_48x48dir=$datadir/icons/hicolor/48x48/hildon +icon_scalabledir=$datadir/icons/hicolor/scalable/hildon + +# Hildon control panel plugin install directories +pluginlibdir=`$PKG_CONFIG hildon-control-panel --variable=pluginlibdir` +plugindesktopentrydir=`$PKG_CONFIG hildon-control-panel --variable=plugindesktopentrydir` + +# Hildon status widget install directories +statuslibdir=`$PKG_CONFIG libhildondesktop-1 --variable=hildondesktoplibdir` +statusdesktopentrydir=`$PKG_CONFIG libhildondesktop-1 --variable=hildonstatusmenudesktopentrydir` + +AC_SUBST(icon_18x18dir) +AC_SUBST(icon_24x24dir) +AC_SUBST(icon_32x32dir) +AC_SUBST(icon_48x48dir) +AC_SUBST(icon_scalabledir) +AC_SUBST(pluginlibdir) +AC_SUBST(plugindesktopentrydir) +AC_SUBST(statuslibdir) +AC_SUBST(statusdesktopentrydir) + +AC_OUTPUT( + Makefile \ + src/Makefile \ + data/Makefile +) diff --git a/src/frontends/maemo/data/Makefile.am b/src/frontends/maemo/data/Makefile.am new file mode 100644 index 0000000000..8b13789179 --- /dev/null +++ b/src/frontends/maemo/data/Makefile.am @@ -0,0 +1 @@ + diff --git a/src/frontends/maemo/src/Makefile.am b/src/frontends/maemo/src/Makefile.am new file mode 100644 index 0000000000..8b13789179 --- /dev/null +++ b/src/frontends/maemo/src/Makefile.am @@ -0,0 +1 @@ +