move to automake 1.9 and several cleanups (Fixes bug #341056). Patch from

2006-05-10  Lucas Rocha  <lucasr@gnome.org>

	* .cvsignore, Makefile.am, autogen.sh, configure.in,
	data/Makefile.am, po/.cvsignore, src/Makefile.am: move to
	automake 1.9 and several cleanups (Fixes bug #341056).
	Patch from Christian Persch <chpe@gnome.org>.
This commit is contained in:
Lucas Rocha 2006-05-10 03:37:14 +00:00 committed by Lucas Almeida Rocha
parent c8da127a67
commit 59b5bad794
8 changed files with 98 additions and 98 deletions

View File

@ -1,29 +1,29 @@
Makefile
Makefile.in
aclocal.m4
autom4te.cache
intltool-update
intltool-update.in
intltool-merge
intltool-merge.in
*.bz2
compile
config.h
config.h.in
config.log
config.status
configure
depcomp
gnome-doc-utils.make
*.gz
INSTALL
install-sh
intltool-extract
intltool-extract.in
intltool-merge
intltool-merge.in
intltool-modules
config.status
config.log
config.h.in
config.h
configure
stamp-h.in
stamp-h1
stamp-h
zenity.spec
omf.make
xmldocs.make
*.gz
mkinstalldirs
intltool-update
intltool-update.in
Makefile
Makefile.in
missing
install-sh
depcomp
INSTALL
gnome-doc-utils.make
mkinstalldirs
stamp-h
stamp-h1
stamp-h.in
zenity.spec

View File

@ -1,3 +1,10 @@
2006-05-10 Lucas Rocha <lucasr@gnome.org>
* .cvsignore, Makefile.am, autogen.sh, configure.in,
data/Makefile.am, po/.cvsignore, src/Makefile.am: move to
automake 1.9 and several cleanups (Fixes bug #341056).
Patch from Christian Persch <chpe@gnome.org>.
2006-04-29 Lucas Rocha <lucasr@gnome.org>
* configure.in: post release version bump.

View File

@ -1,23 +1,3 @@
#
# FIXME:
# currently scrollkeeper-update does not seem to
# remove its database when there is no useful
# information contained there. Therefore, with
# "make uninstall" you're left with loads of
# stuff in /var/scrollkeeper and distcheck
# fails.
#
# http://mail.gnome.org/archives/gnome-doc-list/2003-May/msg00008.html
#
# This overrides the uninstall check so distcheck
# passes
#
# distuninstallcheck_listfiles = find . -type f -print | grep -v 'scrollkeeper' | grep -v 'omf' | grep -v 'figures'
distuninstallcheck:
@:
distcleancheck_listfiles = find . -type f -print | grep -v 'omf\.out' | grep -v 'legal.xml'
SUBDIRS = \
src \
po \
@ -25,13 +5,12 @@ SUBDIRS = \
help
EXTRA_DIST = \
autogen.sh \
intltool-extract.in \
intltool-merge.in \
intltool-update.in \
zenity.spec \
zenity.spec.in \
omf.make \
xmldocs.make \
COPYING \
HACKING \
ChangeLog \

View File

@ -5,7 +5,7 @@ srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
PKG_NAME="zenity"
REQUIRED_AUTOMAKE_VERSION=1.7
REQUIRED_AUTOMAKE_VERSION=1.9
(test -f $srcdir/configure.in \
&& test -f $srcdir/ChangeLog \
@ -20,4 +20,4 @@ which gnome-autogen.sh || {
echo "You need to install gnome-common from the GNOME CVS"
exit 1
}
USE_GNOME2_MACROS=1 USE_COMMON_DOC_BUILD=yes . gnome-autogen.sh
USE_GNOME2_MACROS=1 . gnome-autogen.sh

View File

@ -1,8 +1,13 @@
AC_PREREQ(2.53)
AC_INIT(src)
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE(zenity, 2.15.2)
AC_INIT([Zenity],[2.15.2],[http://bugzilla.gnome.org/enter_bug.cgi?product=zenity],[zenity])
AC_PREREQ([2.59])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_SRCDIR([src])
AM_INIT_AUTOMAKE([1.9 foreign dist-bzip2 no-dist-gzip])
GNOME_COMMON_INIT
GNOME_DOC_INIT
AM_MAINTAINER_MODE
@ -11,62 +16,58 @@ IT_PROG_INTLTOOL([0.34.90])
AC_PROG_CC
GTK_REQUIRED=2.6.0
GTK_REQUIRED=2.9.0
PKG_CHECK_MODULES(ZENITY, gtk+-2.0 >= $GTK_REQUIRED libglade-2.0 libgnomecanvas-2.0 glib-2.0 >= 2.7.3)
AC_SUBST(ZENITY_CFLAGS)
AC_SUBST(ZENITY_LIBS)
PKG_CHECK_MODULES([ZENITY],[gtk+-2.0 >= $GTK_REQUIRED libglade-2.0 libgnomecanvas-2.0 glib-2.0])
AC_SUBST([ZENITY_CFLAGS])
AC_SUBST([ZENITY_LIBS])
dnl ***********************************************
dnl scrollkeeper checks
dnl ***********************************************
# *******************************
# perl check
# *******************************
AC_PATH_PROG(SCROLLKEEPER_CONFIG, scrollkeeper-config,no)
if test x$SCROLLKEEPER_CONFIG = xno; then
AC_MSG_ERROR(Couldn't find scrollkeeper-config. Please install the scrollkeeper package)
fi
AC_PATH_PROG([PERL],[perl],)
dnl *******************************
dnl perl check
dnl *******************************
# *******************************
# libnotify check
# *******************************
AC_PATH_PROG(PERL,perl,)
LIBNOTIFY_REQUIRED=0.3.2
PKG_CHECK_MODULES([LIBNOTIFY],[libnotify >= $LIBNOTIFY_REQUIRED],
[HAVE_LIBNOTIFY="yes"],[HAVE_LIBNOTIFY="no"])
AC_SUBST([LIBNOTIFY_CFLAGS])
AC_SUBST([LIBNOTIFY_LIBS])
dnl *******************************
dnl libnotify check
dnl *******************************
PKG_CHECK_MODULES(LIBNOTIFY, libnotify >= 0.3.2,
HAVE_LIBNOTIFY="yes", HAVE_LIBNOTIFY="no")
if test "x$HAVE_LIBNOTIFY" = "xyes"; then
ZENITY_CFLAGS="$ZENITY_CFLAGS $LIBNOTIFY_CFLAGS"
ZENITY_LIBS="$ZENITY_LIBS $LIBNOTIFY_LIBS"
AC_SUBST(ZENITY_CFLAGS)
AC_SUBST(ZENITY_LIBS)
AC_DEFINE(HAVE_LIBNOTIFY, 1, [libnotify is available on this machine])
AC_DEFINE([HAVE_LIBNOTIFY],[1],[libnotify is available on this machine])
fi
dnl *******************************
dnl Internationalization
dnl *******************************
# *******************************
# Debug
# *******************************
GNOME_DEBUG_CHECK
GNOME_COMPILE_WARNINGS([maximum])
# *******************************
# Internationalization
# *******************************
GETTEXT_PACKAGE=zenity
AC_SUBST(GETTEXT_PACKAGE)
AC_SUBST([GETTEXT_PACKAGE])
AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],["$GETTEXT_PACKAGE"],[Gettext domain])
AM_GLIB_GNU_GETTEXT
dnl **************************************************************
dnl AM_GLIB_GNU_GETTEXT above substs $DATADIRNAME
dnl this is the directory where the *.{mo,gmo} files are installed
dnl **************************************************************
# *******************************
zenitylocaledir='${prefix}/${DATADIRNAME}/locale'
AC_SUBST(zenitylocaledir)
AC_SUBST([AM_CPPFLAGS])
AC_SUBST([AM_CFLAGS])
AC_SUBST([AM_LDFLAGS])
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Finding gettext package])
# *******************************
AC_DEFINE_UNQUOTED(GNOME_ICONDIR, "${prefix}/share/pixmaps", [Determining icon location])
AC_OUTPUT([
AC_CONFIG_FILES([
Makefile
zenity.spec
po/Makefile.in
@ -75,3 +76,5 @@ src/gdialog
data/Makefile
help/Makefile
])
AC_OUTPUT

View File

@ -6,7 +6,7 @@ clothes_DATA = \
surfboard.png \
hawaii-shirt.png
imagesdir = $(datadir)/zenity/
imagesdir = $(datadir)/zenity
images_DATA = \
zenity.png \
zenity-calendar.png \

View File

@ -11,3 +11,4 @@ po2tbl.sed
po2tbl.sed.in
messages
missing
stamp-it

View File

@ -15,21 +15,31 @@ zenity_SOURCES = \
text.c \
progress.c \
tree.c \
notification.c \
eggtrayicon.c \
eggtrayicon.h \
eggtrayicon.c \
notification.c \
about.c \
util.h \
util.c
INCLUDES = \
$(ZENITY_CFLAGS) \
zenity_CPPFLAGS = \
-I$(includedir) \
-DGNOMELOCALEDIR=\""$(zenitylocaledir)"\" \
-DZENITY_DATADIR=\""$(datadir)/zenity"\"
-DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
-DZENITY_DATADIR=\""$(pkgdatadir)"\" \
$(AM_CPPFLAGS)
zenity_CFLAGS = \
$(ZENITY_CFLAGS) \
$(LIBNOTIFY_CFLAGS) \
$(WARN_CFLAGS) \
$(AM_CFLAGS)
zenity_LDFLAGS = \
$(AM_LDFLAGS)
zenity_LDADD = \
$(ZENITY_LIBS) \
$(LIBNOTIFY_LIBS) \
$(X_LIBS)
gladedir = $(datadir)/zenity