gnome-specimen r51 - in trunk-from-bzr: . data po src
- From: wbolster svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-specimen r51 - in trunk-from-bzr: . data po src
- Date: Tue, 17 Jun 2008 18:42:05 +0000 (UTC)
Author: wbolster
Date: Tue Jun 17 18:42:05 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:
trunk-from-bzr/Makefile.am
trunk-from-bzr/autogen.sh (contents, props changed)
trunk-from-bzr/configure.ac
trunk-from-bzr/data/
trunk-from-bzr/data/Makefile.am
trunk-from-bzr/data/gnome-specimen.desktop.in.in
trunk-from-bzr/src/
trunk-from-bzr/src/Makefile.am
trunk-from-bzr/src/gnome-specimen.in (contents, props changed)
- copied, changed from r50, /trunk-from-bzr/gnome-specimen
trunk-from-bzr/src/specimenwindow.py
- copied, changed from r50, /trunk-from-bzr/specimenwindow.py
Removed:
trunk-from-bzr/gnome-specimen
trunk-from-bzr/specimenwindow.py
Modified:
trunk-from-bzr/ (props changed)
trunk-from-bzr/po/POTFILES.in
Added: trunk-from-bzr/Makefile.am
==============================================================================
--- (empty file)
+++ trunk-from-bzr/Makefile.am Tue Jun 17 18:42:05 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: trunk-from-bzr/autogen.sh
==============================================================================
--- (empty file)
+++ trunk-from-bzr/autogen.sh Tue Jun 17 18:42:05 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: trunk-from-bzr/configure.ac
==============================================================================
--- (empty file)
+++ trunk-from-bzr/configure.ac Tue Jun 17 18:42:05 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: trunk-from-bzr/data/Makefile.am
==============================================================================
--- (empty file)
+++ trunk-from-bzr/data/Makefile.am Tue Jun 17 18:42:05 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: trunk-from-bzr/data/gnome-specimen.desktop.in.in
==============================================================================
--- (empty file)
+++ trunk-from-bzr/data/gnome-specimen.desktop.in.in Tue Jun 17 18:42:05 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: trunk-from-bzr/po/POTFILES.in
==============================================================================
--- trunk-from-bzr/po/POTFILES.in (original)
+++ trunk-from-bzr/po/POTFILES.in Tue Jun 17 18:42:05 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: trunk-from-bzr/src/Makefile.am
==============================================================================
--- (empty file)
+++ trunk-from-bzr/src/Makefile.am Tue Jun 17 18:42:05 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: trunk-from-bzr/src/gnome-specimen.in (from r50, /trunk-from-bzr/gnome-specimen)
==============================================================================
--- /trunk-from-bzr/gnome-specimen (original)
+++ trunk-from-bzr/src/gnome-specimen.in Tue Jun 17 18:42:05 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: trunk-from-bzr/src/specimenwindow.py (from r50, /trunk-from-bzr/specimenwindow.py)
==============================================================================
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]