On Tue, Jan 29, 2013 at 3:34 PM, jb <j...@kdenlive.org> wrote: > On Tuesday 29 January 2013 12.47:36 Dan Dennedy wrote: >> On Mon, Jan 28, 2013 at 10:37 AM, jb <j...@kdenlive.org> wrote: >> > Hi, >> > >> > I just released the source code for Kdenlive 0.9.4 that is based upon >> > current git master. This should be the last feature release of the >> > current branch. >> > >> > I now want to concentrate on refactoring and integrating Till's work >> > because several areas of Kdenlive really need to be rewritten. >> > >> > I will try to post a roadmap / list of tasks for this process so that >> > other >> > people can join the refactoring effort. >> > >> > Kdenlive 0.9.4 can be found here: >> > http://download.kde.org/stable/kdenlive/0.9.4/src/kdenlive-0.9.4.tar.bz2.m >> > irrorlist >> I am really struggling with updating the MacPorts build on OS X due >> both with gcc and clang. Both seem to struggle with parsing the >> template parameters with default values. Anyone got an idea what's >> going on? gcc --version 4.2.1, clang --version 4.0. >> >> Here is a gcc error: >> :info:build cd >> :/opt/local/var/macports/build/_Users_ddennedy_ports_multimedia_kdenlive/kd >> :enlive/work/build/src >> && /usr/bin/llvm-g++-4.2 -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=85 >> -DKDE_DEPRECATED_WARNINGS -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB >> -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_STL -DQT_OPENGL_LIB >> -DQT_SCRIPT_LIB -DQT_SVG_LIB -DQT_XML_LIB -DUSE_NEPOMUK -DUSE_OPENGL >> -DUSE_QJSON -D_REENTRANT -pipe -O2 -arch x86_64 -fno-common >> -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align >> -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security >> -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common >> -Woverloaded-virtual -fvisibility=hidden -Werror=return-type >> -fvisibility-inlines-hidden -O2 -DNDEBUG -DQT_NO_DEBUG -arch x86_64 >> -I/opt/local/var/macports/build/_Users_ddennedy_ports_multimedia_kdenlive/kd >> enlive/work/build/src >> -I/opt/local/var/macports/build/_Users_ddennedy_ports_multimedia_kdenlive/k >> denlive/work/kdenlive-0.9.4/src >> -I/opt/local/var/macports/build/_Users_ddennedy_ports_multimedia_kdenlive/k >> denlive/work/build -I/opt/local/include/KDE -I/opt/local/include/phonon >> -I/opt/local/include/QtXmlPatterns -I/opt/local/include/QtXml >> -I/opt/local/include/QtWebKit -I/opt/local/include/QtUiTools >> -I/opt/local/include/QtTest -I/opt/local/include/QtSvg >> -I/opt/local/include/QtSql -I/opt/local/include/QtScriptTools >> -I/opt/local/include/QtScript -I/opt/local/include/QtOpenGL >> -I/opt/local/include/QtNetwork -I/opt/local/include/QtMultimedia >> -I/opt/local/include/QtHelp -I/opt/local/include/QtDesigner >> -I/opt/local/include/QtDeclarative -I/opt/local/include/QtDBus >> -I/opt/local/include/Qt3Support -I/opt/local/include/QtGui >> -I/opt/local/include/QtCore -I/opt/local/share/qt4/mkspecs/default >> -I/opt/local/include/mlt -I/opt/local/include/qjson >> -DMLT_PREFIX=\""/opt/local"\" -D__APPLE_KDE__ -o >> CMakeFiles/kdenlive.dir/commands/addmarkercommand.o -c >> /opt/local/var/macports/build/_Users_ddennedy_ports_multimedia_kdenlive/kden >> live/work/kdenlive-0.9.4/src/commands/addmarkercommand.cpp >> :info:build In file included from >> >> > /opt/local/var/macports/build/_Users_ddennedy_ports_multimedia_kdenlive/kdenlive/work/kdenlive-0.9.4/src/commands/addclipcommand.cpp:22: >> :info:build > /opt/local/var/macports/build/_Users_ddennedy_ports_multimedia_kdenlive/kdenlive/work/kdenlive-0.9.4/src/kdenlivedoc.h:86: >> error: expected ‘,’ or ‘...’ before ‘>’ token >> >> :info:build > /opt/local/var/macports/build/_Users_ddennedy_ports_multimedia_kdenlive/kdenlive/work/kdenlive-0.9.4/src/kdenlivedoc.h:86: >> error: wrong number of template arguments (1, should be 2) >> >> :info:build /opt/local/include/QtCore/qdatastream.h:67: error: >> provided for ‘template<class Key, class T> class QMap’ >> >> :info:build > /opt/local/var/macports/build/_Users_ddennedy_ports_multimedia_kdenlive/kdenlive/work/kdenlive-0.9.4/src/kdenlivedoc.h:86: >> error: default argument missing for parameter 3 of ‘void >> KdenliveDoc::slotAddClipList(KUrl::List, stringMap, QString)’ > > Does it work if you replace line 86 that is: > void slotAddClipList(const KUrl::List urls, stringMap data = QMap <QString, > QString>()); > > with this: > void slotAddClipList(const KUrl::List urls, stringMap data = stringMap()); > > Looks like the compiler doesn't like the '<' in the method definition... > > Let me know, and thanks for caring about the MacPorts >
This was enough of a hint to help me make a patch I can include with the port. I just had to also typedef stringRectMap. -- +-DRD-+ ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan _______________________________________________ Kdenlive-devel mailing list Kdenlive-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kdenlive-devel