[josm-plugins] 184/369: Add webkit-image-* compilation steps

Bas Couwenberg sebastic at xs4all.nl
Sat Oct 18 12:03:41 UTC 2014


This is an automated email from the git hooks/post-receive script.

sebastic-guest pushed a commit to branch master
in repository josm-plugins.

commit c735ef900a2cd0268146d89d53c6bd99b3a2a71f
Author: David Paleino <dapal at debian.org>
Date:   Tue Oct 12 23:25:25 2010 +0200

    Add webkit-image-* compilation steps
---
 debian/changelog |  6 ++++--
 debian/rules     | 11 +++++++++--
 2 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 26ad2fa..e89e5a6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,11 +5,13 @@ josm-plugins (0.0.svn23479-1) UNRELEASED; urgency=low
     - added two new packages: webkit-image-qt and webkit-image-gtk
     - bump debhelper dependency to >= 8~
     - bumped dependencies on JOSM to 3592
-  * debian/rules rewritten to use dh7
+  * debian/rules:
+    - rewritten to use dh7
+    - add necessary steps to compile webkit-image-*
   * debian/compat bumped to 8
   * debian/patches/60_wmsplugin.diff refreshed to cleanly apply
 
- -- David Paleino <dapal at debian.org>  Sun, 10 Oct 2010 22:04:33 +0200
+ -- David Paleino <dapal at debian.org>  Tue, 12 Oct 2010 23:26:09 +0200
 
 josm-plugins (0.0.svn23040-1) unstable; urgency=low
 
diff --git a/debian/rules b/debian/rules
index f8a0b89..3819149 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,10 +19,17 @@ DESTTGZ := ../tarballs/josm-plugins_${VERSION}.orig.tar.gz
 	dh $@
 
 override_dh_auto_build:
-	ant -f $(CURDIR)/debian/master.xml build
+	dh_auto_build -Sant -- -f $(CURDIR)/debian/master.xml build
+	( cd wmsplugin && \
+	moc webkit-image.cpp >webkit-image.h && \
+	g++ -o webkit-image-qt -W -O2 $(shell pkg-config --cflags QtCore QtGui QtWebKit QtNetwork) \
+		$(shell pkg-config --libs-only-L QtCore QtGui QtWebKit QtNetwork) \
+		webkit-image.cpp \
+		$(shell pkg-config --libs-only-l QtCore QtGui QtWebKit QtNetwork) && \
+	gcc -o webkit-image-gtk webkit-image-gtk.c $(shell pkg-config --cflags --libs webkit-1.0 gio-unix-2.0) )
 
 override_dh_auto_clean:
-	ant -f $(CURDIR)/debian/master.xml clean
+	dh_auto_clean -Sant -- -f $(CURDIR)/debian/master.xml
 
 get-orig-source:
 	dh_testdir

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/josm-plugins.git



More information about the Pkg-grass-devel mailing list