view inkscape/firefox/Makefile @ 1314:2aa3770f02bf

Fix issue of events for setting cursor of treeview. - comp_dock_base.refresh() would set cursor, it cause an event. But, we don't want it. - The reason of the issue is that MBScene.show() is not monitored. So, we monitor it by move its body to do_show().
author Thinker K.F. Li <thinker@codemud.net>
date Thu, 20 Jan 2011 15:53:00 +0800
parents 3c3de5520e37
children
line wrap: on
line source

all: madbuilder.xpi inkscape-mb

madbuilder.xpi: chrome.manifest install.rdf content/*
	cp -a template content
	zip -r madbuilder.xpi chrome.manifest  content/* install.rdf README
	rm -rf content/template

inkscape-0.46.tar.gz:
	wget -O inkscape-0.46.tar.gz http://nchc.dl.sourceforge.net/sourceforge/inkscape/inkscape-0.46.tar.gz

inkscape-0.46/.configured: inkscape-0.46.tar.gz
	tar xzvf inkscape-0.46.tar.gz
	cd inkscape-0.46; patch -p1 < ../inkscape-mb-patch.diff ; ./configure
	touch inkscape-0.46/.configured

inkscape-0.46/.compiled: inkscape-0.46/.configured
	cd inkscape-0.46; make -j 2
	touch inkscape-0.46/.compiled

inkscape-mb: inkscape-0.46/.compiled
	rm -rf inkscape-0.46/dest
	- mkdir -p inkscape-0.46/dest/usr/local
	cd inkscape-0.46; make prefix=`pwd`/dest/usr/local install
	cp MBFilter.inx MBServer.py testsoap.py inkscape-0.46/dest/usr/local/share/inkscape/extensions
	cp helper_mb.py  inkscape-0.46/dest/usr/local/bin
	chmod +x inkscape-0.46/dest/usr/local/bin/helper_mb.py
	mv inkscape-0.46/dest/usr/local/bin/inkscape inkscape-0.46/dest/usr/local/bin/inkscape-mb
	cd inkscape-0.46/dest; tar czvf ../../inkscape-mb.tgz usr



mozplugger:


clean:
	rm -f inkscape-0.46/.configured inkscape-0.46/.compiled
	make -C inkscape-0.46 clean