gnome-specimen r51 - in branches/import-from-bzr: . data po src



Author: wbolster
Date: Tue Jun 17 18:52:42 2008
New Revision: 51
URL: http://svn.gnome.org/viewvc/gnome-specimen?rev=51&view=rev

Log:
* The "break all things" commit. Urgh, autotools needs some
  serious loving before stuff starts to work again... :(


Added:
   branches/import-from-bzr/Makefile.am
   branches/import-from-bzr/autogen.sh   (contents, props changed)
   branches/import-from-bzr/configure.ac
   branches/import-from-bzr/data/
   branches/import-from-bzr/data/Makefile.am
   branches/import-from-bzr/data/gnome-specimen.desktop.in.in
   branches/import-from-bzr/src/
   branches/import-from-bzr/src/Makefile.am
   branches/import-from-bzr/src/gnome-specimen.in   (contents, props changed)
      - copied, changed from r50, /branches/import-from-bzr/gnome-specimen
   branches/import-from-bzr/src/specimenwindow.py
      - copied, changed from r50, /branches/import-from-bzr/specimenwindow.py
Removed:
   branches/import-from-bzr/gnome-specimen
   branches/import-from-bzr/specimenwindow.py
Modified:
   branches/import-from-bzr/   (props changed)
   branches/import-from-bzr/po/POTFILES.in

Added: branches/import-from-bzr/Makefile.am
==============================================================================
--- (empty file)
+++ branches/import-from-bzr/Makefile.am	Tue Jun 17 18:52:42 2008
@@ -0,0 +1,18 @@
+
+.PHONY: ChangeLog
+
+SUBDIRS = data po src
+
+ChangeLog:
+	bzr log --forward > $<
+
+EXTRA_DIST = \
+	ChangeLog
+	intltool-extract.in \
+	intltool-merge.in \
+	intltool-update.in
+
+DISTCLEANFILES = \
+        intltool-extract \
+        intltool-merge \
+        intltool-update

Added: branches/import-from-bzr/autogen.sh
==============================================================================
--- (empty file)
+++ branches/import-from-bzr/autogen.sh	Tue Jun 17 18:52:42 2008
@@ -0,0 +1,24 @@
+#!/bin/sh
+# Run this to generate all the initial makefiles, etc.
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+PKG_NAME="gnome-specimen"
+REQUIRED_AUTOCONF_VERSION=2.53
+REQUIRED_AUTOMAKE_VERSION=1.7.2
+
+(test -f $srcdir/configure.ac \
+  && test -f $srcdir/src/specimenwindow.py) || {
+    echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
+    echo " top-level $PKG_NAME directory"
+    exit 1
+}
+
+which gnome-autogen.sh || {
+    echo "You need to install the gnome-common module and make"
+    echo "sure the gnome-autogen.sh script is in your \$PATH."
+    exit 1
+}
+
+USE_GNOME2_MACROS=1 . gnome-autogen.sh

Added: branches/import-from-bzr/configure.ac
==============================================================================
--- (empty file)
+++ branches/import-from-bzr/configure.ac	Tue Jun 17 18:52:42 2008
@@ -0,0 +1,35 @@
+AC_PREREQ(2.53)
+
+AC_INIT([gnome-specimen], [0.1])
+AC_CONFIG_SRCDIR(specimenwindow.py)
+AM_INIT_AUTOMAKE([1.7])
+AM_MAINTAINER_MODE
+
+dnl i18n
+GETTEXT_PACKAGE=gnome-specimen
+AC_SUBST([GETTEXT_PACKAGE])
+AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], "$GETTEXT_PACKAGE", [Gettext package])
+AM_GLIB_GNU_GETTEXT
+IT_PROG_INTLTOOL([0.35.0])
+
+dnl dependencies
+AM_PATH_PYTHON
+PKG_CHECK_MODULES(pygtk, pygtk-2.0 >= 2.6.0)
+
+# fixup the prefix expansion
+EXEC_PREFIX_TMP="$exec_prefix"
+EXPANDED_EXEC_PREFIX=`eval echo $EXEC_PREFIX_TMP`
+AC_SUBST(EXPANDED_EXEC_PREFIX)
+
+
+AC_CONFIG_FILES([
+Makefile
+src/gnome-specimen
+data/Makefile
+po/Makefile.in
+src/Makefile
+])
+
+AC_OUTPUT([
+data/gnome-specimen.desktop.in
+])

Added: branches/import-from-bzr/data/Makefile.am
==============================================================================
--- (empty file)
+++ branches/import-from-bzr/data/Makefile.am	Tue Jun 17 18:52:42 2008
@@ -0,0 +1,11 @@
+ INTLTOOL_DESKTOP_RULE@
+
+desktop_in_files = gnome-specimen.desktop.in.in
+desktopdir = $(datadir)/applications
+desktop_DATA = $(desktop_in_files:.desktop.in.in=.desktop)
+
+EXTRA_DIST = \
+$(desktop_in_files)
+
+DISTCLEANFILES = \
+$(desktop_DATA)

Added: branches/import-from-bzr/data/gnome-specimen.desktop.in.in
==============================================================================
--- (empty file)
+++ branches/import-from-bzr/data/gnome-specimen.desktop.in.in	Tue Jun 17 18:52:42 2008
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Encoding=UTF-8
+_Name=Specimen Font Preview
+_GenericName=Font Previewer
+_Comment=Preview en compare fonts
+Exec=gnome-specimen
+StartupNotify=false
+Terminal=false
+Type=Application
+Icon=fonts
+Categories=GTK;GNOME;Application;Graphics

Modified: branches/import-from-bzr/po/POTFILES.in
==============================================================================
--- branches/import-from-bzr/po/POTFILES.in	(original)
+++ branches/import-from-bzr/po/POTFILES.in	Tue Jun 17 18:52:42 2008
@@ -1,3 +1,3 @@
 # List of source files containing translatable strings.
 # Please keep this list in alphabetic order.
-specimenwindow.py
+src/specimenwindow.py

Added: branches/import-from-bzr/src/Makefile.am
==============================================================================
--- (empty file)
+++ branches/import-from-bzr/src/Makefile.am	Tue Jun 17 18:52:42 2008
@@ -0,0 +1,13 @@
+
+bin_SCRIPTS = gnome-specimen
+
+EXTRA_DIST = \
+	gnome-specimen.in
+
+CLEANFILES = \
+	gnome-specimen
+
+#gnome-specimen: gnome-specimen.in Makefile
+#	sed -e s!\ pyexecdir\@! pyexecdir@! -e s!\ PYTHON\@! PYTHON@! < $< > $@
+#	chmod a+x $@
+

Copied: branches/import-from-bzr/src/gnome-specimen.in (from r50, /branches/import-from-bzr/gnome-specimen)
==============================================================================
--- /branches/import-from-bzr/gnome-specimen	(original)
+++ branches/import-from-bzr/src/gnome-specimen.in	Tue Jun 17 18:52:42 2008
@@ -17,8 +17,17 @@
 # License along with this library; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA+
 
-PACKAGE="gnome-specimen"
-VERSION="0.1"
+PACKAGE   = "@PACKAGE_NAME@"
+VERSION   = "@PACKAGE_VERSION@"
+
+LOCALEDIR = "@LOCALEDIR@"
+DATADIR   = "@DATADIR@"
+GLADEDIR  = "@GLADEDIR@"
+
+
+import sys
+if not "@pyexecdir@" in sys.path:
+        sys.path.insert (0, "@pyexecdir@")
 
 import gettext
 import locale

Copied: branches/import-from-bzr/src/specimenwindow.py (from r50, /branches/import-from-bzr/specimenwindow.py)
==============================================================================



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]