Mailing List Archive

30 on mac osx
Hi
the single mac frontend (that does 30) that I can find is MythFrontend-OSX-master.zip

MythTV Version : v31-Pre-304-ge4689155d2-dirty
MythTV Branch : devel/2019-render
Network Protocol : 91
Library API : 31.20190109-1
QT Version : 5.11.2
Options compiled in:
profile using_corevideo using_backend using_bindings_python using_bindings_php using_darwin using_firewire using_frontend using_vbox using_ceton using_libcrypto using_libdns_sd using_libfftw3 using_mheg using_opengl using_opengl_video using_opengl_themepainter using_qtwebkit using_qtscript using_qtdbus using_taglib using_xnvctrl using_xnvctrl_external using_libbluray_external using_profiletype using_appleremote using_bindings_python using_bindings_php using_freetype2 using_mythtranscode using_opengl using_ffmpeg_threads using_mheg using_libmp3lame

It definately has several defects and I am trying to build fixes/30.
The build has beaten mightier folk than me, so if I may bug the list from time to time …

First problem occurs durng config:

/opt/Qt5.5.1/5.5/clang_64/bin/qmake -o Makefile
Project ERROR: Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild.
Configuring libudfread...
Project ERROR: Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild.

Needless to say (a) I have accepted the license (b) I can cc and run the a.out (c) I can build QT apps as well as their demos. Which bit of the .pro file is invoking xcode’s wrath? How do I get past it?

next:
configure checks for QtWebKit headers that were replaced by QtWebEngine cica QT5.5. Do we ignore or change the configure file?

Thanks
James


_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: 30 on mac osx [ In reply to ]
Hi

> the single mac frontend (that does 30) that I can find is MythFrontend-OSX-master.zip
>
> MythTV Version : v31-Pre-304-ge4689155d2-dirty
> MythTV Branch : devel/2019-render
> Network Protocol : 91
> Library API : 31.20190109-1
> QT Version : 5.11.2
> Options compiled in:
> profile using_corevideo using_backend using_bindings_python using_bindings_php using_darwin using_firewire using_frontend using_vbox using_ceton using_libcrypto using_libdns_sd using_libfftw3 using_mheg using_opengl using_opengl_video using_opengl_themepainter using_qtwebkit using_qtscript using_qtdbus using_taglib using_xnvctrl using_xnvctrl_external using_libbluray_external using_profiletype using_appleremote using_bindings_python using_bindings_php using_freetype2 using_mythtranscode using_opengl using_ffmpeg_threads using_mheg using_libmp3lame
>
> It definately has several defects and I am trying to build fixes/30.
> The build has beaten mightier folk than me, so if I may bug the list from time to time …
>
> First problem occurs durng config:
>
> /opt/Qt5.5.1/5.5/clang_64/bin/qmake -o Makefile
> Project ERROR: Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild.
> Configuring libudfread...
> Project ERROR: Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild.
>
> Needless to say (a) I have accepted the license (b) I can cc and run the a.out (c) I can build QT apps as well as their demos. Which bit of the .pro file is invoking xcode’s wrath? How do I get past it?
>
> next:
> configure checks for QtWebKit headers that were replaced by QtWebEngine cica QT5.5. Do we ignore or change the configure file?

I just configured to use Qt5.12.3 and all complaints went away.
Compiling is happening …

Thanks
James


_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: 30 on mac osx [ In reply to ]
Hi

My goal is to write a short wiki entry on compiling a 30 mac frontend. I would like to keep changes to abare minimun.

Clearly later versions of qt *can* be used

> MythTV Version : v31-Pre-304-ge4689155d2-dirty
> MythTV Branch : devel/2019-render
> Network Protocol : 91
> Library API : 31.20190109-1
> QT Version : 5.11.2

Should I just specify 5.5 (the last version to have webkit) or make a patch to use webengine with say 5.12 (a LTS).
Is it worth using the hardware renderer?

I was going to/will ask on the users list. What should the wiki entry be named?
Is mythtv wiki open or do I need to be given access?
Thanks
James


_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: 30 on mac osx [ In reply to ]
Hi

Would anybody familiar with the code please comment.
I’m (still) tring to build for osx.
I get

cd libmythtv/ && ( test -e Makefile || /opt/local/libexec/qt5/bin/qmake -o Makefile /Users/jam/mythtv/mythtv/libs/libmythtv/libmythtv.pro QMAKE=/opt/local/libexec/qt5/bin/qmake ) && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile
g++ -c -pipe -stdlib=libc++ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -I/Iopt/local/include -std=c++11 -DNDEBUG -fomit-frame-pointer -fPIC -DQT_DISABLE_DEPRECATED_BEFORE=0x050300 -msse -pthread -DNEED_HDHOMERUN_DEVICE_SELECTOR_LOAD_FROM_STR -g -Wall -Wextra -Wpointer-arith -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -Wno-constant-logical-operand -Wno-unused-value -Qunused-arguments -Wimplicit-fallthrough -I/opt/local/include/freetype2 -I/opt/local/include/libpng16 -I/opt/local/include -isystem ../../external/libmythdvdnav/dvdnav -isystem ../../external/libmythdvdnav/dvdread -std=gnu++11 -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -mmacosx-version-min=10.12 -fPIC -DMMX -DUSING_APPLEREMOTE -D_GNU_SOURCE -DUSING_LIBCRYPTO -DUSING_LIBASS -DFFTW3_SUPPORT -DUSING_OPENGL -DUSING_OPENGL_VIDEO -DUSING_AIRPLAY -DUSING_MHEG -DUSING_FRONTEND -DUSING_IPTV -DUSING_VBOX -DUSING_CETON -DUSING_BACKEND -DMTV_API -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SQL_LIB -DQT_CORE_LIB -I. -I/opt/local/include/libxml2 -I.. -I../.. -I../.. -I../../external/FFmpeg -I. -I../libmyth -I../libmyth/audio -I../libmythbase -Impeg -Ichannelscan -Ivisualisations -Irecorders -Irecorders/dvbdev -Irecorders/rtp -Irecorders/vbitext -Irecorders/HLS -I../libmythlivemedia/BasicUsageEnvironment/include -I../libmythlivemedia/BasicUsageEnvironment -I../libmythlivemedia/groupsock/include -I../libmythlivemedia/groupsock -I../libmythlivemedia/liveMedia/include -I../libmythlivemedia/liveMedia -I../libmythlivemedia/UsageEnvironment/include -I../libmythlivemedia/UsageEnvironment -I../libmythbase -I../libmythui -I../libmythupnp -I../libmythservicecontracts -I/System/Library/Frameworks/OpenGL.framework/Headers -I/System/Library/Frameworks/AGL.framework/Headers -I/opt/local/libexec/qt5/lib/QtOpenGL.framework/Headers -I/opt/local/libexec/qt5/lib/QtWidgets.framework/Headers -I/opt/local/libexec/qt5/lib/QtGui.framework/Headers -I/opt/local/libexec/qt5/lib/QtNetwork.framework/Headers -I/opt/local/libexec/qt5/lib/QtXml.framework/Headers -I/opt/local/libexec/qt5/lib/QtSql.framework/Headers -I/opt/local/libexec/qt5/lib/QtCore.framework/Headers -Imoc -I/opt/local/libexec/qt5/mkspecs/macx-clang -F/opt/local/libexec/qt5/lib -o obj/subtitlereader.o subtitlereader.cpp
subtitlereader.cpp:37:44: error: no member named 'forced' in 'AVSubtitle'
if (!m_AVSubtitlesEnabled && !subtitle.forced)
~~~~~~~~ ^
subtitlereader.cpp:43:43: error: no member named 'forced' in 'AVSubtitle'
if (!m_AVSubtitlesEnabled && subtitle.forced)

in osh.h the class reference happens:

struct AVSubtitle;

I assume it is labled struct not class is because it is a C struct and presumably mangling is not happening. I can’t find the declaration. Please help. Almost certainly related to my post to the user list about —extra-clages=-I/opt/local/include not working (???) but I need to find the declation to check.
Thanks
James


_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: 30 on mac osx [ In reply to ]
On Fri, 10 May 2019 17:50:15 +0800
James Linder <jam@tigger.ws> wrote:

> I assume it is labled struct not class is because it is a C struct
> and presumably mangling is not happening.

There's minor differences between struct & class. Consider them to be
the same thing.

> I can’t find the
> declaration. Please help. Almost certainly related to my post to the
> user list about —extra-clages=-I/opt/local/include not working (???)
> but I need to find the declation to check. Thanks James

It's an ffmpeg header
https://github.com/MythTV/mythtv/blob/fixes/30/mythtv/external/FFmpeg/libavcodec/avcodec.h#L3880
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org