Browse files

New: Adding Autoconf ;)

  • Loading branch information...
1 parent 34d78ea commit 3b0446e805323f4ff0150282701d7cacfb20827a @adzymaniac adzymaniac committed Jul 12, 2011
View
0 ChangeLog
No changes.
View
2 MAINTAINERS
@@ -0,0 +1,2 @@
+Tim Pengembang BlankOn
+E-mail:
View
32 Makefile
@@ -1,32 +0,0 @@
-SOURCES=panel-item.vala \
- main.vala \
- panel-abstract-window.vala \
- panel-window.vala \
- panel-menu-box.vala \
- panel-button.vala \
- panel-menu-content.vala \
- panel-tray.vala \
- panel-scrollable-content.vala \
- panel-animated-adjustment.vala \
- panel-clock.vala \
- panel-places.vala \
-
-LIBS= --pkg atk --pkg gdk-x11-3.0 --pkg gee-1.0 --pkg cairo --pkg gtk+-3.0 --pkg gio-unix-2.0 --pkg libgnome-menu --pkg gdk-3.0 -X "-DGMENU_I_KNOW_THIS_IS_UNSTABLE" --pkg libwnck-3.0 -X "-DWNCK_I_KNOW_THIS_IS_UNSTABLE"
-BIN=blankon-panel
-
-PREFIX=$(INSTALL_DIR)/usr
-BINDIR=$(PREFIX)/bin
-
-$(BIN):
- valac -o $(BIN) $(SOURCES) $(LIBS) --vapidir vapi
-
-all: $(BIN)
-
-clean:
- rm -f $(BIN)
-
-dirinstall:
- install -d $(BINDIR)
-
-install: dirinstall
- install $(BIN) $(BINDIR)
View
33 Makefile.am
@@ -0,0 +1,33 @@
+NULL =
+
+#Build in these directories:
+
+SUBDIRS = \
+ src \
+ po \
+ $(NULL)
+
+blankon_paneldocdir = ${prefix}/doc/blankon_panel
+blankon_paneldoc_DATA = \
+ ChangeLog \
+ README \
+ COPYING \
+ AUTHORS \
+ INSTALL \
+ NEWS\
+ $(NULL)
+
+EXTRA_DIST = \
+ $(blankon_paneldoc_DATA) \
+ intltool-extract.in \
+ intltool-merge.in \
+ intltool-update.in\
+ $(NULL)
+
+DISTCLEANFILES = \
+ intltool-extract \
+ intltool-merge \
+ intltool-update \
+ po/.intltool-merge-cache \
+ $(NULL)
+
View
0 NEWS
No changes.
View
0 README
No changes.
View
9 autogen.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+# Run this to generate all the initial makefiles, etc.
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+PKG_NAME="blankon-panel"
+
+. gnome-autogen.sh
View
37 configure.ac
@@ -0,0 +1,37 @@
+AC_INIT([blankon-panel], [0.1.0], [], [blankon-panel])
+AC_CONFIG_SRCDIR([Makefile.am])
+AC_CONFIG_HEADERS(config.h)
+AM_INIT_AUTOMAKE([dist-bzip2])
+AM_MAINTAINER_MODE
+
+AC_PROG_CC
+AM_PROG_CC_C_O
+AC_DISABLE_STATIC
+AC_PROG_LIBTOOL
+
+AC_PATH_PROG(VALAC, valac, valac)
+AC_SUBST(VALAC)
+
+AH_TEMPLATE([GETTEXT_PACKAGE], [Package name for gettext])
+GETTEXT_PACKAGE=blankon-panel
+AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE")
+AC_SUBST(GETTEXT_PACKAGE)
+AM_GLIB_GNU_GETTEXT
+IT_PROG_INTLTOOL([0.35.0])
+
+AC_SUBST(CFLAGS)
+AC_SUBST(CPPFLAGS)
+AC_SUBST(LDFLAGS)
+
+GLIB_REQUIRED=2.12.0
+GTK_REQUIRED=2.18.0
+
+PKG_CHECK_MODULES(BLANKON_PANEL, glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED gtk+-2.0 >= $GTK_REQUIRED)
+AC_SUBST(BLANKON_PANEL_CFLAGS)
+AC_SUBST(BLANKON_PANEL_LIBS)
+
+AC_CONFIG_FILES([Makefile
+ src/Makefile
+ po/Makefile.in])
+
+AC_OUTPUT
View
0 po/ChangeLog
No changes.
View
2 po/LINGUAS
@@ -0,0 +1,2 @@
+# please keep this list sorted alphabetically
+#
View
3 po/POTFILES.in
@@ -0,0 +1,3 @@
+[encoding: UTF-8]
+# List of source files which contain translatable strings.
+src/main.vala
View
1 po/POTFILES.skip
@@ -0,0 +1 @@
+src/main.c
View
25 src/Makefile.am
@@ -0,0 +1,25 @@
+NULL =
+
+AM_CPPFLAGS = \
+ $(BLANKON_PANEL_CFLAGS) \
+ -include $(CONFIG_HEADER) \
+ $(NULL)
+
+bin_PROGRAMS = blankon_panel
+
+blankon_panel_SOURCES = \
+ main.vala \
+ $(NULL)
+
+blankon_panel_VALAFLAGS = --pkg gtk+-2.0
+
+blankon_panel_LDADD = \
+ $(BLANKON_PANEL_LIBS) \
+ $(NULL)
+
+EXTRA_DIST = \
+ $(NULL)
+
+DISTCLEANFILES = \
+ $(NULL)
+
View
0 blankon-panel.css → src/blankon-panel.css
File renamed without changes.
View
0 main.vala → src/main.vala
File renamed without changes.
View
0 panel-abstract-window.vala → src/panel-abstract-window.vala
File renamed without changes.
View
0 panel-animated-adjustment.vala → src/panel-animated-adjustment.vala
File renamed without changes.
View
0 panel-button.vala → src/panel-button.vala
File renamed without changes.
View
0 panel-clock.vala → src/panel-clock.vala
File renamed without changes.
View
0 panel-item.vala → src/panel-item.vala
File renamed without changes.
View
0 panel-menu-box.vala → src/panel-menu-box.vala
File renamed without changes.
View
0 panel-menu-content.vala → src/panel-menu-content.vala
File renamed without changes.
View
0 panel-places.vala → src/panel-places.vala
File renamed without changes.
View
0 panel-scrollable-content.vala → src/panel-scrollable-content.vala
File renamed without changes.
View
0 panel-tray.vala → src/panel-tray.vala
File renamed without changes.
View
0 panel-window.vala → src/panel-window.vala
File renamed without changes.

0 comments on commit 3b0446e

Please sign in to comment.