On 2/4/10, repli2dev <[email protected]> wrote: > Hi, hI!
> I would like to build current svn of MLT, FFMPEG and Kdenlive in order to > translate strings in context not just blindly. i don't see why you should build ffmpeg and mlt to translate kdenlive ;) > However I am not able to run Kdenlive wizard because it is depending on KDE3 > Kommander and there are no KDE3 Kommander for Archlinux (original repos nor > AUR). So I am looking for better solution than doing ./configure && make && > make install for whole day :( there isn't any, i'm afraid. but it's not that difficult i've attached a makefile i use to get in sync with the sources of both mlt and kdenlive (i can't use the wizard since i'm on freebsd), but not ffmpeg. it should be enough for you, though i've modified it to work on linux, then it *should* work (i'm not responsible for any damage blah blah... there shouldn't be any) usage: checkout fresh copies of mlt and kdenlive sources with git and svn (refer to the website to see how) download the makefile in (e.g.) /tmp, then cd /tmp and make install MLT_WRKDIR=(mlt source directory) KDENLIVE_WRKDIR=(kdenlive source directory) [you may want to add MAKE_JOBS=1 if you're not using a dual core processor) it will install mlt and kdenlive in /var/tmp/kdenlive, without messing with your base system; add DESTDIR=(a directory) to the command line to change it then, use the start.sh script (attached) to start kdenlive (change INSTALL_DIR accordingly to DESTDIR): just ./start.sh i suggest that you have a look to the makefile to see what it does before you run it, but, of course, the command i wrote above should be enough for a translation job > Thanks for replies. welcome! -- Alberto Villa, FreeBSD committer <[email protected]> http://wiki.FreeBSD.org/AlbertoVilla
MAKE?= make GMAKE?= make CMAKE?= cmake MAKE_JOBS?= 3 SVN?= svn GIT?= git WRKDIR= $(.CURDIR)/../.. MLT_WRKDIR= $(WRKDIR)/mlt/current KDENLIVE_WRKDIR= $(.CURDIR)/current DESTDIR?= /var/tmp/kdenlive MLT_CFLAGS= $(CFLAGS) -I/usr/local/include MLT_CONFIGURE_ENV= CFLAGS="$(MLT_CFLAGS)" MLT_CONFIGURE_ARGS= --prefix=$(DESTDIR) --enable-gpl --avformat-swscale MLT_MAKE_ENV= CFLAGS="$(MLT_CFLAGS)" MLT_MAKE_ARGS= KDENLIVE_CONFIGURE_ENV= PKG_CONFIG_PATH=$(DESTDIR)/lib/pkgconfig KDENLIVE_CONFIGURE_ARGS= -DCMAKE_INSTALL_PREFIX:PATH=$(DESTDIR) -DLIBMLT_INCLUDE_DIR:PATH=$(DESTDIR)/include/mlt -DLIBMLT_LIBRARY:FILEPATH=$(DESTDIR)/lib/libmlt.so -DLIBMLTPLUS_INCLUDE_DIR:PATH=$(DESTDIR)/include -DLIBMLTPLUS_LIBRARY:FILEPATH=$(DESTDIR)/lib/libmlt++.so KDENLIVE_MAKE_ENV= KDENLIVE_MAKE_ARGS= first: build fresh: uninstall clean update install uninstall: cd $(MLT_WRKDIR) && $(GMAKE) uninstall .if exists $(KDENLIVE_WRKDIR/build) cd $(KDENLIVE_WRKDIR)/build && $(MAKE) uninstall .endif clean: cd $(MLT_WRKDIR) && $(GMAKE) clean cd $(KDENLIVE_WRKDIR) && rm -fr build update: update-mlt update-kdenlive update-mlt: cd $(MLT_WRKDIR) && $(GIT) pull update-kdenlive: cd $(KDENLIVE_WRKDIR) && $(SVN) up install: install-mlt install-kdenlive install-mlt: build-mlt cd $(MLT_WRKDIR) && $(GMAKE) install install-kdenlive: build-kdenlive cd $(KDENLIVE_WRKDIR)/build && $(MAKE) install build: build-mlt build-kdenlive build-mlt: configure-mlt cd $(MLT_WRKDIR) && $(MLT_MAKE_ENV) $(GMAKE) -j$(MAKE_JOBS) $(MLT_MAKE_ARGS) build-kdenlive: configure-kdenlive cd $(KDENLIVE_WRKDIR)/build && $(KDENLIVE_MAKE_ENV) $(MAKE) -j$(MAKE_JOBS) $(KDENLIVE_MAKE_ARGS) configure: configure-mlt configure-kdenlive configure-mlt: cd $(MLT_WRKDIR) && $(MLT_CONFIGURE_ENV) ./configure $(MLT_CONFIGURE_ARGS) configure-kdenlive: mkdir -p $(KDENLIVE_WRKDIR)/build && cd $(KDENLIVE_WRKDIR)/build && $(KDENLIVE_CONFIGURE_ENV) $(CMAKE) .. $(KDENLIVE_CONFIGURE_ARGS)
start.sh
Description: Bourne shell script
------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com
_______________________________________________ Kdenlive-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/kdenlive-devel
