Opened 13 years ago

Closed 12 years ago

#28197 closed update (fixed)

vrpn: update to 7.28

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: sean@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: vrpn

Description

vrpn should be updated to version 7.28. I'll see if I can attach a patch.

Attachments (3)

vrpn-7.28.2.diff (1.7 KB) - added by ryandesign (Ryan Carsten Schmidt) 13 years ago.
incomplete patch
vrpn-7.28.2-2.diff (2.4 KB) - added by ryandesign (Ryan Carsten Schmidt) 13 years ago.
revised incomplete patch
Portfile (1.3 KB) - added by sean@… 13 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 Changed 13 years ago by jmroot (Joshua Root)

Owner: changed from vrpn to sean@…
Version: 1.9.2

Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: vrpn-7.28.2.diff added

incomplete patch

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

vrpn's build system turns out to be pretty craptastic and I was unable to complete this update. Attached is as far as I got. My patch:

  • sets the version to 7.28.2, since that's the version number cmake's output reports
  • sets dist_subdir, since it appears that the developers might be in the habit of increasing the software's version without modifying the distfile's name
  • indicates that this software is under the Boost license
  • performs an out-of-source build, since the software now mandates this

The first error reported during the build is:

make: hw_os: Command not found

Sure, "hw_os" is not a command I've ever heard of and does not exist on Mac OS X. There are comments in the Makefiles to the effect that they noticed that this command does not exist on FreeBSD and the code use a workaround in that case, but they apparently didn't bother checking Mac OS X. There are commented-out settings for HW_OS that we could possibly use: powerpc_macosx or universal_macosx. universal_macosx seems to hardcode building for i386 and ppc and the 10.4u SDK, which is not what we want. powerpc_macosx seems to do nothing PowerPC-specific so that may be the option we want, despite its name.

Other new issues are that vrpn is now looking for and finding MacPorts swig and python on my system, so there are either some new dependencies needed, or optional features that need to be turned off. It's also looking for and not finding libusb; not sure why; I do have it installed. It's also not UsingTheRightCompiler.

Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: vrpn-7.28.2-2.diff added

revised incomplete patch

comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Attached is a revised patch which also:

  • builds on Mac OS X using HW_OS=powerpc_macosx
  • ensures we're UsingTheRightCompiler and build_arch
  • disables the universal variant since that fails to build
  • installs to the correct prefix and destroot

The swig, python, and libusb issues remain to be solved.

I'm also confused that vrpn 7.28.2 installs nothing into ${prefix}/bin; 07_26 installed 37 programs there. Where did they all go?

comment:4 in reply to:  3 Changed 13 years ago by sean@…

I'm having similar issues, including swig/python/libusb -- can't seem to get this port into a workable state.

comment:5 Changed 13 years ago by sean@…

Portfile attached for 7.29 which resolves the previous build issues. It requires a build out of source, so some other Portfile changes were necessary.

Changed 13 years ago by sean@…

Attachment: Portfile added

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

Resolution: fixed
Status: newclosed

Committed in r88439. (Please provide portfile changes as a diff in future BTW.)

Note: See TracTickets for help on using tickets.