[epr-api] 04/06: Remove embedded javascript

Antonio Valentino a_valentino-guest at moszumanska.debian.org
Sun May 3 07:28:13 UTC 2015


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

a_valentino-guest pushed a commit to branch master
in repository epr-api.

commit b71e7eaf0485ed96265201e5be2ff3c203f7f1bd
Author: Antonio Valentino <antonio.valentino at tiscali.it>
Date:   Sun May 3 07:14:16 2015 +0000

    Remove embedded javascript
---
 debian/changelog            | 2 ++
 debian/control              | 3 ++-
 debian/libepr-api-dev.links | 1 +
 debian/rules                | 8 +++++++-
 4 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index a048d71..5c4da85 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
 epr-api (2.3~dev20150503-1) UNRELEASED; urgency=medium
 
   * New upstream snapshot
+  * Removed embedded javascript libraries (added new dependency
+    from libjs-jquery)
 
  -- Antonio Valentino <antonio.valentino at tiscali.it>  Sun, 03 May 2015 06:38:02 +0000
 
diff --git a/debian/control b/debian/control
index 0981573..546ab5b 100644
--- a/debian/control
+++ b/debian/control
@@ -29,7 +29,8 @@ Package: libepr-api-dev
 Section: libdevel
 Architecture: any
 Depends: ${misc:Depends},
-         libepr-api2 (= ${binary:Version})
+         libepr-api2 (= ${binary:Version}),
+         libjs-jquery
 Provides: libepr-api2-dev
 Replaces: libepr-api2-dev (<< 2.3~dev20140322-1~)
 Breaks: libepr-api2-dev (<< 2.3~dev20140322-1~)
diff --git a/debian/libepr-api-dev.links b/debian/libepr-api-dev.links
index 25cf5e5..e748f22 100644
--- a/debian/libepr-api-dev.links
+++ b/debian/libepr-api-dev.links
@@ -1,3 +1,4 @@
 usr/lib/libepr_api.so.2 usr/lib/libepr_api.so
 usr/share/doc/libepr-api2/changelog.gz usr/share/doc/libepr-api-dev/changelog.gz
 usr/share/doc/libepr-api2/README.txt.gz usr/share/doc/libepr-api-dev/README.txt.gz
+usr/share/javascript/jquery/jquery.js usr/share/doc/libepr-api-dev/html/jquery.js
diff --git a/debian/rules b/debian/rules
index 785b4c1..9ae124f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,6 +16,11 @@ override_dh_auto_configure:
 	dh_auto_configure -- $(CMAKE_EXTRA_FLAGS)
 
 
+override_dh_auto_build:
+	dh_auto_build
+	rm -f build/docs/epr_c_api/jquery.js
+
+
 override_dh_installchangelogs:
 	dh_installchangelogs -k CHANGELOG.txt
 
@@ -25,4 +30,5 @@ get-orig-source:
 	mv debian/?.?.tar.gz ../$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz
 
 
-.PHONY: get-orig-source override_dh_auto_configure override_dh_installchangelogs
+.PHONY: get-orig-source override_dh_auto_configure override_dh_auto_build \
+        override_dh_installchangelogs

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



More information about the Pkg-grass-devel mailing list