Registered Member
|
Dear friends,
There are several depencies missing in MacPorts, so I try to submit them. I am a complete beginner in MacOsX, so don't blame me. Here are the first packages: * kdesdk4 compilation problem related to gcc42: http://trac.macports.org/ticket/18306 * MLT: http://trac.macports.org/ticket/18286 * Kdenlive: in progress. Done: * freiOr: https://trac.macports.org/ticket/18248 (published in MacPorts) * lv2core: superceeds ladspa-sdk, which is not maintained any longer. http://trac.macports.org/ticket/18309 (will be replaced by lv2core) * gavl: http://trac.macports.org/ticket/18247 (published in MacPorts) * Libsamplerate: http://trac.macports.org/ticket/18299 (published, new version in MacPorts) * Sox : http://trac.macports.org/ticket/18285 (published, new version in MacPorts) * ffmpeg-devel upgraded to latest revision. Cool. Rejected for normal reasons:
* amrnb codecs: http://trac.macports.org/ticket/18311 * amrwb codecs: http://trac.macports.org/ticket/18312 Feel free to test and propose modifications. I will update this post with the required packages ... until we publish MLT and Kdenlive. When over, I would like to hand over maintenance to a MacOsX kdenlive user. I would also like to thanks the kind help of MacPort team and indivuduals who helped me. Kind regards, |
Registered Member
|
Dear friends, Here is a first draft of the MLT port file. It compiles fine.
****************************************************** # $Id$
***************************************************** When building with sox: cc -O2 -I/opt/local/include -Wall -fPIC -DPIC -O3 -pipe -fomit-frame-pointer -DUSE_MMX -DUSE_SSE -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DARCH_X86_64 -D__DARWIN__ -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -Wall -fPIC -DPIC -O3 -pipe -fomit-frame-pointer -DUSE_MMX -DUSE_SSE -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DARCH_X86_64 -D__DARWIN__ -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I.. -c -o albino.o albino.c ********************************************************************** cc -o humperdink client.o io.o remote.o -L/opt/local/lib -lSDLmain -lSDL -Wl,-framework,Cocoa -L../valerie -L../framework -lvalerie -lmlt We need a ladspa package but I don't know how to write a port for this package. |
Registered Member
|
The qimage module should compile if you follow whats written in this bug report: http://sourceforge.net/tracker/index.php?func=detail&aid=2498600&group_id=96039&atid=613414
I do not know if anyone can bring patches for this problem into mlt directly. The bug report is quite old but there is no response from any developer. |
Registered Member
|
Okay, thanks. qimage4 is found now. But I am trying to build kdelibs4 but I am having problems with automoc, which does not build. Can you upgrade to latest MacPort packages and give more information in this thread? |
Registered Member
|
I created a ticket and could compile automoc. See first message. |
Registered Member
|
|
Registered Member
|
you need to install apples gcc-42 which is included in the latest xcode. i think i installed xcode31. i cant remember if the gcc-42 is an extra package or not. the problem is that all the kde stuff depends on this compiler but i is not in macports because its an apple thing. most of the kde4 stuff does also compile with the gcc-42 which is included in macports but then one would need to change the configure-compiler option in all kde4 portfiles. one would need to talk with one of the kde4-mac team to check the possibilites.
my solution was to install apples gcc-42 which can be downloaded from the apples developer zone. |
Registered Member
|
I installed apple-gcc42 which is part of MacPorts, but it did not solve anything. Thanks for the input. Bye. I completely stuck and cannot compile Kde 4.2. I hope this will improve tomorrow. |
Registered Member
|
ok i didn't see the apple-gcc-42 package in macports, but the problem is that the binaries which are created by this package are called gcc-apple-4.2 or so. and when the configure compiler option is set to gcc-42 as in all the kde4 ports it does check for the availability of gcc-4.2 binaries like it is written in the configure error you posted on the macports bug tracker.
in the documentation of macports http://guide.macports.org/ only the following configure.compiler options are given as valid:
so i dont know if is possible to use the value apple-gcc-4.2 there. but you should try, I think this would also be a much cleaner way for the kde4 packages (if they build with the apple-gcc-42 compiler from macports ) because one could include apple-gcc-42 as dependency and would not stuck with the error you got.
|
Registered Member
|
Thanks. I could use this patch, which compiles fine. Index: Portfile |
Registered Member
|
I uploaded a series of patches here: Presently building kdelibs4, so are getting closer to a solution. |
Registered Member
|
I am stuck with kdepimlibs4 compilation problem. I added default gcc compiler configuration to kde defaut options. This is the only remaining problem. |
Registered Member
|
JMP, ffmpeg-devel is not installing for me, there is some linking error, so I am just using ffmpeg now. That let me move on to the mlt Portfile. Please remove the dependency on libquicktime. Only the kino module uses it, and I disable the kino module within MLT configure on OS X. Sox is building now, and I will let you know if there is anything goes wrong from there. |
Registered Member
|
Dear Dan, There are some news: KDE4 relies on apple-gcc-42 which is provided with MacOs 10.5. I am using 10.4 and therefore I have problems building kdesdk4. But this problem was apparently fixed yesterday. So I am now running a huge compile in background while doing some important work. I will be back on this 10.4 issue on wednesday. Bye. The latest portfile.5 is here: http://trac.macports.org/ticket/18286 If you register on track on MacPorts, you will be able to submit patches, which would be the easiest way to proceed. I am stuck on 10.4 and very slow now. Sorry. |
Registered Member
|
Please remove the dependency on port:kdesdk4 and the lines: --kde-libdir=/opt/local/lib/kde4 \ The qimage MLT module only uses kdelibs on Qt3 |
Registered users: bancha, Bing [Bot], daret, Evergrowing, Google [Bot], lockheed, sandyvee, Sogou [Bot]