Opened 4 years ago

Last modified 2 years ago

#53155 assigned update

HandBrake @0.10.0: update to 1.2.2

Reported by: keybounce Owned by: larryv (Lawrence Velázquez)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: ctreleaven (Craig Treleaven), bgrupe27, libsystem-ethan, mklein-de (Michael Klein)
Port: HandBrake

Description

Handbrake got an official release yesterday.

Attachments (1)

handbrake.diff (12.9 KB) - added by bgrupe27 4 years ago.
WIP Portfile

Download all attachments as: .zip

Change History (15)

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

Cc: larryv@… removed
Owner: set to larryv
Port: HandBrake added; handbrake removed
Status: newassigned
Summary: Handbrake needs updatingHandBrake: update to 1.0.0

comment:2 Changed 4 years ago by stanimura

Please tell us about the progress of writing port. The current port (0.10.0) can not build due to missing xcconfig file. We are waiting...

Last edited 4 years ago by stanimura (previous) (diff)

comment:3 Changed 4 years ago by gaming-hacker (G Alexander)

handbrake is already up to 1.0.2 why not just grab the .dmg and install it as app, i did this.

comment:4 Changed 4 years ago by ctreleaven (Craig Treleaven)

Cc: ctreleaven added

comment:5 Changed 4 years ago by l2dy (Zero King)

Summary: HandBrake: update to 1.0.0HandBrake @0.10.0: update to 1.0.7

Changed 4 years ago by bgrupe27

Attachment: handbrake.diff added

WIP Portfile

comment:6 Changed 4 years ago by bgrupe27

I gave it a shot myself since I'm using handbrake @macos, but I stumbled upon a weird problem. It builds fine when building manually out of macports but fails when building within macports. My knowledge of the magic done by macports is too limited to debug the issue.

I've attached how far I've come as a diff.

The build fails due to a header mismatch:

In file included from <module-includes>:337:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/ncurses.h:141:
/opt/local/include/unctrl.h:60:63: error: unknown type name 'SCREEN'
NCURSES_EXPORT(NCURSES_CONST char *) NCURSES_SP_NAME(unctrl) (SCREEN*, chtype);
                                                              ^
/opt/local/include/unctrl.h:60:53: error: function cannot return function type 'char *(int *, chtype)' (aka 'char *(int *, unsigned int)')
NCURSES_EXPORT(NCURSES_CONST char *) NCURSES_SP_NAME(unctrl) (SCREEN*, chtype);
                                                    ^
/opt/local/include/unctrl.h:60:54: error: a parameter list without types is only allowed in a function definition
NCURSES_EXPORT(NCURSES_CONST char *) NCURSES_SP_NAME(unctrl) (SCREEN*, chtype);
                                                     ^
3 errors generated.

comment:7 Changed 4 years ago by bgrupe27

Cc: bgrupe27 added

comment:8 Changed 3 years ago by libsystem-ethan

Cc: libsystem-ethan added

comment:9 Changed 3 years ago by kencu (Ken)

ncurses 6.0 on MacPorts enables a new export, and this fails as above. There is a difference between /usr/include/unctrl.h and ${prefix}/include/unctrl.h. The latter one seems to cause the problem.

Disabling ncurses on MacPorts doesn't seem to be an option, as many ports depend on it.

I'm not sure what a proper fix for this is as yet.

You can try disabling this header by:

configure.cppflags-append -DNCURSES_UNCTRL_H_incl

This worked for me in one port.

comment:10 Changed 3 years ago by mklein-de (Michael Klein)

Cc: mklein-de added

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

Summary: HandBrake @0.10.0: update to 1.0.7HandBrake @0.10.0: update to 1.1.0

The current version is 1.1.0.

comment:12 Changed 3 years ago by stanimura

The current version is 1.1.2.

comment:13 Changed 2 years ago by stanimura

The current version is 1.2.2.

comment:14 Changed 2 years ago by mf2k (Frank Schima)

Summary: HandBrake @0.10.0: update to 1.1.0HandBrake @0.10.0: update to 1.2.2
Note: See TracTickets for help on using tickets.