Bug 169288 - [maintainer update] update graphics/openimageio
Summary: [maintainer update] update graphics/openimageio
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: Guido Falsi
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-21 09:50 UTC by Shane
Modified: 2012-06-26 12:40 UTC (History)
0 users

See Also:


Attachments
file.diff (1.58 KB, patch)
2012-06-21 09:50 UTC, Shane
no flags Details | Diff
openimageio.diff (3.68 KB, patch)
2012-06-23 13:58 UTC, Guido Falsi
no flags Details | Diff
openimageio.diff (4.59 KB, patch)
2012-06-23 14:10 UTC, Guido Falsi
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Shane 2012-06-21 09:50:08 UTC
Patch to update graphics/openimageio to v1.0.6

The patch doesn't appear to include info to delete files/* - the patches there can be deleted as they have been merged upstream. Is that a switch I am missing in diff?

Fix: Patch attached with submission follows:
Comment 1 Guido Falsi freebsd_committer freebsd_triage 2012-06-22 10:52:07 UTC
Responsible Changed
From-To: freebsd-ports-bugs->madpilot

I'll take it.
Comment 2 Guido Falsi freebsd_committer freebsd_triage 2012-06-22 11:37:01 UTC
Hi,

Thanks for your submission.

There is no special flag to fully remove files, you can use the -N flag
which sill make them empty after applying the patch(will show all
content as removed in the patch).

It's quite handy for committers if you specify removed and added files
explicitly in the description of your submissions.

I'm testing your patch and noticed you are using ABI version numbers in
the LIB_DEPENDS, portlint reports this:

WARN: Makefile: LIB_DEPENDS don't specify the ABI version number .6 in
IlmImf.6 unless it is really necessary.
WARN: Makefile: LIB_DEPENDS don't specify the ABI version number .4 in
boost_thread.4 unless it is really necessary.
WARN: Makefile: LIB_DEPENDS don't specify the ABI version number .2 in
opencv_legacy.2 unless it is really necessary.
WARN: Makefile: LIB_DEPENDS don't specify the ABI version number .4 in
tbb.4 unless it is really necessary.
WARN: Makefile: LIB_DEPENDS don't specify the ABI version number .2 in
webp.2 unless it is really necessary.

As portliny states, are you sure you need to wire the exact abi version?
If a minimum requirement exists you can code it as a "glob" like
foo.[3-9]*

if you simply don't care about the ABI version it would be best to
simply remove it like:

webp:${PORTSDIR}/graphics/webp

and let the ports system manage it. I can remove them myself before
committing if you approve. Or, if some strict requirement needs to be
there you can file an updated patch.

Thanks!

-- 
Guido Falsi <madpilot@FreeBSD.org>
Comment 3 Guido Falsi freebsd_committer freebsd_triage 2012-06-23 13:58:35 UTC
Hi,

Looking better at your submission I converted it to the new options 
framework.

I also removed the libraries ABI versions.

I'm attaching a patch for you to approve. Thanks.

-- 
Guido Falsi <madpilot@FreeBSD.org>
Comment 4 Guido Falsi freebsd_committer freebsd_triage 2012-06-23 14:01:50 UTC
State Changed
From-To: open->feedback

Ask for maintainer approval.
Comment 5 Guido Falsi freebsd_committer freebsd_triage 2012-06-23 14:10:34 UTC
I attached the wrong file. Sorry for my mistake, please disregard 
previous patch.

-- 
Guido Falsi <madpilot@FreeBSD.org>
Comment 6 Shane 2012-06-26 04:17:52 UTC
Having just looked over the info for the new options framework I see no 
problems with the changes you have made.

The only change I would add is to add docs=on but that can wait for the 
next update.
Comment 7 Guido Falsi freebsd_committer freebsd_triage 2012-06-26 08:58:47 UTC
State Changed
From-To: feedback->open

Maintainer has approved.
Comment 8 dfilter service freebsd_committer freebsd_triage 2012-06-26 12:39:10 UTC
madpilot    2012-06-26 11:38:56 UTC

  FreeBSD ports repository

  Modified files:
    graphics/openimageio Makefile distinfo pkg-plist 
  Removed files:
    graphics/openimageio/files patch-src_iv_imageviewer.cpp 
                               patch-src_ptex.imageio_ptex_Ptexture.h 
  Log:
  - Update to 1.0.6
  - Convert to new options framework
  - Make DOCS options default to on, as per maintainer request
  
  PR:             ports/169288
  Submitted by:   Shane Ambler <FreeBSD@Shaneware.biz>
  Approved by:    crees (mentor)
  
  Revision  Changes    Path
  1.6       +14 -13    ports/graphics/openimageio/Makefile
  1.3       +2 -2      ports/graphics/openimageio/distinfo
  1.2       +0 -14     ports/graphics/openimageio/files/patch-src_iv_imageviewer.cpp (dead)
  1.2       +0 -17     ports/graphics/openimageio/files/patch-src_ptex.imageio_ptex_Ptexture.h (dead)
  1.4       +1 -1      ports/graphics/openimageio/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 9 Guido Falsi freebsd_committer freebsd_triage 2012-06-26 12:39:17 UTC
State Changed
From-To: open->closed

Committed. Thanks!