From 0c774c7faccb294a418c3b71ecb63d8914a66761 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Fri, 22 Oct 2010 12:57:06 +0200 Subject: [PATCH] First try --- Makefile.am | 4 ++ antigen.sh | 9 +++++ autogen.sh | 7 ++++ configure.ac | 53 +++++++++++++++++++++++++++ data/Makefile.am | 6 +++ data/eye-on-manga.desktop | 9 +++++ data/icons/64x64/eye-on-manga.png | Bin 0 -> 4383 bytes data/icons/scalable/eye-on-manga.png | Bin 0 -> 4383 bytes src/Makefile.am | 13 +++++++ src/{Makefile => Makefile.orig} | 0 10 files changed, 101 insertions(+) create mode 100644 Makefile.am create mode 100755 antigen.sh create mode 100755 autogen.sh create mode 100644 configure.ac create mode 100644 data/Makefile.am create mode 100644 data/eye-on-manga.desktop create mode 100644 data/icons/64x64/eye-on-manga.png create mode 100644 data/icons/scalable/eye-on-manga.png create mode 100644 src/Makefile.am rename src/{Makefile => Makefile.orig} (100%) diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..9093308 --- /dev/null +++ b/Makefile.am @@ -0,0 +1,4 @@ +EXTRA_DIST = \ + autogen.sh + +SUBDIRS = src data diff --git a/antigen.sh b/antigen.sh new file mode 100755 index 0000000..8583cd4 --- /dev/null +++ b/antigen.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +if test -f Makefile; then + make distclean +fi + +rm -f *.tar.* *.tgz +rm -Rf autom4te.cache +rm -f src/Makefile.in Makefile.in aclocal.m4 configure depcomp install-sh missing build-stamp configure-stamp diff --git a/autogen.sh b/autogen.sh new file mode 100755 index 0000000..afd87cb --- /dev/null +++ b/autogen.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +set -x +aclocal-1.7 +autoconf --force +autoheader --force +automake-1.7 --add-missing --copy --force-missing --foreign diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..0475ec1 --- /dev/null +++ b/configure.ac @@ -0,0 +1,53 @@ +AC_INIT(Makefile.am) +AM_INIT_AUTOMAKE(eye-on-manga, 0.1) +AM_CONFIG_HEADER(config.h) + +AC_PROG_CC +AC_PROG_INSTALL +AC_HEADER_STDC + +# Option to enable debugging +AC_ARG_ENABLE(debug, + [AC_HELP_STRING([ --enable-debug], [Debugging (default=no)])], + [with_debug=yes], [with_debug=no]) + +if test "x$with_debug" == "xyes" ; then + CFLAGS="$CFLAGS -ggdb -O0 -DDEBUG -Wall " +else + CFLAGS="$CFLAGS -O2 -Wall " +fi + +# Hildon library dependencies +PKG_CHECK_MODULES(HILDON, hildon-1) +AC_SUBST(HILDON_LIBS) +AC_SUBST(HILDON_CFLAGS) + +# To make the application visible in maemo Task Navigator it needs a Desktop +# file for the application. +desktopentrydir=`$PKG_CONFIG osso-af-settings --variable=desktopentrydir` + +# Application pixmaps install directory +pixmapdir=`$PKG_CONFIG osso-af-settings --variable=hildonpixmapdir` + +# Application icon install directories +icon_26x26dir=$datadir/icons/hicolor/26x26/hildon +icon_34x34dir=$datadir/icons/hicolor/34x34/hildon +icon_40x40dir=$datadir/icons/hicolor/40x40/hildon +icon_50x50dir=$datadir/icons/hicolor/50x50/hildon +icon_scalabledir=$datadir/icons/hicolor/scalable/hildon + +# Define as variables in Makefile +AC_SUBST(desktopentrydir) +AC_SUBST(pixmapdir) +AC_SUBST(icon_26x26dir) +AC_SUBST(icon_34x34dir) +AC_SUBST(icon_40x40dir) +AC_SUBST(icon_50x50dir) +AC_SUBST(icon_scalabledir) + +AC_DEFINE_UNQUOTED([PIXMAPDIR], "${pixmapdir}", [Runtime pixmap files path]) +AC_OUTPUT( + Makefile \ + src\Makefile \ + data\Makefile +) diff --git a/data/Makefile.am b/data/Makefile.am new file mode 100644 index 0000000..696696c --- /dev/null +++ b/data/Makefile.am @@ -0,0 +1,6 @@ +desktopentry_DATA = eye-on-manga.desktop + +icon_48x48_DATA = icons/48x48/eye-on-manga.png +icon_scalable_DATA = icons/scalable/eye-on-manga.png + +EXTRA_DIST = $(desktopentry_DATA) $(icon_48x48_DATA) $(icon_scalable_DATA) diff --git a/data/eye-on-manga.desktop b/data/eye-on-manga.desktop new file mode 100644 index 0000000..92ae14e --- /dev/null +++ b/data/eye-on-manga.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Encoding=UTF-8 +Version=0.1 +Type=Application +Name=Eye on Manga +Exec=/usr/bin/eye-on-manga +Icon=eye-on-manga +X-Window-Icon=eye-on-manga +X-Window-Icon-Dimmed=eye-on-manga diff --git a/data/icons/64x64/eye-on-manga.png b/data/icons/64x64/eye-on-manga.png new file mode 100644 index 0000000000000000000000000000000000000000..5d620674ec5f334d1ddc8b9f5187fe9b5dd195fa GIT binary patch literal 4383 zcmV+)5#a8LP)+#z31G#H*YfU-T(Xd|Nal)|9lwE^#i0e zk{J(noHlt{Ai2>V^#@(qZv5-R>A^|o9>YRI^LGjWBsw1t#W)>EtPN5c0a8u^BqCi# zf9$79ID;mD9t%Kc7S3z}g}`v)bRif=E?5AN@DfIJYMmVh)B&U(2T17AKCZVD0A#D~2J;>pSoSHLCc?8(N3*Q_yx%lTlJ6ra5^@rm-RR}# zLNy44mQf@P#qoFzL);>7>~=%;W(%|Gg6mmG_>cl5+!RIM4N(Y-L9_nnk`yi#wYvdM zH_EDkvmFiPx0AgPOd=3!`V|01ys3>7pVX{yJrDITBU@+e4B?cpYX+@hWTG65PZ;#~ z^`WP!+biD-XEzFH!z>?yVDAkGhF%k&)Z~UCpIew)GsuKkC!>E)k4$7V!i+}zK0yma z5V;wYw5yS%GovB?rMVv9`2IeDVCXaP*&_i4=7zgFV*+1XFsO5bdLR;Hm61V{0{EMN zqVJKUBN8a$+PB~E87BzFGe&fz^Mki*iKm5|bNHfZkwJO!;^9Hvb@im{G|7N9q}DdY|a?K<=kHF387plz>4al%LbVXyTk>zBw4-DKc;g zN&NqqtuSca909?utD?fr(~50iN7?2`s@032sPQnm!e&_lC1nP1ZS}J#ShDIPMpG04 za6(pfWVmQjn94XPU!(;j82KV-(FT<}Od7zsNyG~S=kLbFbg00RT`GY{QeaHvlELf( z{=TD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