Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 249781 Details for
Bug 339852
xorg-2.eclass: --disable-* for all encodings results in QA warnings
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to add --disable-all-encodings to font macros
0001-Add-a-shorthand-disable-all-encodings-option.patch (text/plain), 2.02 KB, created by
Michał Górny
on 2010-10-06 19:10:43 UTC
(
hide
)
Description:
Patch to add --disable-all-encodings to font macros
Filename:
MIME Type:
Creator:
Michał Górny
Created:
2010-10-06 19:10:43 UTC
Size:
2.02 KB
patch
obsolete
>From c6d050993854f194aaf79e7a6a5ee2f41afca327 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> >Date: Wed, 6 Oct 2010 20:37:21 +0200 >Subject: [PATCH] Add a shorthand --disable-all-encodings option. > >This option is useful to disable all possible font encodings at once, >without fine-graining the calling ebuilds for a list of encodings >supported by each font package. > >The option is parsed before all other encoding options, so it basically >sets defaults for all of them. Afterwards, any encoding can be >re-enabled back using '--enable-<encoding>' (much like >'--disable-all-encodings --enable-iso8859-2'). >--- > fontutil.m4.in | 14 ++++++++++++-- > 1 files changed, 12 insertions(+), 2 deletions(-) > >diff --git a/fontutil.m4.in b/fontutil.m4.in >index c867ea6..6c0d132 100644 >--- a/fontutil.m4.in >+++ b/fontutil.m4.in >@@ -114,7 +114,7 @@ AC_DEFUN([XORG_FONT_CHECK_ENCODING],[ > AC_ARG_ENABLE(m4_tolower($1), > AS_HELP_STRING(m4_join([-], [--disable], m4_tolower($1)), > [Build $1 fonts (default: yes)]), >- [AS_TR_SH($1)=$enableval], [AS_TR_SH($1)=yes]) >+ [AS_TR_SH($1)=$enableval]) > AC_MSG_CHECKING([whether to build $1 fonts]) > AC_MSG_RESULT($[AS_TR_SH($1)]) > AM_CONDITIONAL(AS_TR_SH($1), [test "x$AS_TR_SH($1)" = xyes]) >@@ -123,9 +123,19 @@ AC_DEFUN([XORG_FONT_CHECK_ENCODING],[ > # XORG_FONT_CHECK_ENCODING_LIST(encoding1 encoding2....) > # ----------------------------------------------------- > # Minimum version: 1.1.0 >-# Call XORG_FONT_CHECK_ENCODING for multiple encodings at once >+# Call XORG_FONT_CHECK_ENCODING for multiple encodings at once. >+# Add a shorthand --enable/disable-all-encodings option. > > AC_DEFUN([XORG_FONT_CHECK_ENCODING_LIST],[ >+ AC_ARG_ENABLE([all-encodings], >+ AS_HELP_STRING([--disable-all-encodings], >+ [Disable building of all font encodings]), >+ [m4_foreach_w([enc], [$1], [ >+ AS_TR_SH(enc)=$enableval >+ ])], >+ [m4_foreach_w([enc], [$1], [ >+ AS_TR_SH(enc)=yes >+ ])]) > m4_foreach_w([enc], [$1], [XORG_FONT_CHECK_ENCODING(enc)]) > ]) # XORG_FONT_CHECK_ENCODING_LIST > >-- >1.7.3.1 >
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 339852
: 249781