Bug 171884 - [maintainer update] update for graphics/opencolorio
Summary: [maintainer update] update for graphics/opencolorio
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Marcus von Appen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-23 06:20 UTC by Shane
Modified: 2012-12-20 10:52 UTC (History)
0 users

See Also:


Attachments
file.diff (19.29 KB, patch)
2012-09-23 06:20 UTC, Shane
no flags Details | Diff
opencolorio.patch.txt (19.50 KB, text/plain; charset=UTF-8)
2012-10-05 16:28 UTC, Shane
no flags Details
opencolorio.patch.txt (19.32 KB, text/plain; charset=UTF-8)
2012-10-07 15:50 UTC, Shane
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Shane 2012-09-23 06:20:04 UTC
Sorry - the %%PYTHON_SITELIBDIR%% I added at the end of the Makefile 
should be ${PYTHON_SITELIBDIR}
Comment 1 Shane 2012-09-23 06:20:08 UTC
Update to graphics/opencolorio which fixes the gcc linking issues and documentation creation.

Three questions - 
1. The base code installs .so.1 and .so.1.0.7 and I added .so.1.0 - is the .so.1.0 needed/not-wanted/not-important?

2. To get the latex steps working I needed to rename .jpeg files to .jpg - this seems a wasted step - is there something I am missing or is this a quirk we work with?

3. With openimageio I needed to separate the python bindings into a separate port, which was initially due to dependency issues. While I don't see the dependency issue here, I do need to build the bindings for the doc creation step. Should I separate the python bindings install into a separate port or add an option to install them or is that my choice?

Fix: Patch attached with submission follows:
Comment 2 Shane 2012-10-05 16:28:44 UTC
This patch replaces the previous one.

One small change added is to remove adding the rpath to LDFLAGS

Also corrected the PYTHON_SITELIBDIR I pasted wrong before submission.
Comment 3 Marcus von Appen freebsd_committer freebsd_triage 2012-10-06 16:50:55 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mva

I'll take it.
Comment 4 Marcus von Appen freebsd_committer freebsd_triage 2012-10-07 14:39:09 UTC
> Three questions -
> 1. The base code installs .so.1 and .so.1.0.7 and I added .so.1.0 - is
>    the .so.1.0 needed/not-wanted/not-important?

This is usually up to you, if there is no port or application explicitly
requiring .so.1.0 - most should not, but stick with .so or .so.X.
I would recommend not to create it to avoid unnecessary maintenance.

> 2. To get the latex steps working I needed to rename .jpeg files to .jpg
>    - this seems a wasted step - is there something I am missing or is this
>    a quirk we work with?

After looking at docs/CMakeLists.txt, it seems that the HTML version of
the docs always gets build. Is a latex-based output necessary then? To
lower the patching effort, I'd recommend to match CMakeLists.txt not to
build the latex part by e.g. commenting out find_package(LATEX) and
setting if(PDFLATEX_COMPILER) to e.g. if(FALSE) or if(0).

> 3. With openimageio I needed to separate the python bindings into a
>    separate port, which was initially due to dependency issues. While I
>    don't see the dependency issue here, I do need to build the bindings for
>    the doc creation step. Should I separate the python bindings install
>    into a separate port or add an option to install them or is that my
>    choice?

That's your choice.

Cheers
Marcus
Comment 5 Shane 2012-10-07 15:50:32 UTC
This patch replaces the previous patch.

Fixed gcc linking.
Fixed documentation building.
Removed utility apps - moving into own port (opencolorio-tools)
Comment 6 Marcus von Appen freebsd_committer freebsd_triage 2012-12-20 10:52:35 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!