Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 412447 - media-libs/vips version bump
Summary: media-libs/vips version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 619514
  Show dependency tree
 
Reported: 2012-04-17 23:20 UTC by Johan Bergström
Modified: 2018-01-28 16:30 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
vips-7.30.1.ebuild (vips-7.30.1.ebuild,2.19 KB, text/plain)
2012-08-31 19:40 UTC, Steven Peckins
Details
vips-7.38.5.ebuild (vips-7.38.5.ebuild,2.00 KB, text/plain)
2014-03-02 20:56 UTC, Andrew Savchenko
Details
metadata.xml (metadata.xml,459 bytes, text/xml)
2014-03-02 20:56 UTC, Andrew Savchenko
Details
Updated ebuild to version 8.2.2 (vips-8.2.2.ebuild,1.96 KB, patch)
2016-03-08 18:28 UTC, Felix Janda
Details | Diff
Updated metadata.xml (metadata.xml,809 bytes, patch)
2016-03-08 18:29 UTC, Felix Janda
Details | Diff
Corrected vips-8.2.2.ebuild (vips-8.2.2.ebuild,2.26 KB, text/plain)
2016-03-12 06:20 UTC, *
Details
force_version_for_Vips.py.patch (force_version_for_Vips.py.patch,390 bytes, patch)
2016-03-12 06:21 UTC, *
Details | Diff
vips-8.4.5.ebuild (vips-8.4.5.ebuild,2.18 KB, text/plain)
2017-03-12 03:53 UTC, *
Details
vips-8.4.5-force_version.patch (vips-8.4.5-force_version.patch,429 bytes, patch)
2017-03-12 03:53 UTC, *
Details | Diff
vips-8.6.0.ebuild (vips-8.6.0.ebuild,2.15 KB, text/plain)
2017-12-28 15:53 UTC, A Blamey
Details
vips-8.6.0-force_version.patch (vips-8.6.0-force_version.patch,429 bytes, patch)
2017-12-28 15:55 UTC, A Blamey
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Johan Bergström 2012-04-17 23:20:44 UTC
Just found this gem and saw that there's a newer version available. Did a rename of the ebuild, seems to work fine.

One minor (silly, really) note: Some of the wrapper bash scripts, such as /usr/bin/resize_image assume sys-devel/bc is installed.
Comment 1 Johan Bergström 2012-04-17 23:28:00 UTC
Sorry, not "resize_image" – it should be "shrink_width"
Comment 2 Steven Peckins 2012-08-31 19:40:58 UTC
Created attachment 322655 [details]
vips-7.30.1.ebuild

Here is an ebuild for the latest version, 7.30.1, which was released today.

I also have a version including openslide support, which was added a few versions ago, but I didn't include that here since openslide is not in the official portage tree.  Both ebuilds are on my github repo (https://github.com/speckins/usr-local-portage) if anyone needs that.
Comment 3 Andrew Savchenko gentoo-dev 2014-03-02 20:56:07 UTC
Created attachment 371584 [details]
vips-7.38.5.ebuild

Updated ebuild.
Upgrade to EAPI=5 and python-single-r1 eclass.
Comment 4 Andrew Savchenko gentoo-dev 2014-03-02 20:56:45 UTC
Created attachment 371586 [details]
metadata.xml

Description of new USE flags.
Comment 5 Felix Janda 2016-03-08 18:28:33 UTC
Created attachment 427752 [details, diff]
Updated ebuild to version 8.2.2

Update to EAPI 6
Add dependency on dev-libs/gobject-introspection to work around automagic dependency
Always enable python vips8 overrides when USE=python
Comment 6 Felix Janda 2016-03-08 18:29:22 UTC
Created attachment 427754 [details, diff]
Updated metadata.xml
Comment 7 * 2016-03-09 07:11:48 UTC
For vips8, are these flags compatible?

--with-python
--enable-pyvips8

I thought the former made bindings for python 2. Since I want the bindings for python 3.5, I've been using --without-python. Also because the build fails for python 3.5 if I don't.
Comment 8 Felix Janda 2016-03-09 08:13:01 UTC
Thanks for testing! Indeed the vips7 bindings seem to be incompatible
with python 3.

So maybe add a "pyvips8" use flag for the vips8 bindings. The "python"
use flag which will stand for the old vips7 bindings should then
collide with $(python_gen_useflags 'python3*'). If everything works
fine for you with python 3.5, we can also add that to PYTHON_COMPAT.

Does that seems sensible? Feel free to create a corrected ebuild
yourself. (There is documentation for the used eclass at
https://devmanual.gentoo.org/eclass-reference/python-single-r1.eclass/index.html .)
With a pull request this should get fixed soon.
Comment 9 * 2016-03-12 06:20:37 UTC
Created attachment 428008 [details]
Corrected vips-8.2.2.ebuild
Comment 10 * 2016-03-12 06:21:11 UTC
Created attachment 428010 [details, diff]
force_version_for_Vips.py.patch
Comment 11 * 2016-03-12 06:27:53 UTC
Okay, I've submitted an updated ebuild. We could use "python" and "pyvips8", but it seems like it would be more user-friendly to just use "python", even if that makes the ebuild more complicated. I'm not an expert at this, so it's totally possible there's an error somewhere.
Comment 12 Andrew Savchenko gentoo-dev 2016-09-14 10:51:30 UTC
vips-7.38.5 is in the tree now (see bug 453810). I'll take a look at 8.3 update if I'll find some time, not now :/
Comment 13 Sam 2017-03-05 12:50:06 UTC
Quick note: vips has been updated to version 8.4 just briefly after Andrew's post :) and is currently at 8.4.5.

The 8.4.5 version can be built with the provided ebuild after a version bump and removing the force-version-patch.
Comment 14 * 2017-03-12 03:53:15 UTC
Created attachment 466770 [details]
vips-8.4.5.ebuild
Comment 15 * 2017-03-12 03:53:44 UTC
Created attachment 466772 [details, diff]
vips-8.4.5-force_version.patch
Comment 16 * 2017-03-12 03:56:34 UTC
I've updated the ebuild and my patch, which is still necessary to suppress the version warning.

Note that for macOS, I also needed Bug 612378.
Comment 17 Eugene Cormier 2017-12-14 01:09:51 UTC
I know this bug is old, but I'll request the same, current stable is vips 8.6, the emerge vips fails because it can't find the 7.38.5 anymore since it was released in 2012! we need a bump here
Comment 18 A Blamey 2017-12-28 15:52:38 UTC
VIPS has moved to github, and it's homepage is now https://jcupitt.github.io/libvips/

I'll attach an ebuild for VIPS-8.6.0 with the new locations.  It builds fine for me with latest imagemagick.
Comment 19 A Blamey 2017-12-28 15:53:54 UTC
Created attachment 511830 [details]
vips-8.6.0.ebuild
Comment 20 A Blamey 2017-12-28 15:55:11 UTC
Created attachment 511832 [details, diff]
vips-8.6.0-force_version.patch
Comment 21 Pacho Ramos gentoo-dev 2017-12-28 18:39:41 UTC
Do you want to proxy maintain vips and nip2?
https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers

I remember last time we were able to get it bumped but, later, the problem reappeared as nobody was really maintaining it and bumping it
Comment 22 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2018-01-28 16:30:58 UTC
Gone.