[debian-edu-commits] debian-edu/sankore.git (#52) - master (branch) updated: upstream/2.00_git20130309-50-gc92837c

Mike Gabriel sunweaver at alioth.debian.org
Sun May 5 07:56:29 UTC 2013


The branch, master has been updated
       via  c92837cc84c84e78297646560e79a4115fa56c74 (commit)
      from  aca24f493b71ab88e2f9439592dcc3ed38133418 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit c92837cc84c84e78297646560e79a4115fa56c74
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Sat May 4 14:51:20 2013 +0200

    move js file replacements to binary-indep

-----------------------------------------------------------------------

Summary of changes:
 debian/rules |  103 +++++++++++++++++++++++++++++----------------------------
 1 files changed, 52 insertions(+), 51 deletions(-)

The diff of changes is:
diff --git a/debian/rules b/debian/rules
index 571a094..c48f3e5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -132,6 +132,58 @@ install: build
 binary-indep: install
 	dh_testdir
 	dh_testroot
+
+	# use jquery.js from Debian package libjs-query
+	cd $(CURDIR)/debian/sankore-data/usr/share/open-sankore/ && for jsfile in \
+	    "library/applications/Editeur HTML.wgt/jquery.pack.js" \
+	    "library/applications/Nuancier.wgt/js/jquery.js" \
+	    ; do \
+	        rm -f $fsfile; ln -s /usr/share/javascript/jquery/jquery.js $$jsfile; \
+	    done
+
+	# use jquery.min.js from Debian package libjs-query
+	cd $(CURDIR)/debian/sankore-data/usr/share/open-sankore/ && for jsfile in \
+	    "library/applications/Wikipedia.wgt/script/jquery.min.js" \
+	    "library/applications/Wiktionnaire.wgt/script/jquery.min.js" \
+	    "library/applications/Calculatrice.wgt/js/jquery-1.3.2.min.js" \
+	    "library/applications/GeoInfo.wgt/js/jquery-1.6.2.min.js" \
+	    "library/applications/Grapheur.wgt/JavaScript/jquery-1.3.2.min.js" \
+	    "library/applications/Minuteur.wgt/js/jquery-1.3.2.min.js" \
+	    "library/applications/Navigateur Web.wgt/scripts/jquery-1.3.2.min.js" \
+	    "library/applications/Notes.wgt/js/jquery-1.3.2.min.js" \
+	    "library/applications/Sel video.wgt/scripts/jquery-1.3.2.min.js" \
+	    "library/applications/Wikipedia.wgt/script/jquery.min.js" \
+	    "library/applications/Wiktionnaire.wgt/script/jquery.min.js" \
+	    "library/interactivities/Ass images.wgt/js/jquery-1.6.2.min.js" \
+	    "library/interactivities/Ass sons.wgt/js/jquery-1.6.2.min.js" \
+	    "library/interactivities/Cat images.wgt/js/jquery-1.6.2.min.js" \
+	    "library/interactivities/Cat text.wgt/js/jquery-1.6.2.min.js" \
+	    "library/interactivities/Choisir.wgt/scripts/jquery-1.6.2.min.js" \
+	    "library/interactivities/Contraste.wgt/scripts/jquery-1.6.2.min.js" \
+	    "library/interactivities/Etudier.wgt/js/jquery-1.6.2.min.js" \
+	    "library/interactivities/Ordre images.wgt/js/jquery-1.6.2.min.js" \
+	    "library/interactivities/Ordre mots.wgt/scripts/jquery-1.6.2.min.js" \
+	    "library/interactivities/Ordre phrase.wgt/scripts/jquery-1.6.2.min.js" \
+	    "library/interactivities/Selectionner.wgt/js/jquery-1.6.2.min.js" \
+	    "library/interactivities/Separe phrase.wgt/scripts/jquery-1.6.2.min.js" \
+	    "library/interactivities/Separe texte.wgt/scripts/jquery-1.6.2.min.js" \
+	    "library/interactivities/Syllabes.wgt/scripts/jquery-1.6.2.min.js" \
+	    "library/search/Audio Planete.wgs/scripts/jquery-1.6.2.min.js" \
+	    "library/search/Flash Planete.wgs/scripts/jquery-1.6.2.min.js" \
+	    "library/search/Google images.wgs/scripts/jquery-1.6.2.min.js" \
+	    "library/search/Image Planete.wgs/scripts/jquery-1.6.2.min.js" \
+	    "library/search/Video Planete.wgs/scripts/jquery-1.6.2.min.js" \
+	    ; do \
+	        rm -f $fsfile; ln -s /usr/share/javascript/jquery/jquery.min.js $(CURDIR)/debian/sankore-data/usr/share/open-sankore/$$jsfile; \
+	    done
+
+	# use OpenLayers.js from Debian package libjs-openstreetmap
+	cd $(CURDIR)/debian/sankore-data/usr/share/open-sankore/ && for jsfile in \
+	    "library/applications/OpenStreetMap.wgt/api/OpenLayers.js"
+	    ; do \
+	        rm -f $fsfile; ln -s /usr/share/javascript/openlayers/OpenLayers.js $(CURDIR)/debian/sankore-data/usr/share/open-sankore/$$jsfile; \
+	    done
+
 	dh_installchangelogs -i
 	dh_installdocs -i
 	dh_installexamples -i
@@ -164,57 +216,6 @@ binary-arch: install
 		> "$(CURDIR)/debian/sankore/usr/bin/Open-Sankore"
 	chmod 755 "$(CURDIR)/debian/sankore/usr/bin/Open-Sankore"
 
-	# use jquery.js from Debian package libjs-query
-	cd $(CURDIR)/debian/sankore-data/usr/share/open-sankore/ && for jsfile in \
-	    library/applications/Editeur HTML.wgt/jquery.pack.js \
-	    library/applications/Nuancier.wgt/js/jquery.js \
-	    ; do \
-	        rm -f $fsfile; ln -s /usr/share/javascript/jquery/jquery.js $$jsfile; \
-	    done
-
-	# use jquery.min.js from Debian package libjs-query
-	cd $(CURDIR)/debian/sankore-data/usr/share/open-sankore/ && for jsfile in \
-	    library/applications/Wikipedia.wgt/script/jquery.min.js \
-	    library/applications/Wiktionnaire.wgt/script/jquery.min.js \
-	    library/applications/Calculatrice.wgt/js/jquery-1.3.2.min.js \
-	    library/applications/GeoInfo.wgt/js/jquery-1.6.2.min.js \
-	    library/applications/Grapheur.wgt/JavaScript/jquery-1.3.2.min.js \
-	    library/applications/Minuteur.wgt/js/jquery-1.3.2.min.js \
-	    library/applications/Navigateur Web.wgt/scripts/jquery-1.3.2.min.js \
-	    library/applications/Notes.wgt/js/jquery-1.3.2.min.js \
-	    library/applications/Sel video.wgt/scripts/jquery-1.3.2.min.js \
-	    library/applications/Wikipedia.wgt/script/jquery.min.js \
-	    library/applications/Wiktionnaire.wgt/script/jquery.min.js \
-	    library/interactivities/Ass images.wgt/js/jquery-1.6.2.min.js \
-	    library/interactivities/Ass sons.wgt/js/jquery-1.6.2.min.js \
-	    library/interactivities/Cat images.wgt/js/jquery-1.6.2.min.js \
-	    library/interactivities/Cat text.wgt/js/jquery-1.6.2.min.js \
-	    library/interactivities/Choisir.wgt/scripts/jquery-1.6.2.min.js \
-	    library/interactivities/Contraste.wgt/scripts/jquery-1.6.2.min.js \
-	    library/interactivities/Etudier.wgt/js/jquery-1.6.2.min.js \
-	    library/interactivities/Ordre images.wgt/js/jquery-1.6.2.min.js \
-	    library/interactivities/Ordre mots.wgt/scripts/jquery-1.6.2.min.js \
-	    library/interactivities/Ordre phrase.wgt/scripts/jquery-1.6.2.min.js \
-	    library/interactivities/Selectionner.wgt/js/jquery-1.6.2.min.js \
-	    library/interactivities/Separe phrase.wgt/scripts/jquery-1.6.2.min.js \
-	    library/interactivities/Separe texte.wgt/scripts/jquery-1.6.2.min.js \
-	    library/interactivities/Syllabes.wgt/scripts/jquery-1.6.2.min.js \
-	    library/search/Audio Planete.wgs/scripts/jquery-1.6.2.min.js \
-	    library/search/Flash Planete.wgs/scripts/jquery-1.6.2.min.js \
-	    library/search/Google images.wgs/scripts/jquery-1.6.2.min.js \
-	    library/search/Image Planete.wgs/scripts/jquery-1.6.2.min.js \
-	    library/search/Video Planete.wgs/scripts/jquery-1.6.2.min.js \
-	    ; do \
-	        rm -f $fsfile; ln -s /usr/share/javascript/jquery/jquery.min.js $(CURDIR)/debian/sankore-data/usr/share/open-sankore/$$jsfile; \
-	    done
-
-	# use OpenLayers.js from Debian package libjs-openstreetmap
-	cd $(CURDIR)/debian/sankore-data/usr/share/open-sankore/ && for jsfile in \
-	    library/applications/OpenStreetMap.wgt/api/OpenLayers.js
-	    ; do \
-	        rm -f $fsfile; ln -s /usr/share/javascript/openlayers/OpenLayers.js $(CURDIR)/debian/sankore-data/usr/share/open-sankore/$$jsfile; \
-	    done
-
 	dh_installchangelogs -a
 	dh_installdocs -a
 	dh_installexamples -a


hooks/post-receive
-- 
sankore.git (Debian package sankore)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "sankore.git" (Debian package sankore).




More information about the debian-edu-commits mailing list