Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 577512 - media-gfx/enblend-4.1.4 version bump
Summary: media-gfx/enblend-4.1.4 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Graphics Project
URL: http://hg.code.sf.net/p/enblend/code/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-15 23:26 UTC by Serge Gavrilov
Modified: 2016-10-08 17:05 UTC (History)
7 users (show)

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


Attachments
enblend-4.2.ebuild (enblend-4.2.ebuild,1.39 KB, text/plain)
2016-09-08 17:51 UTC, Jonathan Scruggs (RETIRED)
Details
cmake based ebuild (enblend-4.2.ebuild,1.79 KB, text/plain)
2016-09-21 18:35 UTC, Johannes Hirte
Details
enblend-4.2-add-missing-cmakelists.patch (enblend-4.2-add-missing-cmakelists.patch,1.60 KB, patch)
2016-09-21 18:36 UTC, Johannes Hirte
Details | Diff
enblend-4.2-add-missing-docs-cmakelists.patch (enblend-4.2-add-missing-docs-cmakelists.patch,17.19 KB, patch)
2016-09-21 18:36 UTC, Johannes Hirte
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Serge Gavrilov 2016-03-15 23:26:48 UTC
enblend-4.1.4 is released

Reproducible: Always
Comment 1 Jonathan Scruggs (RETIRED) gentoo-dev 2016-09-08 17:51:31 UTC
Created attachment 445238 [details]
enblend-4.2.ebuild

4.2 is out now, which is needed to compile with vigra 1.11.0. All 4.1.x ebuilds need to depend on <vigra-1.11.0.

I attached a very rough, hackish ebuild for 4.2 which compiles and installs it, but some new config options are missing. Also, can't enable or disable doc build as I can't see how in the Configure file (I looked quickly though). This was merely to test the building against vigra 1.11. I don't know if I have some of the enable and disable options correct, either. I did this in a very short time. Will work more on it later.

Note: They switched from CMake to just original autotools make, for some reason, and left broken CMake files there, so don't use those to compile.
Comment 2 Wojciech Myrda 2016-09-09 06:57:09 UTC
From the NEWS file following dependencies need to be set higher in the ebuild
http://hg.code.sf.net/p/enblend/code/file/a7a247e1e64b/NEWS

Boost version 1.55 or later is now required to build.
Vigra version 1.9 or later is now required to build.

As for "doc" code has to be patched to allow build without latex or it will fail on systems without it or maybe it is hard dependency now?
Comment 3 Jonathan Scruggs (RETIRED) gentoo-dev 2016-09-09 15:54:46 UTC
(In reply to Wojciech Myrda from comment #2)
> From the NEWS file following dependencies need to be set higher in the ebuild
> http://hg.code.sf.net/p/enblend/code/file/a7a247e1e64b/NEWS
> 
> Boost version 1.55 or later is now required to build.
> Vigra version 1.9 or later is now required to build.
> 
> As for "doc" code has to be patched to allow build without latex or it will
> fail on systems without it or maybe it is hard dependency now?

I know about those depends. :) That's planned. Like I said, just got it quickly working to see if it really did compile against vigra 1.11.

I need to find the switch in the Config file that disables doc building. It seems to autodetect if it can, so I may need to patch the config file with a switch.
Comment 4 Jonathan Scruggs (RETIRED) gentoo-dev 2016-09-12 15:25:40 UTC
I was working on the ebuild today. The docs built fine and installed, but when I uninstalled programs and reinstalled them to test the config stage, something broke, so I can no longer test doc building.

Well, anyways, the doc use flag works as intended now. I uploaded my work to my repo with the Blender work since there's a new patch now.

https://github.com/dracwyrm/gentoo-ebuilds/tree/master/media-gfx/enblend

This should largely work now. Have fun.
Comment 5 Johannes Hirte 2016-09-21 18:35:45 UTC
Created attachment 447228 [details]
cmake based ebuild
Comment 6 Johannes Hirte 2016-09-21 18:36:40 UTC
Created attachment 447230 [details, diff]
enblend-4.2-add-missing-cmakelists.patch
Comment 7 Johannes Hirte 2016-09-21 18:36:58 UTC
Created attachment 447232 [details, diff]
enblend-4.2-add-missing-docs-cmakelists.patch
Comment 8 Johannes Hirte 2016-09-21 18:38:31 UTC
Added a cmake-based ebuild with the necessary patches. I didn't test the doc useflag. Enblend builds without this and without pdflatex installed.
Comment 9 Jonathan Scruggs (RETIRED) gentoo-dev 2016-09-21 18:51:31 UTC
(In reply to Johannes Hirte from comment #8)
> Added a cmake-based ebuild with the necessary patches. I didn't test the doc
> useflag. Enblend builds without this and without pdflatex installed.

I'm going through upstream and they added in a bunch of fixes. Hopefully they release a 4.2.1 release soon that will fix all the cmake and doc building errors. :)

I think 4.2.1 should be the version that goes into portage, not 4.2.0.
Comment 10 Jonathan Scruggs (RETIRED) gentoo-dev 2016-09-24 11:25:56 UTC
I finally got around to updating my repo. I now have a 4.2.1 pre ebuild because it has all upstream CMake files (so using CMake again), Latex is completely optional now, and loads of other bug fixes. It's good that upstream finally added in the Latex fix. :) The ebuild attached in this report doesn't have the latex fix.

Also, I added new use flags: html to install html docs, pdf to install pdf docs, SSE2 for SIMD optimizations. I added in the complete list of dependencies for doc building, which now builds the docs perfectly on my system.

Also, added a patch to install the docs in separate sub-directories for tidiness.

If you test this ebuild, and it fails to configure because because of missing latex or other things, let me know so I can file a report upstream. The pre patch is all upstream and the doc directory fix is my patch.

Package maintainers: If you want to nick this ebuild then you can as it has all the new added features. Again, my belief is that since there is so much wrong with 4.2.0, it should not go in to the tree, but 4.2.1 has all the issues fixed from what I am seeing with my testing.

Ebuild and patches are here:
https://github.com/dracwyrm/gentoo-ebuilds/tree/master/media-gfx/enblend
My IRC nick is Dracwyrm and I am usually in #gentoo and #gentoo-proxy-maint
Comment 11 Jonathan Scruggs (RETIRED) gentoo-dev 2016-10-08 10:35:48 UTC
I updated the Pre ebuild to the latest source that has some nice bug fixes. I also added in a fix (hopefully) for an access denied error while building docs.

https://github.com/dracwyrm/gentoo-ebuilds/tree/master/media-gfx/enblend
Comment 12 David Seifert gentoo-dev 2016-10-08 17:05:27 UTC
commit 7868cf824003c710cbf58cd04d316765e7ce9a02
Author: Jonathan Scruggs <j.scruggs@gmail.com>
Date:   Sat Oct 8 14:12:14 2016 +0100

    media-gfx/enblend: Bump version to 4.2.0_p20161007
    
    Gentoo-bug: 577512, 593094, 595630
    
    The 4.2.0 release has missing CMake files, thus doesn't build, and
    there are general runtime bugs. This patch is from upstream that
    fixes all these issues.
    
    * Added more depends for document building
    * Added fix for document fonts access violation
    * Changed to EAPI 6
    * Added SIMD use flag
    * General ebuild tidy ups
    * Depend on Boost version >=1.62 (due to C++11/14)