[gentoo-dev] m-needed: zathura and apvlv

2010-07-29 Thread Samuli Suominen
both zathura and apvlv are tiny poppler based .pdf readers, both are now m-needed, so if you want to pick them up, please do. they are easy to maintain, no open bugs atm. - Samuli

[gentoo-dev] Locale check in python_pkg_setup()

2010-07-29 Thread Arfrever Frehtes Taifersar Arahesis
We received too many invalid bugs caused by unsupported locales. python_pkg_setup() needs to check locale and print error (using eerror(), without die()), when unsupported locale has been detected. -- Arfrever Frehtes Taifersar Arahesis --- python.eclass +++ python.eclass @@ -355,6 +355,8 @@

Re: [gentoo-dev] Locale check in python_pkg_setup()

2010-07-29 Thread Paweł Hajdan, Jr.
On 7/29/10 4:16 PM, Arfrever Frehtes Taifersar Arahesis wrote: --- python.eclass +++ python.eclass @@ -355,6 +355,8 @@ # Check if phase is pkg_setup(). [[ ${EBUILD_PHASE} != setup ]] die ${FUNCNAME}() can be used only in pkg_setup() phase + local locale + if

[gentoo-dev] Re: Locale check in python_pkg_setup()

2010-07-29 Thread Jonathan Callen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 07/29/2010 07:16 PM, Arfrever Frehtes Taifersar Arahesis wrote: + locale=$(python -c 'import os; print(os.environ.get(LC_ALL, os.environ.get(LC_CTYPE, os.environ.get(LANG, POSIX') + if [[ ${locale} != *.UTF-8 ]]; then Shouldn't

Re: [gentoo-dev] Locale check in python_pkg_setup()

2010-07-29 Thread Arfrever Frehtes Taifersar Arahesis
2010-07-30 01:20:19 Paweł Hajdan, Jr. napisał(a): On 7/29/10 4:16 PM, Arfrever Frehtes Taifersar Arahesis wrote: --- python.eclass +++ python.eclass @@ -355,6 +355,8 @@ # Check if phase is pkg_setup(). [[ ${EBUILD_PHASE} != setup ]] die ${FUNCNAME}() can be used only in

Re: [gentoo-dev] Re: Locale check in python_pkg_setup()

2010-07-29 Thread Arfrever Frehtes Taifersar Arahesis
2010-07-30 02:13:20 Jonathan Callen napisał(a): On 07/29/2010 07:16 PM, Arfrever Frehtes Taifersar Arahesis wrote: + locale=$(python -c 'import os; print(os.environ.get(LC_ALL, os.environ.get(LC_CTYPE, os.environ.get(LANG, POSIX') + if [[ ${locale} != *.UTF-8 ]]; then Shouldn't

Re: [gentoo-dev] Locale check in python_pkg_setup()

2010-07-29 Thread Brian Harring
On Fri, Jul 30, 2010 at 01:16:42AM +0200, Arfrever Frehtes Taifersar Arahesis wrote: --- python.eclass +++ python.eclass @@ -355,6 +355,8 @@ # Check if phase is pkg_setup(). [[ ${EBUILD_PHASE} != setup ]] die ${FUNCNAME}() can be used only in pkg_setup() phase + local

Re: [gentoo-dev] Locale check in python_pkg_setup()

2010-07-29 Thread Paweł Hajdan, Jr.
On 7/29/10 7:29 PM, Arfrever Frehtes Taifersar Arahesis wrote: 2010-07-30 01:20:19 Paweł Hajdan, Jr. napisał(a): nit: Why not declare local locale here, close to its usage? It's consistent with style used in python.eclass. Fine for me then. Thanks for explaining. Paweł signature.asc

Re: [gentoo-dev] Locale check in python_pkg_setup()

2010-07-29 Thread Brian Harring
On Fri, Jul 30, 2010 at 05:15:19AM +0200, Krzysztof Pawlik wrote: On 07/30/10 01:16, Arfrever Frehtes Taifersar Arahesis wrote: + eerror See http://www.gentoo.org/doc/en/utf-8.xml for information on how to fix locale. I'm with Brian on this one - my locale (C/POSIX) is not