Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 295593 Details for
Bug 394477
dev-util/intltool-0.50.0: intltool.m4 incompatible with earlier intltool versions due to --no-translations argument
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
intltool-0.50.0--no-translations-version.patch
intltool-0.50.0--no-translations-version.patch (text/plain), 3.02 KB, created by
Alexandre Rostovtsev (RETIRED)
on 2011-12-12 19:41:57 UTC
(
hide
)
Description:
intltool-0.50.0--no-translations-version.patch
Filename:
MIME Type:
Creator:
Alexandre Rostovtsev (RETIRED)
Created:
2011-12-12 19:41:57 UTC
Size:
3.02 KB
patch
obsolete
>Date: 12/12/11 2:19 PM >Committer: Alexandre Rostovtsev <tetromino@gentoo.org> >Bug: https://launchpad.net/bugs/903340 fixed > >Always check intltool version and enable --no-translations only if >>=intltool-0.50.0 is detected; earlier versions of intltool-merge will fail >if --no-translations is used. > >=== modified file 'intltool.m4' >--- intltool.m4 2011-10-08 14:54:41 +0000 >+++ intltool.m4 2011-12-12 19:19:44 +0000 >@@ -38,12 +38,18 @@ > > if test -n "$1"; then > AC_MSG_CHECKING([for intltool >= $1]) >- >+else >+ AC_MSG_CHECKING([for intltool version]) >+fi >+ >+INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` >+[INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` >+] >+ >+AC_MSG_RESULT([$INTLTOOL_APPLIED_VERSION found]) >+if test -n "$1"; then >+ INTLTOOL_REQUIRED_VERSION=$1 > INTLTOOL_REQUIRED_VERSION_AS_INT=`echo $1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` >- INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` >- [INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` >- ] >- AC_MSG_RESULT([$INTLTOOL_APPLIED_VERSION found]) > test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || > AC_MSG_ERROR([Your intltool is too old. You need intltool $1 or later.]) > fi >@@ -66,7 +72,12 @@ > INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.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 $< [$]@' > INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' > INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' >+# --no-translations requires intltool-0.50.0 >+if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then > INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u --no-translations $< [$]@' >+else >+ INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< [$]@' >+fi > INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' > INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' > INTLTOOL_CAVES_RULE='%.caves: %.caves.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 $< [$]@' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 394477
: 295593