Commit 496f84bc authored by Jeremy Bicha's avatar Jeremy Bicha 🎹 Committed by Michael Catanzaro

Stop using intltool

gettext is sufficient

This also ends up fixing parallel builds
because intltool has a known bug. Too bad intltool
is unmaintained.

https://bugzilla.gnome.org/show_bug.cgi?id=792887

https://launchpad.net/bugs/1687644

Also remove the unnecessary Encoding=UTF-8 headers

https://wiki.gnome.org/Initiatives/GnomeGoals/GettextMigration
parent e4e6f608
......@@ -7,7 +7,8 @@ DIST_SUBDIRS = po
pkgconfigdir = $(datadir)/pkgconfig
pkgconfig_DATA = gnome-video-effects.pc
%.effect: %.effect.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@
%.effect: %.effect.in $(wildcard $(top_srcdir)/po/*po)
$(AM_V_GEN) $(MSGFMT) --desktop --keyword=Name --keyword=Comment --template $< -d $(top_srcdir)/po -o $@
effectsdir = $(pkgdatadir)
effects_in_files = $(wildcard effects/*.effect.in)
......@@ -22,12 +23,6 @@ CLEANFILES = \
$(effects_DATA) \
gnome-video-effects.pc
DISTCLEANFILES = \
intltool-extra \
intltool-merge \
intltool-update \
po/.intltool-merge-cache
dist-hook:
$(AM_V_at)if test -d "$(srcdir)/.git"; \
then \
......
......@@ -6,7 +6,6 @@ use the following format for it:
[Effect]
Encoding=UTF-8
Name=[The human readable effect name]
Name[LangCode]=[The translated human readable effect name]
...
......@@ -33,7 +32,6 @@ A sample effect could look like
===============================
[Effect]
Encoding=UTF-8
Name=The Hulk
Name[de]=Der Hulk
Name[it]=Lo Hulk
......
......@@ -21,7 +21,8 @@ AM_SILENT_RULES([yes])
AC_SUBST([GETTEXT_PACKAGE], [$PACKAGE_TARNAME])
AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], ["$GETTEXT_PACKAGE"], [GETTEXT package name])
IT_PROG_INTLTOOL([0.40.0])
AM_GNU_GETTEXT_VERSION([0.19.8])
AM_GNU_GETTEXT([external])
AC_PROG_LN_S
......
[Effect]
Encoding=UTF-8
# Preview: https://wiki.gnome.org/Projects/GnomeVideoEffects/Effects#bulge
_Name=Bulge
_Comment=Bulges the center of the video
Name=Bulge
Comment=Bulges the center of the video
PipelineDescription=bulge
[Effect]
Encoding=UTF-8
# Preview: https://wiki.gnome.org/Projects/GnomeVideoEffects/Effects#cartoon
_Name=Cartoon
_Comment=Cartoonify video input
Name=Cartoon
Comment=Cartoonify video input
PipelineDescription=frei0r-filter-cartoon
[Effect]
Encoding=UTF-8
# Preview: https://wiki.gnome.org/Projects/GnomeVideoEffects/Effects#cheguevara
_Name=Che Guevara
_Comment=Transform video input into typical Che Guevara style
Name=Che Guevara
Comment=Transform video input into typical Che Guevara style
PipelineDescription=frei0r-filter-twolay0r
[Effect]
Encoding=UTF-8
# Preview: https://wiki.gnome.org/Projects/GnomeVideoEffects/Effects#chrome
_Name=Chrome
_Comment=Transform video input into a metallic look
Name=Chrome
Comment=Transform video input into a metallic look
PipelineDescription=frei0r-filter-color-distance
[Effect]
Encoding=UTF-8
# Preview: https://wiki.gnome.org/Projects/GnomeVideoEffects/Effects#dicetv
_Name=Dice
_Comment=Dices the video input into many small squares
Name=Dice
Comment=Dices the video input into many small squares
PipelineDescription=dicetv
[Effect]
Encoding=UTF-8
# Preview: https://wiki.gnome.org/Projects/GnomeVideoEffects/Effects#distortion
_Name=Distortion
_Comment=Distort the video input
Name=Distortion
Comment=Distort the video input
PipelineDescription=frei0r-filter-distort0r
[Effect]
Encoding=UTF-8
# Preview: https://wiki.gnome.org/Projects/GnomeVideoEffects/Effects#edgetv
_Name=Edge
_Comment=Display video input like good old low resolution computer way
Name=Edge
Comment=Display video input like good old low resolution computer way
PipelineDescription=edgetv
[Effect]
Encoding=UTF-8
_Name=Flip
_Comment=Flip the image, as if looking at a mirror
Name=Flip
Comment=Flip the image, as if looking at a mirror
Category=Geometry;
PipelineDescription=videoflip method=horizontal-flip
[Effect]
Encoding=UTF-8
# Preview: https://wiki.gnome.org/Projects/GnomeVideoEffects/Effects#heat
_Name=Heat
_Comment=Fake heat camera toning
Name=Heat
Comment=Fake heat camera toning
PipelineDescription=coloreffects preset=heat
[Effect]
Encoding=UTF-8
# Preview: https://wiki.gnome.org/Projects/GnomeVideoEffects/Effects#historical
_Name=Historical
_Comment=Add age to video input using scratches and dust
Name=Historical
Comment=Add age to video input using scratches and dust
PipelineDescription=videobalance saturation=0 ! agingtv
[Effect]
Encoding=UTF-8
# Preview: https://wiki.gnome.org/Projects/GnomeVideoEffects/Effects#hulk
_Name=Hulk
_Comment=Transform yourself into the amazing Hulk
Name=Hulk
Comment=Transform yourself into the amazing Hulk
PipelineDescription=videobalance saturation=1.5 hue=-0.5
[Effect]
Encoding=UTF-8
# Preview: https://wiki.gnome.org/Projects/GnomeVideoEffects/Effects#inversion
_Name=Inversion
_Comment=Invert colors of the video input
Name=Inversion
Comment=Invert colors of the video input
PipelineDescription=frei0r-filter-invert0r
[Effect]
Encoding=UTF-8
# Preview: https://wiki.gnome.org/Projects/GnomeVideoEffects/Effects#kaleidoscope
_Name=Kaleidoscope
_Comment=A triangle Kaleidoscope
Name=Kaleidoscope
Comment=A triangle Kaleidoscope
PipelineDescription=kaleidoscope
[Effect]
Encoding=UTF-8
# Preview: https://wiki.gnome.org/Projects/GnomeVideoEffects/Effects#mauve
_Name=Mauve
_Comment=Transform video input into a mauve color
Name=Mauve
Comment=Transform video input into a mauve color
PipelineDescription=videobalance saturation=1.5 hue=+0.5
[Effect]
Encoding=UTF-8
# Preview: https://wiki.gnome.org/Projects/GnomeVideoEffects/Effects#mirror
_Name=Mirror
_Comment=Mirrors the video
Name=Mirror
Comment=Mirrors the video
PipelineDescription=mirror
[Effect]
Encoding=UTF-8
# Preview: https://wiki.gnome.org/Projects/GnomeVideoEffects/Effects#noir
_Name=Noir/Blanc
_Comment=Transform video input into grayscale
Name=Noir/Blanc
Comment=Transform video input into grayscale
PipelineDescription=videobalance saturation=0
[Effect]
Encoding=UTF-8
# Preview: https://wiki.gnome.org/Projects/GnomeVideoEffects/Effects#optv
_Name=Optical Illusion
_Comment=Traditional black-white optical animation
Name=Optical Illusion
Comment=Traditional black-white optical animation
PipelineDescription=optv
[Effect]
Encoding=UTF-8
# Preview: https://wiki.gnome.org/Projects/GnomeVideoEffects/Effects#pinch
_Name=Pinch
_Comment=Pinches the center of the video
Name=Pinch
Comment=Pinches the center of the video
PipelineDescription=pinch
[Effect]
Encoding=UTF-8
# Preview: https://wiki.gnome.org/Projects/GnomeVideoEffects/Effects#quarktv
_Name=Quark
_Comment=Dissolves moving objects in the video input
Name=Quark
Comment=Dissolves moving objects in the video input
PipelineDescription=quarktv
[Effect]
Encoding=UTF-8
# Preview: https://wiki.gnome.org/Projects/GnomeVideoEffects/Effects#radioactv
_Name=Radioactive
_Comment=Detect radioactivity and show it
Name=Radioactive
Comment=Detect radioactivity and show it
PipelineDescription=radioactv
[Effect]
Encoding=UTF-8
# Preview: https://wiki.gnome.org/Projects/GnomeVideoEffects/Effects#revtv
_Name=Waveform
_Comment=Transform video input into a waveform monitor
Name=Waveform
Comment=Transform video input into a waveform monitor
PipelineDescription=revtv
[Effect]
Encoding=UTF-8
# Preview: https://wiki.gnome.org/Projects/GnomeVideoEffects/Effects#ripple
_Name=Ripple
_Comment=Add the ripple mark effect on the video input
Name=Ripple
Comment=Add the ripple mark effect on the video input
PipelineDescription=rippletv
[Effect]
Encoding=UTF-8
# Preview: https://wiki.gnome.org/Projects/GnomeVideoEffects/Effects#saturation
_Name=Saturation
_Comment=Add more saturation to the video input
Name=Saturation
Comment=Add more saturation to the video input
PipelineDescription=videobalance saturation=2
[Effect]
Encoding=UTF-8
# Preview: https://wiki.gnome.org/Projects/GnomeVideoEffects/Effects#sepia
_Name=Sepia
_Comment=Sepia toning
Name=Sepia
Comment=Sepia toning
PipelineDescription=coloreffects preset=sepia
[Effect]
Encoding=UTF-8
# Preview: https://wiki.gnome.org/Projects/GnomeVideoEffects/Effects#shagadelictv
_Name=Shagadelic
_Comment=Add some hallucination to the video input
Name=Shagadelic
Comment=Add some hallucination to the video input
PipelineDescription=shagadelictv
[Effect]
Encoding=UTF-8
# Preview: https://wiki.gnome.org/Projects/GnomeVideoEffects/Effects#sobel
_Name=Sobel
_Comment=Extracts edges in the video input through using the Sobel operator
Name=Sobel
Comment=Extracts edges in the video input through using the Sobel operator
PipelineDescription=frei0r-filter-sobel
[Effect]
Encoding=UTF-8
# Preview: https://wiki.gnome.org/Projects/GnomeVideoEffects/Effects#square
_Name=Square
_Comment=Makes a square out of the center of the video
Name=Square
Comment=Makes a square out of the center of the video
PipelineDescription=square
[Effect]
Encoding=UTF-8
# Preview: https://wiki.gnome.org/Projects/GnomeVideoEffects/Effects#streaktv
_Name=Kung-Fu
_Comment=Transform motions into Kung-Fu style
Name=Kung-Fu
Comment=Transform motions into Kung-Fu style
PipelineDescription=streaktv
[Effect]
Encoding=UTF-8
# Preview: https://wiki.gnome.org/Projects/GnomeVideoEffects/Effects#stretch
_Name=Stretch
_Comment=Stretches the center of the video
Name=Stretch
Comment=Stretches the center of the video
PipelineDescription=stretch
[Effect]
Encoding=UTF-8
# Preview: https://wiki.gnome.org/Projects/GnomeVideoEffects/Effects#timedelay
_Name=Time delay
_Comment=Show what was happening in the past
Name=Time delay
Comment=Show what was happening in the past
PipelineDescription=frei0r-filter-delay0r delaytime=1
[Effect]
Encoding=UTF-8
# Preview: https://wiki.gnome.org/Projects/GnomeVideoEffects/Effects#twirl
_Name=Twirl
_Comment=Twirl the center of the video
Name=Twirl
Comment=Twirl the center of the video
PipelineDescription=twirl
[Effect]
Encoding=UTF-8
# Preview: https://wiki.gnome.org/Projects/GnomeVideoEffects/Effects#vertigotv
_Name=Vertigo
_Comment=Add a loopback alpha blending effector with rotating and scaling
Name=Vertigo
Comment=Add a loopback alpha blending effector with rotating and scaling
PipelineDescription=vertigotv
[Effect]
Encoding=UTF-8
# Preview: https://wiki.gnome.org/Projects/GnomeVideoEffects/Effects#warptv
_Name=Warp
_Comment=Transform video input into realtime goo’ing
Name=Warp
Comment=Transform video input into realtime goo’ing
PipelineDescription=warptv
[Effect]
Encoding=UTF-8
# Preview: https://wiki.gnome.org/Projects/GnomeVideoEffects/Effects#xray
_Name=X-Ray
_Comment=Invert and slightly shade to blue
Name=X-Ray
Comment=Invert and slightly shade to blue
PipelineDescription=coloreffects preset=xray
# 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 = --from-code=UTF-8 --keyword=_ --keyword=N_ --keyword=C_:1c,2 --keyword=NC_:1c,2 --keyword=g_dngettext:2,3 --add-comments
# 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 = The gnome-video-effects authors
# 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 = https://gitlab.gnome.org/GNOME/gnome-video-effects/issues
# 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 = yes
# 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
# List of source files containing translatable strings.
# Please keep this file sorted alphabetically.
[encoding: UTF-8]
[type: gettext/ini]effects/bulge.effect.in
[type: gettext/ini]effects/cartoon.effect.in
[type: gettext/ini]effects/cheguevara.effect.in
[type: gettext/ini]effects/chrome.effect.in
[type: gettext/ini]effects/dicetv.effect.in
[type: gettext/ini]effects/distortion.effect.in
[type: gettext/ini]effects/edgetv.effect.in
[type: gettext/ini]effects/flip.effect.in
[type: gettext/ini]effects/heat.effect.in
[type: gettext/ini]effects/historical.effect.in
[type: gettext/ini]effects/hulk.effect.in
[type: gettext/ini]effects/inversion.effect.in
[type: gettext/ini]effects/kaleidoscope.effect.in
[type: gettext/ini]effects/mauve.effect.in
[type: gettext/ini]effects/mirror.effect.in
[type: gettext/ini]effects/noir.effect.in
[type: gettext/ini]effects/optv.effect.in
[type: gettext/ini]effects/pinch.effect.in
[type: gettext/ini]effects/quarktv.effect.in
[type: gettext/ini]effects/radioactv.effect.in
[type: gettext/ini]effects/revtv.effect.in
[type: gettext/ini]effects/ripple.effect.in
[type: gettext/ini]effects/saturation.effect.in
[type: gettext/ini]effects/sepia.effect.in
[type: gettext/ini]effects/shagadelictv.effect.in
[type: gettext/ini]effects/sobel.effect.in
[type: gettext/ini]effects/square.effect.in
[type: gettext/ini]effects/streaktv.effect.in
[type: gettext/ini]effects/stretch.effect.in
[type: gettext/ini]effects/timedelay.effect.in
[type: gettext/ini]effects/twirl.effect.in
[type: gettext/ini]effects/vertigotv.effect.in
[type: gettext/ini]effects/warptv.effect.in
[type: gettext/ini]effects/xray.effect.in
effects/bulge.effect.in
effects/cartoon.effect.in
effects/cheguevara.effect.in
effects/chrome.effect.in
effects/dicetv.effect.in
effects/distortion.effect.in
effects/edgetv.effect.in
effects/flip.effect.in
effects/heat.effect.in
effects/historical.effect.in
effects/hulk.effect.in
effects/inversion.effect.in
effects/kaleidoscope.effect.in
effects/mauve.effect.in
effects/mirror.effect.in
effects/noir.effect.in
effects/optv.effect.in
effects/pinch.effect.in
effects/quarktv.effect.in
effects/radioactv.effect.in
effects/revtv.effect.in
effects/ripple.effect.in
effects/saturation.effect.in
effects/sepia.effect.in
effects/shagadelictv.effect.in
effects/sobel.effect.in
effects/square.effect.in
effects/streaktv.effect.in
effects/stretch.effect.in
effects/timedelay.effect.in
effects/twirl.effect.in
effects/vertigotv.effect.in
effects/warptv.effect.in
effects/xray.effect.in
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment