Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#15953 closed submission (fixed)

vigra: New port for VIGRA Image Library

Reported by: BSeppke (Benjamin Seppke) Owned by: ryandesign (Ryan Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port:

Description

Some more information about this wonderful c++ image processing lib:

VIGRA stands for "Vision with Generic Algorithms". It's a novel computer vision library that puts its main emphasize on customizable algorithms and data structures. By using template techniques similar to those in the C++ Standard Template Library, you can easily adapt any VIGRA component to the needs of your application, without thereby giving up execution speed.

Attachments (1)

Portfile (1.5 KB) - added by BSeppke (Benjamin Seppke) 12 years ago.
The Portfile of the new port for vigra

Download all attachments as: .zip

Change History (10)

Changed 12 years ago by BSeppke (Benjamin Seppke)

Attachment: Portfile added

The Portfile of the new port for vigra

comment:1 Changed 12 years ago by ryandesign (Ryan Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…
Priority: HighNormal
Status: newassigned
Summary: Adding the VIGRA Image Library to MacPortsvigra: New port for VIGRA Image Library

comment:2 Changed 12 years ago by ryandesign (Ryan Schmidt)

Resolution: fixed
Status: assignedclosed

I committed the port in r38306 with these changes:

  • Fixed install command parameter (-m not --mode=) so it works with Apple's BSD install too, not just GNU install.
  • Fixed destroot phase so port actually installs into destroot and MacPorts can track the port's contents.
  • Fixed documentation installation so it goes where MacPorts documentation customarily lives.
  • Fixed livecheck so it works.
  • Enabled parallel build to speed things up for users with multiple processors and/or multiple processor cores.
  • Indicate that the universal variant does not work.
  • Escaped the quotes in the long description so the port is considered syntactically valid.
  • Fixed a typo in the long description. (emphasize => emphasis)
  • Changed master_sites to use the ${homepage} variable instead of repeating the homepage URL.
  • Changed distname to use the ${name} variable instead of repeating the port name.
  • Removed --prefix=${prefix} --exec-prefix=${prefix} from configure.args since --prefix=${prefix} is already in configure.pre_args and --exec-prefix=${prefix} should be the default when --prefix=${prefix} is used.
  • Switched from a mix of tabs and spaces for indentation to all spaces, and removed trailing whitespace.

You set the maintainer to nomaintainer. I set it to myself and openmaintainer, but I don't really know the software. Would you like to be the maintainer?

comment:3 Changed 12 years ago by BSeppke (Benjamin Seppke)

Yes, I would like to be the maintainer. I'm relatively new to MacPorts, so I'm sorry for the work you had with this port. Thanks a lot for cleaning up!

comment:4 Changed 12 years ago by BSeppke (Benjamin Seppke)

Resolution: fixed
Status: closedreopened

I tried out the now available port, but without success - unfortunately... It seems, that there are no bindings to the needed libraries inside the libvigraimpex.dylib (to libpng, libz, libjpeg and libtiff). Normally, the configure searches them, and should find them in /opt/local/(lib). If all are found, the vigra-config command should also return them when calling vigra-config --libs. This is not the case after installing this port, so my explanation to this is that they're just not found by the configure. How can I test (and of course fix) that behaviour?

comment:5 Changed 12 years ago by ryandesign (Ryan Schmidt)

Sorry, I overlooked your note until now.

I updated the vigra port to 1.6.0 in r39268.

I agree vigra-config --libs doesn't show any links to the other libraries, and otool -L /opt/local/lib/libvigraimpex.2.0.160.dylib doesn't show the library linking with those other libraries.

You can sudo port -d configure vigra and look at all the output produced. You can also examine the file config.log in the source directory after configure is run.

comment:6 Changed 12 years ago by ryandesign (Ryan Schmidt)

I made you the maintainer in r39269.

comment:7 in reply to:  4 Changed 12 years ago by ryandesign (Ryan Schmidt)

Resolution: fixed
Status: reopenedclosed

Replying to benjamin.seppke@gmail.com:

I tried out the now available port, but without success - unfortunately... It seems, that there are no bindings to the needed libraries inside the libvigraimpex.dylib (to libpng, libz, libjpeg and libtiff). Normally, the configure searches them, and should find them in /opt/local/(lib). If all are found, the vigra-config command should also return them when calling vigra-config --libs. This is not the case after installing this port, so my explanation to this is that they're just not found by the configure.

Fixed in r39270. Apparently the --with-foo=dir form doesn't work so well (should probably report that problem upstream), but --with-foo works fine.

comment:8 Changed 12 years ago by jmroot (Joshua Root)

Type: enhancementsubmission

comment:9 Changed 12 years ago by (none)

Milestone: Port Submissions

Milestone Port Submissions deleted

Note: See TracTickets for help on using tickets.