diff options
-rw-r--r-- | .cvsignore | 16 | ||||
-rw-r--r-- | AUTHORS | 0 | ||||
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | Makefile.am | 9 | ||||
-rw-r--r-- | NEWS | 0 | ||||
-rw-r--r-- | README | 35 | ||||
-rw-r--r-- | acconfig.h | 3 | ||||
-rwxr-xr-x | autogen.sh | 17 | ||||
-rw-r--r-- | configure.in | 19 | ||||
-rw-r--r-- | gnome-common.spec | 64 | ||||
-rw-r--r-- | hack-macros/gnome.m4 | 120 | ||||
-rw-r--r-- | stamp-h.in | 1 | ||||
-rw-r--r-- | stamp.h.in | 0 |
13 files changed, 0 insertions, 291 deletions
diff --git a/.cvsignore b/.cvsignore deleted file mode 100644 index de921a26..00000000 --- a/.cvsignore +++ /dev/null @@ -1,16 +0,0 @@ -Makefile.in -Makefile -aclocal.m4 -config.guess -config.h.in -config.sub -configure -ltconfig -ltmain.sh -config.log -config.h -config.cache -libtool -config.status -stamp-h -stamp.h diff --git a/AUTHORS b/AUTHORS deleted file mode 100644 index e69de29b..00000000 --- a/AUTHORS +++ /dev/null diff --git a/ChangeLog b/ChangeLog deleted file mode 100644 index 3e88fab1..00000000 --- a/ChangeLog +++ /dev/null @@ -1,7 +0,0 @@ -1998-02-19 Raja R Harinath <harinath@cs.umn.edu> - - * autogen.sh: New sample file. - * configure.in: Likewise. - * Makefile.am: Likewise. - * README: Likewise. - diff --git a/Makefile.am b/Makefile.am deleted file mode 100644 index e38ab084..00000000 --- a/Makefile.am +++ /dev/null @@ -1,9 +0,0 @@ -SUBDIRS = macros - -EXTRA_DIST = gnome-common.spec - -dist-hook: - for subdir in intl support ; do \ - mkdir $(distdir)/$$subdir ; \ - cp -pr $(srcdir)/$$subdir $(distdir) ; \ - done diff --git a/README b/README deleted file mode 100644 index 611a0a05..00000000 --- a/README +++ /dev/null @@ -1,35 +0,0 @@ -This directory contains sample files that should be in pretty much every -GNOME application. - ------------------------------------------------------------------------------ - -To make this work both for GNOME Applications inside and outside the -GNOME CVS Tree I did the following: - -* There is an `INSIDE_GNOME_COMMON' automake conditional which is defined - in two places: - - - macros/aclocal-includes.m4 defines this to always be false. - - - gnome-common/configure.in does not include anything from macros and - defines this to be true. - -* We use this automake conditional in the macros/Makefile.am to install - $(MACROS), autogen.sh, gnome-common.m4 and a newly created gnome-macros.dep - in `$(datadir)/aclocal/gnome'. - - Since aclocal doesn't look in subdirectories we can safely install them - there even when compiling from CVS. - - Also, there is no need to make any change to any existing application - in the GNOME CVS Tree - really fine ... - -* When we're outside the GNOME CVS Tree we simply need to tell aclocal that - it should also look in `$(datadir)/aclocal/gnome' and it will find all - the macros. - - The is a `gnome-skel' module in CVS that can be used as a starting point - when writing a new GNOME Application that should be used outside CVS. - -February 4, 1999, -Martin Baulig <martin@home-of-linux.org> diff --git a/acconfig.h b/acconfig.h deleted file mode 100644 index 18ea5c7f..00000000 --- a/acconfig.h +++ /dev/null @@ -1,3 +0,0 @@ -#undef VERSION -#undef PACKAGE -#undef HAVE_LIBSM diff --git a/autogen.sh b/autogen.sh deleted file mode 100755 index ba239f35..00000000 --- a/autogen.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh -# Run this to generate all the initial makefiles, etc. - -srcdir=`dirname $0` -test -z "$srcdir" && srcdir=. - -PKG_NAME="Gnome Skeleton" - -(test -f $srcdir/configure.in \ -## put other tests here -) || { - echo -n "**Error**: Directory "\`$srcdir\'" does not look like the" - echo " top-level $PKG_NAME directory" - exit 1 -} - -. $srcdir/macros/autogen.sh diff --git a/configure.in b/configure.in deleted file mode 100644 index db2d990f..00000000 --- a/configure.in +++ /dev/null @@ -1,19 +0,0 @@ -AC_INIT(intl) - -AM_CONFIG_HEADER(config.h) -AM_INIT_AUTOMAKE(gnome-common, 0.99.5) - -AM_MAINTAINER_MODE - -AM_CONDITIONAL(INSIDE_GNOME_COMMON, true) - -AC_ISC_POSIX -AC_PROG_CC -AC_PROG_CPP -AC_STDC_HEADERS -AC_ARG_PROGRAM -AM_PROG_LIBTOOL - -AC_OUTPUT([ -Makefile -macros/Makefile]) diff --git a/gnome-common.spec b/gnome-common.spec deleted file mode 100644 index b4bd5aeb..00000000 --- a/gnome-common.spec +++ /dev/null @@ -1,64 +0,0 @@ -# Note that this is NOT a relocatable package -%define ver 0.99.5 -%define rel SNAP -%define prefix /usr - -Summary: Gnome Common -Name: gnome-common -Version: %ver -Release: %rel -Copyright: LGPL -Group: X11/Libraries -Source: ftp://ftp.gnome.org/pub/GNOME/sources/gnome-common/gnome-common-%{ver}.tar.gz -BuildRoot: /tmp/gnome-common-root -URL: http://www.gnome.org -Docdir: %{prefix}/doc - -%description -This is required for every GNOME Application that is not in the -GNOME CVS Tree. - -%package devel -Summary: Required files for GNOME Applications outside CVS -Group: X11/libraries - -%description devel -This is required for every GNOME Application that is not in the -GNOME CVS Tree. - -%prep -%setup - -%build -# Needed for snapshot releases. -if [ ! -f configure ]; then - CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%prefix -else - CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix -fi - -if [ "$SMP" != "" ]; then - (make "MAKE=make -k -j $SMP"; exit 0) - make -else - make -fi - -%install -rm -rf $RPM_BUILD_ROOT - -make prefix=$RPM_BUILD_ROOT%{prefix} install - -%clean -rm -rf $RPM_BUILD_ROOT - -%files -%defattr(-, root, root) - -%doc AUTHORS COPYING ChangeLog NEWS README - -%files devel -%defattr(-, root, root) - -%{prefix}/share/aclocal/gnome/* - diff --git a/hack-macros/gnome.m4 b/hack-macros/gnome.m4 deleted file mode 100644 index 98312a34..00000000 --- a/hack-macros/gnome.m4 +++ /dev/null @@ -1,120 +0,0 @@ -AC_DEFUN(AM_PATH_GNOME, -[dnl -dnl Get the cflags and libraries from the gnome-config script -dnl -AC_ARG_WITH(gnome-prefix,[ --with-gnome-prefix=PFX Prefix where GNOME is installed (optional)], - gnome_config_prefix="$withval", gnome_config_prefix="") -AC_ARG_WITH(gnome-exec-prefix,[ --with-gnome-exec-prefix=PFX Exec prefix where GNOME is installed (optional)], - gnome_config_exec_prefix="$withval", gnome_config_exec_prefix="") -AC_ARG_ENABLE(gnometest, [ --disable-gnometest Do not try to compile and run a test GNOME program], - , enable_gnometest=yes) - - if test x$gnome_config_exec_prefix != x ; then - gnome_config_args="$gnome_config_args --exec-prefix=$gnome_config_exec_prefix" - if test x${GNOME_CONFIG+set} != xset ; then - GNOME_CONFIG=$gnome_config_exec_prefix/bin/gnome-config - fi - fi - if test x$gnome_config_prefix != x ; then - gnome_config_args="$gnome_config_args --prefix=$gnome_config_prefix" - if test x${GNOME_CONFIG+set} != xset ; then - GNOME_CONFIG=$gnome_config_prefix/bin/gnome-config - fi - fi - - AC_PATH_PROG(GNOME_CONFIG, gnome-config, no) - min_gnome_version=ifelse([$1], , 1.1.0, $1) - - AC_MSG_CHECKING(for GNOME - version >= $min_gnome_version) - no_gnome="" - if test "$GNOME_CONFIG" = "no" ; then - no_gnome=yes - else - GNOME_CFLAGS="`$GNOME_CONFIG $gnome_config_args --cflags gnome`" - GNOME_LIBS="`$GNOME_CONFIG $gnome_config_args --libs gnome`" - GNOMEUI_CFLAGS="`$GNOME_CONFIG $gnome_config_args --cflags gnomeui`" - GNOMEUI_LIBS="`$GNOME_CONFIG $gnome_config_args --libs gnomeui`" - - gnome_config_major_version=`$GNOME_CONFIG $gnome_config_args --version | \ - sed 's/[[^0-9]]*\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\1/'` - gnome_config_minor_version=`$GNOME_CONFIG $gnome_config_args --version | \ - sed 's/[[^0-9]]*\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\2/'` - gnome_config_micro_version=`$GNOME_CONFIG $gnome_config_args --version | \ - sed 's/[[^0-9]]*\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\3/'` - needed_major_version=`echo $min_gnome_version | \ - sed 's/[[^0-9]]*\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\1/'` - needed_minor_version=`echo $min_gnome_version | \ - sed 's/[[^0-9]]*\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\2/'` - needed_micro_version=`echo $min_gnome_version | \ - sed 's/[[^0-9]]*\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\3/'` - - if test $gnome_config_major_version -lt $needed_major_version; then - ifelse([$3], , :, [$3]) - no_gnome=yes - elif test $gnome_config_major_version = $needed_major_version; then - if test -n "$needed_minor_version" -a $gnome_config_minor_version -lt $needed_minor_version; then - ifelse([$3], , :, [$3]) - no_gnome=yes - elif test -n "$needed_minor_version" -a $gnome_config_minor_version = $needed_minor_version; then - if test -n "$needed_micro_version" -a $gnome_config_micro_version -lt $needed_micro_version; then - ifelse([$3], , :, [$3]) - no_gnome=yes - fi - fi - fi - fi - AC_SUBST(GNOME_CFLAGS) - AC_SUBST(GNOME_LIBS) - AC_SUBST(GNOMEUI_CFLAGS) - AC_SUBST(GNOMEUI_LIBS) - - if test "x$no_gnome" = x ; then - AC_MSG_RESULT(yes) - ifelse([$2], , :, [$2]) - else - AC_MSG_RESULT(no) - if test "$GNOME_CONFIG" = "no" ; then - echo "*** The gnome-config script installed by GNOME could not be found" - echo "*** If GNOME was installed in PREFIX, make sure PREFIX/bin is in" - echo "*** your path, or set the GNOME_CONFIG environment variable to the" - echo "*** full path to gnome-config." - else - : - fi - GNOME_CFLAGS="" - GNOME_LIBS="" - ifelse([$3], , :, [$3]) - fi - - tmp_gnome_libdir=`$GNOME_CONFIG $gnome_config_args --libdir` - for module in $4; do - if test -f $tmp_gnome_libdir/$module'Conf'.sh; then - tmp_bsnom=`echo $module | tr a-z A-Z` - eval $tmp_bsnom'_CFLAGS'=\"`$GNOME_CONFIG $gnome_config_args --cflags $module`\" - eval $tmp_bsnom'_LIBS'=\"`$GNOME_CONFIG $gnome_config_args --libs $module`\" - elif test "$module" eq zvt; then - ZVT_LIBS="`$GNOME_CONFIG $gnome_config_args --libs zvt`" - AC_SUBST(ZVT_LIBS) - elif test "$module" eq gtk; then - GTK_CFLAGS="`$GNOME_CONFIG $gnome_config_args --cflags gtk`" - GTK_LIBS="`$GNOME_CONFIG $gnome_config_args --libs gtk`" - AC_SUBST(GTK_CFLAGS) - AC_SUBST(GTK_LIBS) - elif test "$module" eq "glib"; then - GLIB_CFLAGS="`$GNOME_CONFIG $gnome_config_args --cflags glib`" - GLIB_LIBS="`$GNOME_CONFIG $gnome_config_args --libs glib`" - AC_SUBST(GLIB_CFLAGS) - AC_SUBST(GLIB_LIBS) - elif test "$module" eq "oaf"; then - OAF_CFLAGS="`$GNOME_CONFIG $gnome_config_args --cflags oaf`" - OAF_LIBS="`$GNOME_CONFIG $gnome_config_args --libs oaf`" - AC_SUBST(OAF_CFLAGS) - AC_SUBST(OAF_LIBS) - else - echo "*** $module library is not installed" - ifelse([$3], , :, [$3]) - fi - done - - rm -f conf.gnometest -]) diff --git a/stamp-h.in b/stamp-h.in deleted file mode 100644 index 9788f702..00000000 --- a/stamp-h.in +++ /dev/null @@ -1 +0,0 @@ -timestamp diff --git a/stamp.h.in b/stamp.h.in deleted file mode 100644 index e69de29b..00000000 --- a/stamp.h.in +++ /dev/null |