Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

autotoolize

  • Loading branch information...
commit d527dd5c378d68847ff358dde6a78f66928d4b26 1 parent 84c27ee
@tagoh tagoh authored
View
3  .gitignore
@@ -1,3 +0,0 @@
-*\.pyc
-*~
-*\.desktop
View
0  AUTHOR → AUTHORS
File renamed without changes
View
5 MANIFEST.in
@@ -1,5 +0,0 @@
-include AUTHOR
-include COPYING
-include fonts-tweak-tool.desktop
-include fontstweak/fontstools.ui
-include fontstweak/locale-list
View
82 Makefile.am
@@ -0,0 +1,82 @@
+NULL =
+AUTOMAKE_OPTIONS = \
+ dist-bzip2 \
+ $(NULL)
+SUBDIRS = \
+ data \
+ fontstweak \
+ po \
+ $(NULL)
+EXTRA_DIST = \
+ $(desktop_in_files) \
+ $(bin_SCRIPTS) \
+ $(NULL)
+MAINTAINERCLEANFILES = \
+ $(srcdir)/INSTALL \
+ $(srcdir)/aclocal.m4 \
+ $(srcdir)/autoscan.log \
+ $(srcdir)/compile \
+ $(srcdir)/config.guess \
+ $(srcdir)/config.sub \
+ $(srcdir)/install-sh \
+ $(srcdir)/ltmain.sh \
+ $(srcdir)/missing \
+ $(srcdir)/mkinstalldirs \
+ $(srcdir)/ChangeLog \
+ `find "$(srcdir)" -type f -name Makefile.in -print` \
+ $(NULL)
+DISTCLEANFILES = \
+ $(desktop_DATA) \
+ $(NULL)
+CLEANFILES = \
+ $(desktop_DATA) \
+ $(NULL)
+
+##
+desktopdir = $(datadir)/applications
+desktop_in_files = \
+ fonts-tweak-tool.desktop.in \
+ $(NULL)
+desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
+@INTLTOOL_DESKTOP_RULE@
+
+##
+bin_SCRIPTS = \
+ fonts-tweak-tool \
+ $(NULL)
+
+##
+all-local:
+ $(PYTHON) setup.py build
+
+##
+install-exec-local:
+ $(PYTHON) setup.py install --root=$(DESTDIR) --prefix=$(prefix)
+
+##
+uninstall-local:
+ rm -f $(DESTDIR)/$(pythondir)/fonts_tweak_tool*.egg-info
+
+##
+clean-local:
+ -$(PYTHON) setup.py clean --all
+
+##
+ChangeLog: $(srcdir)/ChangeLog
+$(srcdir)/ChangeLog:
+ $(AM_VN_GEN) if test -d "$(srcdir)/.git"; then \
+ (GIT_DIR=$(top_srcdir)/.git ./missing --run \
+ git log --stat) | fmt --split-only > $@.tmp \
+ && mv -f $@.tmp $@ \
+ || ($(RM) $@.tmp; \
+ echo Failed to generate ChangeLog. your ChangeLog may be outdatged >&2; \
+ (test -f $@ || echo git-log is required to genereate this file >> $@)); \
+ else \
+ test -f $@ || \
+ (echo A git checkout and git-log is required to genereate ChangeLog >&2 && \
+ echo A git checkout and git-log is required to genereate this file >> $@); \
+ fi
+
+.PHONY: $(srcdir)/ChangeLog
+
+-include $(top_srcdir)/git.mk
View
0  NEWS
No changes.
View
21 autogen.sh
@@ -0,0 +1,21 @@
+#!/bin/sh
+# Run this to generate all the initial makefiles, etc.
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+PKG_NAME="fonts-tweak-tool"
+
+(test -f $srcdir/configure.ac \
+ && test -f $srcdir/README \
+ && test -d $srcdir/fontstweak) || {
+ 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 gnome-common from the GNOME CVS"
+ exit 1
+}
+REQUIRED_AUTOMAKE_VERSION=1.11 . gnome-autogen.sh
View
33 configure.ac
@@ -0,0 +1,33 @@
+dnl Process this file with autoconf to produce a configure script.
+AC_PREREQ(2.62)
+AC_INIT([fonts-tweak-tool], 0.0.2, [http://github.com/jamesni/fonts-tweak-tool/issues])
+
+AM_INIT_AUTOMAKE
+AM_MAINTAINER_MODE
+
+AC_PROG_LIBTOOL
+AC_PROG_INTLTOOL
+
+AM_PATH_PYTHON
+
+dnl ======================================================================
+dnl gettext stuff
+dnl ======================================================================
+GETTEXT_PACKAGE=$PACKAGE
+AC_SUBST(GETTEXT_PACKAGE)
+AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Gettext package])
+
+AM_GLIB_GNU_GETTEXT
+
+dnl ======================================================================
+dnl output
+dnl ======================================================================
+AC_CONFIG_COMMANDS([chmod-scripts],
+ [chmod 0755 fonts-tweak-tool])
+AC_CONFIG_FILES([
+ Makefile
+ data/Makefile
+ fontstweak/Makefile
+ po/Makefile.in
+])
+AC_OUTPUT
View
19 data/Makefile.am
@@ -0,0 +1,19 @@
+NULL =
+EXTRA_DIST = \
+ $(ui_DATA) \
+ $(localelist_DATA) \
+ $(NULL)
+
+##
+uidir = $(datadir)/fonts-tweak-tool
+ui_DATA = \
+ fontstools.ui \
+ $(NULL)
+
+##
+localelistdir = $(datadir)/fonts-tweak-tool
+localelist_DATA = \
+ locale-list \
+ $(NULL)
+
+-include $(top_srcdir)/git.mk
View
0  fontstweak/fontstools.ui → data/fontstools.ui
File renamed without changes
View
0  fontstweak/locale-list → data/locale-list
File renamed without changes
View
16 fontstweak/Makefile.am
@@ -0,0 +1,16 @@
+NULL =
+EXTRA_DIST = \
+ $(pyscripts_sources) \
+ $(NULL)
+DISTCLEANFILES = \
+ *.pyc \
+ *.pyo \
+ $(NULL)
+
+##
+pyscript_sources = \
+ __init__.py \
+ tool.py \
+ $(NULL)
+
+-include $(top_srcdir)/git.mk
View
0  po/LINGUAS
No changes.
View
2  po/POTFILES.in
@@ -1,2 +1,2 @@
-[type: gettext/glade]fontstweak/fontstools.ui
+[type: gettext/glade]data/fontstools.ui
fonts-tweak-tool.desktop.in
View
62 po/fonts-tweak-tool.pot
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-02-14 18:24+0900\n"
+"POT-Creation-Date: 2012-02-16 16:32+0900\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -17,55 +17,89 @@ msgstr ""
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
-#: ../fontstweak/fontstools.ui.h:1
+#: ../data/fontstools.ui.h:1
msgid "<b>Alias fonts:</b>"
msgstr ""
-#: ../fontstweak/fontstools.ui.h:2
+#: ../data/fontstools.ui.h:2
+msgid ""
+"<span font_size=\"small\" font_family=\"cursive"
+"\">abcdefghijklmnopqrstuvwxyz</span>"
+msgstr ""
+
+#: ../data/fontstools.ui.h:3
+msgid ""
+"<span font_size=\"small\" font_family=\"fantasy"
+"\">abcdefghijklmnopqrstuvwxyz</span>"
+msgstr ""
+
+#: ../data/fontstools.ui.h:4
+msgid ""
+"<span font_size=\"small\" font_family=\"monospace"
+"\">abcdefghijklmnopqrstuvwxyz</span>"
+msgstr ""
+
+#: ../data/fontstools.ui.h:5
+msgid ""
+"<span font_size=\"small\" font_family=\"sans-serif"
+"\">abcdefghijklmnopqrstuvwxyz</span>"
+msgstr ""
+
+#: ../data/fontstools.ui.h:6
+msgid ""
+"<span font_size=\"small\" font_family=\"serif\">abcdefghijklmnopqrstuvwxyz</"
+"span>"
+msgstr ""
+
+#: ../data/fontstools.ui.h:7
+msgid "<span font_size=\"small\">Sample: </span>"
+msgstr ""
+
+#: ../data/fontstools.ui.h:8
msgid "Add a language"
msgstr ""
-#: ../fontstweak/fontstools.ui.h:3
+#: ../data/fontstools.ui.h:9
msgid "Cursive:"
msgstr ""
-#: ../fontstweak/fontstools.ui.h:4
+#: ../data/fontstools.ui.h:10
msgid "Fantasy:"
msgstr ""
-#: ../fontstweak/fontstools.ui.h:5
+#: ../data/fontstools.ui.h:11
msgid "Language Selection"
msgstr ""
-#: ../fontstweak/fontstools.ui.h:6
+#: ../data/fontstools.ui.h:12
msgid "Monospace:"
msgstr ""
-#: ../fontstweak/fontstools.ui.h:7
+#: ../data/fontstools.ui.h:13
msgid "Please select a language"
msgstr ""
-#: ../fontstweak/fontstools.ui.h:8
+#: ../data/fontstools.ui.h:14
msgid "Remove the language"
msgstr ""
-#: ../fontstweak/fontstools.ui.h:9
+#: ../data/fontstools.ui.h:15
msgid "Sans Serif:"
msgstr ""
-#: ../fontstweak/fontstools.ui.h:10
+#: ../data/fontstools.ui.h:16
msgid "Select"
msgstr ""
-#: ../fontstweak/fontstools.ui.h:11
+#: ../data/fontstools.ui.h:17
msgid "Serif:"
msgstr ""
-#: ../fontstweak/fontstools.ui.h:12
+#: ../data/fontstools.ui.h:18
msgid "page 1"
msgstr ""
-#: ../fontstweak/fontstools.ui.h:13
+#: ../data/fontstools.ui.h:19
msgid "page 2"
msgstr ""
View
1  setup.py
@@ -15,7 +15,6 @@
author_email = 'jni@redhat.com',
license = 'LGPLv3+',
platforms=["Linux"],
- scripts = ["fonts-tweak-tool"],
package_data = {'fontstweak':['fontstools.ui', 'locale-list']},
include_package_data = True,
Please sign in to comment.
Something went wrong with that request. Please try again.