diff options
author | Martin Blanchard <tchaik@gmx.com> | 2019-03-12 17:13:30 +0900 |
---|---|---|
committer | fujiwarat <takao.fujiwara1@gmail.com> | 2019-03-12 17:13:30 +0900 |
commit | da71a2e69726815a561f0f8dc6ade572d08a037c (patch) | |
tree | 0343ed31ce5ef00ee0dc1d60f90030d8f6ccc680 /setup | |
parent | 49f1e2fed1f9bf4223602db84fe03f002e2a87d2 (diff) | |
download | ibus-anthy-da71a2e69726815a561f0f8dc6ade572d08a037c.tar.gz |
build: Prefer gettext over intltool (#11)
The intltool module is outdated:
https://wiki.gnome.org/Initiatives/GnomeGoals/GettextMigration
Diffstat (limited to 'setup')
-rw-r--r-- | setup/python2/Makefile.am | 3 | ||||
-rw-r--r-- | setup/python2/ibus-setup-anthy.desktop.in.in | 4 | ||||
-rw-r--r-- | setup/python3/Makefile.am | 5 | ||||
-rw-r--r-- | setup/python3/ibus-setup-anthy.desktop.in.in | 4 |
4 files changed, 9 insertions, 7 deletions
diff --git a/setup/python2/Makefile.am b/setup/python2/Makefile.am index 4e072e9..184e7e7 100644 --- a/setup/python2/Makefile.am +++ b/setup/python2/Makefile.am @@ -33,7 +33,8 @@ $(desktop_in_files): %.desktop.in: %.desktop.in.in Makefile desktopdir=$(datadir)/applications desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) -@INTLTOOL_DESKTOP_RULE@ +$(desktop_DATA): $(desktop_in_files) Makefile + $(AM_V_GEN)$(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@ BUILT_SOURCES = \ _config.py \ diff --git a/setup/python2/ibus-setup-anthy.desktop.in.in b/setup/python2/ibus-setup-anthy.desktop.in.in index 1dd35f9..2f80da0 100644 --- a/setup/python2/ibus-setup-anthy.desktop.in.in +++ b/setup/python2/ibus-setup-anthy.desktop.in.in @@ -1,6 +1,6 @@ [Desktop Entry] -_Name=IBus Anthy Setup -_Comment=Set up IBus Anthy engine +Name=IBus Anthy Setup +Comment=Set up IBus Anthy engine Exec=@libexecdir@/ibus-setup-anthy Icon=ibus-anthy NoDisplay=true diff --git a/setup/python3/Makefile.am b/setup/python3/Makefile.am index 4e072e9..90b3aa1 100644 --- a/setup/python3/Makefile.am +++ b/setup/python3/Makefile.am @@ -31,9 +31,10 @@ $(desktop_in_files): %.desktop.in: %.desktop.in.in Makefile $< > $@.tmp && mv $@.tmp $@ desktopdir=$(datadir)/applications -desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) +desktop_DATA = ibus-setup-anthy.desktop -@INTLTOOL_DESKTOP_RULE@ +$(desktop_DATA): $(desktop_in_files) Makefile + $(AM_V_GEN)$(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@ BUILT_SOURCES = \ _config.py \ diff --git a/setup/python3/ibus-setup-anthy.desktop.in.in b/setup/python3/ibus-setup-anthy.desktop.in.in index 1dd35f9..2f80da0 100644 --- a/setup/python3/ibus-setup-anthy.desktop.in.in +++ b/setup/python3/ibus-setup-anthy.desktop.in.in @@ -1,6 +1,6 @@ [Desktop Entry] -_Name=IBus Anthy Setup -_Comment=Set up IBus Anthy engine +Name=IBus Anthy Setup +Comment=Set up IBus Anthy engine Exec=@libexecdir@/ibus-setup-anthy Icon=ibus-anthy NoDisplay=true |