Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
Chess
Commits
df7152cb
Commit
df7152cb
authored
Jul 27, 2016
by
Michael Catanzaro
Browse files
Stop using intltool
parent
263de13d
Changes
8
Hide whitespace changes
Inline
Side-by-side
autogen.sh
View file @
df7152cb
...
...
@@ -32,7 +32,6 @@ if [ "$#" = 0 -a "x$NOCONFIGURE" = "x" ]; then
fi
aclocal
--install
||
exit
1
intltoolize
--force
--copy
--automake
||
exit
1
autoreconf
--verbose
--force
--install
-Wno-portability
||
exit
1
cd
$olddir
...
...
configure.ac
View file @
df7152cb
...
...
@@ -60,8 +60,10 @@ dnl ###########################################################################
dnl Internationalization
dnl ###########################################################################
IT_PROG_INTLTOOL([0.50])
AC_SUBST(GETTEXT_PACKAGE, gnome-chess)
AM_GNU_GETTEXT([external])
AM_GNU_GETTEXT_VERSION([0.19.8])
AC_SUBST([GETTEXT_PACKAGE], [gnome-chess])
dnl ###########################################################################
dnl Documentation
...
...
data/Makefile.am
View file @
df7152cb
...
...
@@ -3,12 +3,16 @@ SUBDIRS = icons pieces
desktopdir
=
$(datadir)
/applications
desktop_in_files
=
gnome-chess.desktop.in
desktop_DATA
=
$(desktop_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@
$(desktop_DATA)
:
$(desktop_in_files)
$(AM_V_GEN)
$(MSGFMT)
--desktop
--template
$<
-d
$(top_srcdir)
/po
-o
$@
appstream_in_files
=
gnome-chess.appdata.xml.in
appstream_XML
=
$(appstream_in_files:.appdata.xml.in=.appdata.xml)
@APPSTREAM_XML_RULES@
@INTLTOOL_XML_RULE@
$(appstream_XML)
:
$(appstream_in_files)
$(AM_V_GEN)
$(MSGFMT)
--xml
--template
$<
-d
$(top_srcdir)
/po
-o
$@
dist_noinst_DATA
=
\
gnome-chess.ui
\
...
...
data/gnome-chess.appdata.xml.in
View file @
df7152cb
...
...
@@ -4,18 +4,18 @@
<id>
gnome-chess.desktop
</id>
<metadata_license>
CC0-1.0
</metadata_license>
<project_license>
GPL-3.0+ and (GPL-2.0+ or GFDL-1.1)
</project_license>
<
_
name>
GNOME Chess
</
_
name>
<
_
summary>
Play the classic two-player board game of chess
</
_
summary>
<name>
GNOME Chess
</name>
<summary>
Play the classic two-player board game of chess
</summary>
<description>
<
_
p>
<p>
GNOME Chess is a simple chess game. You can play against your computer at
three different difficulty levels, or against a friend at your computer.
</
_
p>
<
_
p>
</p>
<p>
Computer chess enthusiasts will appreciate GNOME Chess's compatibility with
nearly all modern computer chess engines, and its ability to detect several
popular engines automatically if installed.
</
_
p>
</p>
</description>
<screenshots>
<screenshot
type=
"default"
width=
"748"
height=
"484"
>
...
...
data/gnome-chess.desktop.in
View file @
df7152cb
[Desktop Entry]
_
Name=Chess
_
GenericName=3D Chess Game
_
Comment=Play the classic two-player board game of chess
_
Keywords=game;strategy;
Name=Chess
GenericName=3D Chess Game
Comment=Play the classic two-player board game of chess
Keywords=game;strategy;
Version=1.0
Exec=gnome-chess
Terminal=false
...
...
git.mk
View file @
df7152cb
...
...
@@ -84,6 +84,7 @@ GITIGNORE_MAINTAINERCLEANFILES_TOPLEVEL = \
ar-lib
\
compile
\
config.guess
\
config.rpath
\
config.sub
\
depcomp
\
install-sh
\
...
...
@@ -216,6 +217,7 @@ $(srcdir)/.gitignore: Makefile.am $(top_srcdir)/git.mk
fi
;
\
if
test
-f
$(srcdir)
/po/Makefile.in.in
;
then
\
for
x
in
\
ABOUT-NLS
\
po/Makefile.in.in
\
po/Makefile.in.in~
\
po/Makefile.in
\
...
...
po/Makevars
0 → 100644
View file @
df7152cb
# Makefile variables for PO directory in any package using GNU gettext.
# Usually the message domain is the same as the package name.
DOMAIN = $(PACKAGE)
# These two variables depend on the location of this directory.
subdir = po
top_builddir = ..
# These options get passed to xgettext.
XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ --from-code=UTF-8
# This is the copyright holder that gets inserted into the header of the
# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
# package. (Note that the msgstr strings, extracted from the package's
# sources, belong to the copyright holder of the package.) Translators are
# expected to transfer the copyright for their translations to this person
# or entity, or to disclaim their copyright. The empty string stands for
# the public domain; in this case the translators are expected to disclaim
# their copyright.
COPYRIGHT_HOLDER = Free Software Foundation, Inc.
# This tells whether or not to prepend "GNU " prefix to the package
# name that gets inserted into the header of the $(DOMAIN).pot file.
# Possible values are "yes", "no", or empty. If it is empty, try to
# detect it automatically by scanning the files in $(top_srcdir) for
# "GNU packagename" string.
PACKAGE_GNU =
# This is the email address or URL to which the translators shall report
# bugs in the untranslated strings:
# - Strings which are not entire sentences, see the maintainer guidelines
# in the GNU gettext documentation, section 'Preparing Strings'.
# - Strings which use unclear terms or require additional context to be
# understood.
# - Strings which make invalid assumptions about notation of date, time or
# money.
# - Pluralisation problems.
# - Incorrect English spelling.
# - Incorrect formatting.
# It can be your email address, or a mailing list address where translators
# can write to without being subscribed, or the URL of a web page through
# which the translators can contact you.
MSGID_BUGS_ADDRESS =
# This is the list of locale categories, beyond LC_MESSAGES, for which the
# message catalogs shall be used. It is usually empty.
EXTRA_LOCALE_CATEGORIES =
# This tells whether the $(DOMAIN).pot file contains messages with an 'msgctxt'
# context. Possible values are "yes" and "no". Set this to yes if the
# package uses functions taking also a message context, like pgettext(), or
# if in $(XGETTEXT_OPTIONS) you define keywords with a context argument.
USE_MSGCTXT = no
# These options get passed to msgmerge.
# Useful options are in particular:
# --previous to keep previous msgids of translated messages,
# --quiet to reduce the verbosity.
MSGMERGE_OPTIONS =
# These options get passed to msginit.
# If you want to disable line wrapping when writing PO files, add
# --no-wrap to MSGMERGE_OPTIONS, XGETTEXT_OPTIONS, and
# MSGINIT_OPTIONS.
MSGINIT_OPTIONS =
# This tells whether or not to regenerate a PO file when $(DOMAIN).pot
# has changed. Possible values are "yes" and "no". Set this to no if
# the POT file is checked in the repository and the version control
# program ignores timestamps.
PO_DEPENDS_ON_POT = no
# This tells whether or not to forcibly update $(DOMAIN).pot and
# regenerate PO files on "make dist". Possible values are "yes" and
# "no". Set this to no if the POT file and PO files are maintained
# externally.
DIST_DEPENDS_ON_UPDATE_PO = no
po/POTFILES.in
View file @
df7152cb
# List of source files containing translatable strings.
# Please keep this file in alphabetical order.
[encoding: UTF-8]
data/gnome-chess.appdata.xml.in
data/gnome-chess.desktop.in
[type: gettext/glade]
data/gnome-chess.ui
[type: gettext/glade]
data/menu.ui
data/gnome-chess.ui
data/menu.ui
data/org.gnome.chess.gschema.xml
[type: gettext/glade]
data/preferences.ui
[type: gettext/glade]
data/promotion-type-selector.ui
data/preferences.ui
data/promotion-type-selector.ui
lib/chess-game.vala
lib/chess-pgn.vala
src/ai-profile.vala
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment