Skip to content

Conversation

@g-maxime
Copy link

No description provided.

@JeromeMartinez
Copy link

For your info, we failed to build a portable version of gtk3 (depends on a lot more of other projects), and we had hard time to build a portable version of gtk2, we were able to build it only on a old machine after several tries and this script downloads a binary of gtkdialog from mediaarea.net servers.
vrecord pkg can be built from any machine when downloading gtkdialog from our server, so updates are easy if you don't need to update gtkdialog. The project gtkdialog seems inactive so it may not be needed.

@privatezero
Copy link
Member

Did a quick test of this on my end (on a machine that is not 'clean'). So far have not been able to fully run the script - it appears to be erroring during the xmlstarlet build phase with:

Can't exec "aclocal": No such file or directory at /usr/local/Cellar/autoconf/2.72/share/autoconf/Autom4te/FileUtils.pm line 299. autoreconf: error: aclocal failed with exit status: 2

@g-maxime g-maxime force-pushed the macpkg branch 2 times, most recently from ce9a412 to 64320a6 Compare January 24, 2026 21:34
@g-maxime
Copy link
Author

Did a quick test of this on my end (on a machine that is not 'clean'). So far have not been able to fully run the script - it appears to be erroring during the xmlstarlet build phase with:

Can't exec "aclocal": No such file or directory at /usr/local/Cellar/autoconf/2.72/share/autoconf/Autom4te/FileUtils.pm line 299. autoreconf: error: aclocal failed with exit status: 2

Should be fixed now, the latest script version no longer requires the autotools.

@retokromer
Copy link
Member

On a clean macOS 26.2 I got:

gcc -g -I -c deckcontrol.cpp
deckcontrol.cpp:6:10: fatal error: 'DeckLinkAPI.h' file not found
    6 | #include "DeckLinkAPI.h"
      |          ^~~~~~~~~~~~~~~
1 error generated.
make: *** [deckcontrol.o] Error 1

The installer should also include DeckLink, right?

@g-maxime
Copy link
Author

g-maxime commented Jan 26, 2026

On a clean macOS 26.2 I got:

gcc -g -I -c deckcontrol.cpp
deckcontrol.cpp:6:10: fatal error: 'DeckLinkAPI.h' file not found
    6 | #include "DeckLinkAPI.h"
      |          ^~~~~~~~~~~~~~~
1 error generated.
make: *** [deckcontrol.o] Error 1

The installer should also include DeckLink, right?

  • DeckLink SDK is not part of the packaging script, it should be in the standard include path, or in the BMSDK environment variable.

Here the build command on our CI:

export BMSDK="/Users/ci/DeckLinkSDK/Mac/include"
./Release/Release_Mac.sh
  • The DeckLink drivers are not included in the .pkg distribution for technical and licensing reasons, and must be installed separately.

@JeromeMartinez
Copy link

@g-maxime please add a comment at the beginning of the script about the need of BMDSK and optional MACOS_CODESIGN_IDENTITY :

  • error message if `BMDSK is not set and also not in the path, indicating that DeckLink SDK is needed.
  • warning message if MACOS_CODESIGN_IDENTITY is not set, warning that the pkg will be valid but may be not instable on all machines.

macOS security being more and more strict with unsigned packages, it is better to sign the packages.
For information, package delivered by MediAarea are signed.

Signed-off-by: Maxime Gervais <gervais.maxime@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants