aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2008-10-29 17:16:49 -0500
committerTed Gould <ted@canonical.com>2008-10-29 17:16:49 -0500
commit9c2e7b6066f217e3879067a6f2b368de98c5fd8e (patch)
tree753009d866ef2bd1d9bd7bdf2bdedf6bf39b4ef2
downloadlibayatana-indicator-9c2e7b6066f217e3879067a6f2b368de98c5fd8e.tar.gz
libayatana-indicator-9c2e7b6066f217e3879067a6f2b368de98c5fd8e.tar.bz2
libayatana-indicator-9c2e7b6066f217e3879067a6f2b368de98c5fd8e.zip
Basic build system, not quite working though
-rw-r--r--Makefile.am3
-rwxr-xr-xautogen.sh10
-rw-r--r--configure.ac50
-rw-r--r--po/POTFILES.in2
-rw-r--r--src/Makefile.am11
-rw-r--r--src/applet-main.c0
6 files changed, 76 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..49e02dc
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,3 @@
+
+SUBDIRS = \
+ src
diff --git a/autogen.sh b/autogen.sh
new file mode 100755
index 0000000..4ac8609
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+PKG_NAME="indicator-applet"
+
+which gnome-autogen.sh || {
+ echo "You need gnome-common from GNOME SVN"
+ exit 1
+}
+
+. gnome-autogen.sh
diff --git a/configure.ac b/configure.ac
new file mode 100644
index 0000000..74fbab9
--- /dev/null
+++ b/configure.ac
@@ -0,0 +1,50 @@
+
+AC_INIT(src/applet-main.c)
+
+AC_PREREQ(2.53)
+
+AM_CONFIG_HEADER(config.h)
+AM_INIT_AUTOMAKE(indicator-applet, 0.1)
+
+AM_MAINTAINER_MODE
+
+IT_PROG_INTLTOOL([0.35.0])
+AC_ISC_POSIX
+AC_PROG_CC
+AC_STDC_HEADERS
+AC_PROG_LIBTOOL
+
+AC_SUBST(VERSION)
+AC_CONFIG_MACRO_DIR([m4])
+
+###########################
+# Dependencies
+###########################
+
+GTK_REQUIRED_VERSION=2.12
+PANEL_REQUIRED_VERSION=2.0.0
+
+PKG_CHECK_MODULES(APPLET, gtk+-2.0 >= $GTK_REQUIRED_VERSION
+ libpanelapplet-2.0 >= $PANEL_REQUIRED_VERSION)
+AC_SUBST(APPLET_CFLAGS)
+AC_SUBST(APPLET_LIBS)
+
+###########################
+# Files
+###########################
+
+AC_OUTPUT([
+Makefile
+src/Makefile
+])
+
+###########################
+# Results
+###########################
+
+AC_MSG_NOTICE([
+
+Indicator Applet Configuration:
+
+ Prefix: $prefix
+])
diff --git a/po/POTFILES.in b/po/POTFILES.in
new file mode 100644
index 0000000..5ddca2b
--- /dev/null
+++ b/po/POTFILES.in
@@ -0,0 +1,2 @@
+[encoding: UTF-8]
+src/applet-main.c
diff --git a/src/Makefile.am b/src/Makefile.am
new file mode 100644
index 0000000..c680a09
--- /dev/null
+++ b/src/Makefile.am
@@ -0,0 +1,11 @@
+
+libexec_PROGRAMS = \
+ indicator-applet
+
+indicator_applet_CFLAGS = \
+ -DG_LOG_DOMAIN=\""Indicator-Applet"\" \
+ $(APPLET_CFLAGS)
+
+indicator_applet_SOURCES = \
+ applet-main.c
+
diff --git a/src/applet-main.c b/src/applet-main.c
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/applet-main.c