Opened 8 years ago

Closed 6 years ago

#52123 closed update (fixed)

rtmpdump @2.4_2: needs updating

Reported by: keybounce Owned by: CaptSolo
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: khindenburg
Port: rtmpdump

Description

rtmpdump has been updated in git. While an official release has not been made, the current master has a number of bug fixes and improvements.

In particular, youtube-dl cannot fetch videos from BBC with the released version of rtmpdump, but can apparently do it with the current git master.

Change History (4)

comment:1 Changed 8 years ago by larryv (Lawrence Velázquez)

Owner: changed from macports-tickets@… to captsolo@…
Summary: rtmpdump needs updatingrtmpdump @2.4_2: needs updating
Version: 2.3.4

In future tickets, please Cc any port maintainers (port info --maintainers rtmpdump).

comment:2 Changed 8 years ago by keybounce

OK, I'd like some help here.

I cloned rtmpdump from the git. I wanted to replace macport's rtmpdump with the current one, so I modified the PREFIX= in the Makefile from /usr/local to /opt/local, and did the same thing in the rtmplib/Makefile as well.

Compiled (make SYS=darwin) no problem (lots of warnings)
sudo make install worked, and put everything into /opt/local.

But trying to run it gives

keybounceMBP:FrozenPlanet michael$ rtmpdump --version
dyld: Library not loaded: /usr/local/lib/librtmp.1.dylib
  Referenced from: /opt/local/bin/rtmpdump
  Reason: image not found
Trace/BPT trap: 5

How do I make it reference /opt/local/lib instead of /usr/local/lib, given that I've modified the prefix -- and verified that the compilation/installation of the library is using /opt/local/lib?

Alternatively, how do I go about modifying the official portfile? (As in: I have never modified anything in macports so far, and don't even know what step zero is.)

Last edited 6 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:3 Changed 7 years ago by kurthindenburg (Kurt Hindenburg)

Cc: khindenburg added

Ideally, they should release a new version

You can read https://guide.macports.org/#development and https://guide.macports.org/#reference.phases.fetch.advanced

Also, looking at other Portfiles that use git is often helpful

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

Resolution: fixed
Status: newclosed

rtmpdump was updated to the latest git in [8b6e4e6388af0f6eb85515afbe05f90306ab5f49/macports-ports].

Note: See TracTickets for help on using tickets.