Re: [gentoo-dev] [RFC] New global USE flag: webp

2016-06-04 Thread M. J. Everitt

On 04/06/16 21:17, Michael Orlitzky wrote:
> We've still got 5.x stable, but that's because there's a security bug
> for PHP every 20 days and it takes 30 days to stabilize an ebuild.
>
> Here's a status report:
>
>   * We've got the "eselect php..." stuff sorted out already so you can
> easily switch between 5.6 and 7.0 on-the-fly.
>
>   * Most extensions have a version that works with php-7.0.
>
>   * Some PECL extensions only work with certain versions of PHP, yet are
> not slotted. This will probably cause some headaches, but it's
> pretty late in the game and I don't have the time to overhaul the
> way we do extensions at the last minute. We may have to tell people
> that they can't switch between php-5 and php-7 with certain
> extensions (there are around 8 that cause problems).
>
>   * The PHP upgrade itself is pretty harmless. Check your logs for
> deprecation warnings. If there aren't any, you can probably just
> switch to 7.0 with eselect and have everything work. It's a lot
> faster and a bit less stupid than previous versions.
>
> In any case, to bring this back on-topic, dev-lang/php now has a webp
> USE flag too, so +1 for making it global.
>
>
Thanks for that - keeps the sysadmin side of me abreast of looming changes !



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-dev] [RFC] New global USE flag: webp

2016-06-04 Thread Michael Orlitzky
On 06/04/2016 04:03 PM, M. J. Everitt wrote:
>>
> LOL - that still happens?!
> 

Yeah, at least in the U.S. There was a "PHP 6", but everything went so
wrong that they decided to just pretend that the number 6 doesn't exist.


> I still see php5 installed as stable everywhere .. so perhaps php7 still
> has a little way to go (not that I would be *so* stupid to suggest that
> something like 'debian' was a barometer of such things, nooo..!!!)

We've still got 5.x stable, but that's because there's a security bug
for PHP every 20 days and it takes 30 days to stabilize an ebuild.

Here's a status report:

  * We've got the "eselect php..." stuff sorted out already so you can
easily switch between 5.6 and 7.0 on-the-fly.

  * Most extensions have a version that works with php-7.0.

  * Some PECL extensions only work with certain versions of PHP, yet are
not slotted. This will probably cause some headaches, but it's
pretty late in the game and I don't have the time to overhaul the
way we do extensions at the last minute. We may have to tell people
that they can't switch between php-5 and php-7 with certain
extensions (there are around 8 that cause problems).

  * The PHP upgrade itself is pretty harmless. Check your logs for
deprecation warnings. If there aren't any, you can probably just
switch to 7.0 with eselect and have everything work. It's a lot
faster and a bit less stupid than previous versions.

In any case, to bring this back on-topic, dev-lang/php now has a webp
USE flag too, so +1 for making it global.




Re: [gentoo-dev] [RFC] New global USE flag: webp

2016-06-04 Thread M. J. Everitt
On 04/06/16 20:59, Michael Orlitzky wrote:
> On 06/04/2016 03:50 PM, M. J. Everitt wrote:
>> What's the migration path/timeline look like .. I'da thought it would be
>> months/years to move everything that's centred on php5 up to php7 if
>> that's the way things are going. What happened to php6 ?!?
> v5 and v7 are mostly compatible, and the few big changes have had
> deprecation warnings for years.
>
> What happened to 6: you know how some elevators don't have a 13th floor?
>
>
>
LOL - that still happens?!

I still see php5 installed as stable everywhere .. so perhaps php7 still
has a little way to go (not that I would be *so* stupid to suggest that
something like 'debian' was a barometer of such things, nooo..!!!)



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-dev] [RFC] New global USE flag: webp

2016-06-04 Thread Chí-Thanh Christopher Nguyễn

Kristian Fiskerstrand schrieb:

Personally I'da thought an ewarning would be sufficient based on the old
flag, and perhaps a news item if considered important enough?!



as long as it is sufficient time and it notifies ahead of time, and the
new use flag can be added to package.use immediately, indeed, although I
believe an elog is more appropriate than ewarn in that case.


I vaguely remember that this can be done automatically, through 
config_protect to create/update a package.use entry.


Don't ask me on any details though. ;)


Best regards,
Chí-Thanh Christopher Nguyễn



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-dev] [RFC] New global USE flag: webp

2016-06-04 Thread Michael Orlitzky
On 06/04/2016 03:50 PM, M. J. Everitt wrote:
> What's the migration path/timeline look like .. I'da thought it would be
> months/years to move everything that's centred on php5 up to php7 if
> that's the way things are going. What happened to php6 ?!?

v5 and v7 are mostly compatible, and the few big changes have had
deprecation warnings for years.

What happened to 6: you know how some elevators don't have a 13th floor?





Re: [gentoo-dev] [RFC] New global USE flag: webp

2016-06-04 Thread Kristian Fiskerstrand
On 06/04/2016 09:53 PM, Michael Orlitzky wrote:
> On 06/04/2016 03:45 PM, Kristian Fiskerstrand wrote:
>>
>> would a REQUIRED_USE in newer versions make sense to force the new use
>> flag for people upgrading as a deprecation period?
>>
> 
> You mean like requiring USE=webp (new) if the user has USE=vpx (old)?

exactly


-- 
Kristian Fiskerstrand
OpenPGP certificate reachable at hkp://pool.sks-keyservers.net
fpr:94CB AFDD 3034 5109 5618 35AA 0B7F 8B60 E3ED FAE3



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-dev] [RFC] New global USE flag: webp

2016-06-04 Thread Kristian Fiskerstrand
On 06/04/2016 09:50 PM, M. J. Everitt wrote:
> On 04/06/16 20:45, Kristian Fiskerstrand wrote:
>> would a REQUIRED_USE in newer versions make sense to force the new use
>> flag for people upgrading as a deprecation period?
>>
> What's the migration path/timeline look like .. I'da thought it would be
> months/years to move everything that's centred on php5 up to php7 if
> that's the way things are going. What happened to php6 ?!?
> 
> Personally I'da thought an ewarning would be sufficient based on the old
> flag, and perhaps a news item if considered important enough?!
> 

as long as it is sufficient time and it notifies ahead of time, and the
new use flag can be added to package.use immediately, indeed, although I
believe an elog is more appropriate than ewarn in that case.


-- 
Kristian Fiskerstrand
OpenPGP certificate reachable at hkp://pool.sks-keyservers.net
fpr:94CB AFDD 3034 5109 5618 35AA 0B7F 8B60 E3ED FAE3



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-dev] [RFC] New global USE flag: webp

2016-06-04 Thread Michael Orlitzky
On 06/04/2016 03:45 PM, Kristian Fiskerstrand wrote:
> 
> would a REQUIRED_USE in newer versions make sense to force the new use
> flag for people upgrading as a deprecation period?
> 

You mean like requiring USE=webp (new) if the user has USE=vpx (old)?
Sounds like a good idea. It's been totally broken for months and nobody
has noticed, though, so I'll probably wait until the next revision.


> Alternatively, you likely want to look into restrict attribute to flag tag

Didn't know about that, thanks.




Re: [gentoo-dev] [RFC] New global USE flag: webp

2016-06-04 Thread M. J. Everitt
On 04/06/16 20:45, Kristian Fiskerstrand wrote:
> would a REQUIRED_USE in newer versions make sense to force the new use
> flag for people upgrading as a deprecation period?
>
What's the migration path/timeline look like .. I'da thought it would be
months/years to move everything that's centred on php5 up to php7 if
that's the way things are going. What happened to php6 ?!?

Personally I'da thought an ewarning would be sufficient based on the old
flag, and perhaps a news item if considered important enough?!

MJE



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-dev] [RFC] New global USE flag: webp

2016-06-04 Thread Kristian Fiskerstrand
On 06/04/2016 09:45 PM, Kristian Fiskerstrand wrote:
> On 06/04/2016 09:39 PM, Michael Orlitzky wrote:
>> On 06/04/2016 03:30 PM, M. J. Everitt wrote:
>>> The existing use description might be considered slightly confusing,
>>> potentially ..
>>>
>>
>> I changed them to,
>>
>>   Enable webp support for GD in php-5.x
>>   Enable webp support for GD in php-7.x
>>
>>
> 
> would a REQUIRED_USE in newer versions make sense to force the new use
> flag for people upgrading as a deprecation period?
> 

Alternatively, you likely want to look into restrict attribute to flag tag

-- 
Kristian Fiskerstrand
OpenPGP certificate reachable at hkp://pool.sks-keyservers.net
fpr:94CB AFDD 3034 5109 5618 35AA 0B7F 8B60 E3ED FAE3



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-dev] [RFC] New global USE flag: webp

2016-06-04 Thread Kristian Fiskerstrand
On 06/04/2016 09:39 PM, Michael Orlitzky wrote:
> On 06/04/2016 03:30 PM, M. J. Everitt wrote:
>> The existing use description might be considered slightly confusing,
>> potentially ..
>>
> 
> I changed them to,
> 
>   Enable webp support for GD in php-5.x
>   Enable webp support for GD in php-7.x
> 
> 

would a REQUIRED_USE in newer versions make sense to force the new use
flag for people upgrading as a deprecation period?

-- 
Kristian Fiskerstrand
OpenPGP certificate reachable at hkp://pool.sks-keyservers.net
fpr:94CB AFDD 3034 5109 5618 35AA 0B7F 8B60 E3ED FAE3



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-dev] [RFC] New global USE flag: webp

2016-06-04 Thread M. J. Everitt
On 04/06/16 20:39, Michael Orlitzky wrote:
> On 06/04/2016 03:30 PM, M. J. Everitt wrote:
>> The existing use description might be considered slightly confusing,
>> potentially ..
>>
> I changed them to,
>
>   Enable webp support for GD in php-5.x
>   Enable webp support for GD in php-7.x
>
>
Ok so this is really OCD I know .. but might be worth adding the libs, e.g.

Enable webp support for GD in php-5.x via libvpx
Enable webp support for GD in php-7.x via libwebp
[[not checked for syntax]]

for example, but what do I know ... [ie. links the flag to the lib]

:]



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-dev] [RFC] New global USE flag: webp

2016-06-04 Thread Michael Orlitzky
On 06/04/2016 03:30 PM, M. J. Everitt wrote:
> The existing use description might be considered slightly confusing,
> potentially ..
> 

I changed them to,

  Enable webp support for GD in php-5.x
  Enable webp support for GD in php-7.x




Re: [gentoo-dev] [RFC] New global USE flag: webp

2016-06-04 Thread M. J. Everitt
On 04/06/16 18:14, Michael Orlitzky wrote:
> On 06/04/2016 12:29 PM, waltd...@waltdnes.org wrote:
>> dev-lang/php:vpx - Enable webp suppoprt for GD
>>
>> ?!?!?!?!  Is that a typo?
>>
> Half and half. The "suppoprt" is obviously a typo, but unfortunately,
> PHP uses a bundled copy of GD, so that isn't.
>
> ...and there's more. In php-7.x, they've dropped libvpx in favor of
> libwebp. Our existing USE=vpx (to pull in libvpx) therefore does nothing
> in php-7.x, so I'm going to change it to USE=webp and have it pull in
> libwebp instead. It takes forever to compile-test, but I'll push a fix
> afterwards. Thanks for noticing!
>
>
php *7* now?!!

The existing use description might be considered slightly confusing,
potentially ..



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-dev] [RFC] New global USE flag: webp

2016-06-04 Thread Michael Orlitzky
On 06/04/2016 12:29 PM, waltd...@waltdnes.org wrote:
> 
> dev-lang/php:vpx - Enable webp suppoprt for GD
> 
> ?!?!?!?!  Is that a typo?
> 

Half and half. The "suppoprt" is obviously a typo, but unfortunately,
PHP uses a bundled copy of GD, so that isn't.

...and there's more. In php-7.x, they've dropped libvpx in favor of
libwebp. Our existing USE=vpx (to pull in libvpx) therefore does nothing
in php-7.x, so I'm going to change it to USE=webp and have it pull in
libwebp instead. It takes forever to compile-test, but I'll push a fix
afterwards. Thanks for noticing!




Re: [gentoo-dev] [RFC] New global USE flag: webp

2016-06-04 Thread Daniel Campbell
On 06/04/2016 09:29 AM, waltd...@waltdnes.org wrote:
> On Sat, Jun 04, 2016 at 12:45:15PM +0200, Chí-Thanh Christopher Nguy???n wrote
>> Suggested description: Add support for the WebP image format
>> Currently in use by the following packages:
> 
>   Out of sheer curiousity...
> 
> grep -i -w webp /usr/portage/profiles/use.local.desc
> 
> ...returns the same list *PLUS*
> 
> dev-lang/php:vpx - Enable webp suppoprt for GD
> 
> ?!?!?!?!  Is that a typo?
> 
No, libvpx is what's used to produce webp/webm things, afaict. So in the
case of php, that flag should probably be renamed.

-- 
Daniel Campbell - Gentoo Developer
OpenPGP Key: 0x1EA055D6 @ hkp://keys.gnupg.net
fpr: AE03 9064 AE00 053C 270C  1DE4 6F7A 9091 1EA0 55D6



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-dev] [RFC] New global USE flag: webp

2016-06-04 Thread waltdnes
On Sat, Jun 04, 2016 at 12:45:15PM +0200, Chí-Thanh Christopher Nguy???n wrote
> Suggested description: Add support for the WebP image format
> Currently in use by the following packages:

  Out of sheer curiousity...

grep -i -w webp /usr/portage/profiles/use.local.desc

...returns the same list *PLUS*

dev-lang/php:vpx - Enable webp suppoprt for GD

?!?!?!?!  Is that a typo?

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-dev] [RFC] New global USE flag: webp

2016-06-04 Thread Raymond Jennings
+2

I don't know how many packages that is but it's WAY over the minimum of 5
advised in the dev handbook

On Sat, Jun 4, 2016 at 3:55 AM, Davide Pesavento  wrote:

> On Sat, Jun 4, 2016 at 12:45 PM, Chí-Thanh Christopher Nguyễn
>  wrote:
> > Suggested description: Add support for the WebP image format
> > Currently in use by the following packages:
> >
> > app-text/tesseract:webp - Enable support for webp image format.
> > dev-games/aseprite:webp - Enable webp image format support
> > dev-libs/DirectFB:webp - build WebP image provider
> > dev-libs/efl:webp - Enable WebP image loader
> > dev-python/pillow:webp - Enable support for webp image format.
> > dev-qt/qtwebkit:webp - Add support for WebP image format
> > media-gfx/darktable:webp - Enable WebP export support
> > media-gfx/fbida:webp - Enable support for the WebP image format
> > media-gfx/graphicsmagick:webp - Enable support for webp image format
> > media-gfx/gthumb:webp - Enable support for webp image format
> > media-gfx/imagemagick:webp - Enable webp image format support using
> > media-libs/libwebp
> > media-gfx/imageworsener:webp - enable webp image format support
> > media-gfx/nomacs:webp - Build support for WEBP image format
> > media-gfx/qiviewer:webp - Build support for WEBP image format
> > media-libs/gd:webp - Enable support for the webp format
> > media-libs/gegl:webp - Enable support for media-libs/libwebp
> > media-libs/jbig2enc:webp - Add support for WEBP image format
> > media-libs/leptonica:webp - Adds support for the WebP image format
> > media-libs/opencv:webp - Enable support for webp image format
> > media-libs/sdl-image:webp - support loading WEBP images
> > media-libs/sdl2-image:webp - support loading WEBP images
> > media-video/ffmpeg:webp - Enables WebP encoding with media-libs/libwebp.
> > media-video/libav:webp - Enable WebP encoding with media-libs/libwebp.
> > www-client/netsurf:webp - WebP image support (media-libs/libwebp)
> > x11-wm/windowmaker:webp - Enables WebP image format support using
> > media-libs/libwebp
> > x11-wm/xpra:webp - Enable webp image format support
> >
>
> +1
>
>


Re: [gentoo-dev] [RFC] New global USE flag: webp

2016-06-04 Thread Davide Pesavento
On Sat, Jun 4, 2016 at 12:45 PM, Chí-Thanh Christopher Nguyễn
 wrote:
> Suggested description: Add support for the WebP image format
> Currently in use by the following packages:
>
> app-text/tesseract:webp - Enable support for webp image format.
> dev-games/aseprite:webp - Enable webp image format support
> dev-libs/DirectFB:webp - build WebP image provider
> dev-libs/efl:webp - Enable WebP image loader
> dev-python/pillow:webp - Enable support for webp image format.
> dev-qt/qtwebkit:webp - Add support for WebP image format
> media-gfx/darktable:webp - Enable WebP export support
> media-gfx/fbida:webp - Enable support for the WebP image format
> media-gfx/graphicsmagick:webp - Enable support for webp image format
> media-gfx/gthumb:webp - Enable support for webp image format
> media-gfx/imagemagick:webp - Enable webp image format support using
> media-libs/libwebp
> media-gfx/imageworsener:webp - enable webp image format support
> media-gfx/nomacs:webp - Build support for WEBP image format
> media-gfx/qiviewer:webp - Build support for WEBP image format
> media-libs/gd:webp - Enable support for the webp format
> media-libs/gegl:webp - Enable support for media-libs/libwebp
> media-libs/jbig2enc:webp - Add support for WEBP image format
> media-libs/leptonica:webp - Adds support for the WebP image format
> media-libs/opencv:webp - Enable support for webp image format
> media-libs/sdl-image:webp - support loading WEBP images
> media-libs/sdl2-image:webp - support loading WEBP images
> media-video/ffmpeg:webp - Enables WebP encoding with media-libs/libwebp.
> media-video/libav:webp - Enable WebP encoding with media-libs/libwebp.
> www-client/netsurf:webp - WebP image support (media-libs/libwebp)
> x11-wm/windowmaker:webp - Enables WebP image format support using
> media-libs/libwebp
> x11-wm/xpra:webp - Enable webp image format support
>

+1



[gentoo-dev] [RFC] New global USE flag: webp

2016-06-04 Thread Chí-Thanh Christopher Nguyễn

Suggested description: Add support for the WebP image format
Currently in use by the following packages:

app-text/tesseract:webp - Enable support for webp image format.
dev-games/aseprite:webp - Enable webp image format support
dev-libs/DirectFB:webp - build WebP image provider
dev-libs/efl:webp - Enable WebP image loader
dev-python/pillow:webp - Enable support for webp image format.
dev-qt/qtwebkit:webp - Add support for WebP image format
media-gfx/darktable:webp - Enable WebP export support
media-gfx/fbida:webp - Enable support for the WebP image format
media-gfx/graphicsmagick:webp - Enable support for webp image format
media-gfx/gthumb:webp - Enable support for webp image format
media-gfx/imagemagick:webp - Enable webp image format support using 
media-libs/libwebp

media-gfx/imageworsener:webp - enable webp image format support
media-gfx/nomacs:webp - Build support for WEBP image format
media-gfx/qiviewer:webp - Build support for WEBP image format
media-libs/gd:webp - Enable support for the webp format
media-libs/gegl:webp - Enable support for media-libs/libwebp
media-libs/jbig2enc:webp - Add support for WEBP image format
media-libs/leptonica:webp - Adds support for the WebP image format
media-libs/opencv:webp - Enable support for webp image format
media-libs/sdl-image:webp - support loading WEBP images
media-libs/sdl2-image:webp - support loading WEBP images
media-video/ffmpeg:webp - Enables WebP encoding with media-libs/libwebp.
media-video/libav:webp - Enable WebP encoding with media-libs/libwebp.
www-client/netsurf:webp - WebP image support (media-libs/libwebp)
x11-wm/windowmaker:webp - Enables WebP image format support using 
media-libs/libwebp

x11-wm/xpra:webp - Enable webp image format support



Best regards,
Chí-Thanh Christopher Nguyễn



signature.asc
Description: OpenPGP digital signature