[med-svn] r16883 - in trunk/packages/gnumed-client/trunk/debian: . JS/PatternSkin
Andreas Tille
tille at moszumanska.debian.org
Tue May 6 21:01:33 UTC 2014
Author: tille
Date: 2014-05-06 21:01:33 +0000 (Tue, 06 May 2014)
New Revision: 16883
Removed:
trunk/packages/gnumed-client/trunk/debian/JS/PatternSkin/my_compress
trunk/packages/gnumed-client/trunk/debian/JS/PatternSkin/pattern_compressed.js
Modified:
trunk/packages/gnumed-client/trunk/debian/changelog
trunk/packages/gnumed-client/trunk/debian/control
trunk/packages/gnumed-client/trunk/debian/copyright
trunk/packages/gnumed-client/trunk/debian/rules
Log:
Upload new upstream version; Make sure all uncompressed JS will be really dropped from upstream tarball
Deleted: trunk/packages/gnumed-client/trunk/debian/JS/PatternSkin/my_compress
===================================================================
--- trunk/packages/gnumed-client/trunk/debian/JS/PatternSkin/my_compress 2014-05-06 09:52:29 UTC (rev 16882)
+++ trunk/packages/gnumed-client/trunk/debian/JS/PatternSkin/my_compress 2014-05-06 21:01:33 UTC (rev 16883)
@@ -1,6 +0,0 @@
-#!/bin/sh
-YUIJAR=/home/tillea/tmp/foswiki/svn.foswiki.org/branches/foswiki.org/TinyMCEPlugin/pub/System/TinyMCEPlugin/tinymce/tools/ant/yuicompressor.jar
-set -x
-# java -jar $YUIJAR -v -type js -o $2 $1
-java -jar $YUIJAR -v -type js $1
-# java -jar $YUIJAR -h
Deleted: trunk/packages/gnumed-client/trunk/debian/JS/PatternSkin/pattern_compressed.js
===================================================================
--- trunk/packages/gnumed-client/trunk/debian/JS/PatternSkin/pattern_compressed.js 2014-05-06 09:52:29 UTC (rev 16882)
+++ trunk/packages/gnumed-client/trunk/debian/JS/PatternSkin/pattern_compressed.js 2014-05-06 21:01:33 UTC (rev 16883)
@@ -1 +0,0 @@
-var Pattern={metaTags:[],searchResultsCount:0,createActionFormStepSign:function(a){var b=foswiki.HTML.insertBeforeElement(a,"span","►");b.className="foswikiActionFormStepSign"},setAttachmentCount:function(d){var c=foswiki.getElementsByClassName(d,"patternAttachmentHeader","h3");if(c!=undefined){var b=d.getElementsByTagName("tr").length-1;var a=" <span class='patternSmallLinkToHeader'> "+b+"</span>";if(c[0]){c[0].innerHTML+=a}if(c[1]){c[1].innerHTML+=a}}},addSearchResultsCounter:function(a){var b=foswiki.HTML.getHtmlOfElement(a);Pattern.searchResultsCount+=parseInt(b)},displayTotalSearchResultsCount:function(a){if(Pattern.searchResultsCount>=10){var b=" "+TEXT_NUM_TOPICS+" <b>"+Pattern.searchResultsCount+" </b>";foswiki.HTML.setHtmlOfElement(a,b)}},displayModifySearchLink:function(){var b=document.getElementById("foswikiModifySearchContainer");if(b!=null){if(Pattern.searchResultsCount>0){var a=' <a href="#" onclick="location.hash=\'foswikiSearchForm\'; return false;"><span class="foswikiLinkLabel foswikiSmallish">'+TEXT_MODIFY_SEARCH+"</span></a>";foswiki.HTML.setHtmlOfElement(b,a)}}}};var patternRules={".foswikiFormStep h3":function(a){Pattern.createActionFormStepSign(a)},"input#jumpFormField":function(a){foswiki.Form.initBeforeFocusText(a,TEXT_JUMP);a.onfocus=function(){foswiki.Form.clearBeforeFocusText(this)};a.onblur=function(){foswiki.Form.restoreBeforeFocusText(this)}},"input#quickSearchBox":function(a){foswiki.Form.initBeforeFocusText(a,TEXT_SEARCH);a.onfocus=function(){foswiki.Form.clearBeforeFocusText(this)};a.onblur=function(){foswiki.Form.restoreBeforeFocusText(this)}},".foswikiAttachments":function(a){Pattern.setAttachmentCount(a)},"body.patternEditPage":function(a){foswiki.Event.addLoadEvent(initForm,false)},".foswikiSearchResultCount":function(a){Pattern.addSearchResultsCounter(a)},"span#foswikiNumberOfResultsContainer":function(a){Pattern.displayTotalSearchResultsCount(a)},"form#foswikiWebSearchForm":function(a){Pattern.displayModifySearchLink()},"a.foswikiPopUp":function(a){a.onclick=function(){foswiki.Window.openPopup(a.href,{template:"viewplain"});return false}},"input.foswikiFocus":function(a){a.focus()},"input.foswikiChangeFormButton":function(a){a.onclick=function(){suppressSaveValidation()}}};Behaviour.register(patternRules);var initForm;var TEXT_JUMP=foswiki.getMetaTag("TEXT_JUMP");var TEXT_SEARCH=foswiki.getMetaTag("TEXT_SEARCH");var TEXT_NUM_TOPICS=foswiki.getMetaTag("TEXT_NUM_TOPICS");var TEXT_MODIFY_SEARCH=foswiki.getMetaTag("TEXT_MODIFY_SEARCH");var SCRIPTURLPATH=foswiki.getMetaTag("SCRIPTURLPATH");var SCRIPTSUFFIX=foswiki.getMetaTag("SCRIPTSUFFIX");var WEB=foswiki.getMetaTag("WEB");var TOPIC=foswiki.getMetaTag("WEBTOPIC");
\ No newline at end of file
Modified: trunk/packages/gnumed-client/trunk/debian/changelog
===================================================================
--- trunk/packages/gnumed-client/trunk/debian/changelog 2014-05-06 09:52:29 UTC (rev 16882)
+++ trunk/packages/gnumed-client/trunk/debian/changelog 2014-05-06 21:01:33 UTC (rev 16883)
@@ -1,3 +1,11 @@
+gnumed-client (1.4.8+dfsg-1) unstable; urgency=medium
+
+ * New upstream version
+ * debian/copyright: Make sure all uncompressed JS will be really dropped
+ from upstream tarball
+
+ -- Andreas Tille <tille at debian.org> Mon, 05 May 2014 16:30:30 +0200
+
gnumed-client (1.4.7+dfsg-1) unstable; urgency=medium
* New upstream version
Modified: trunk/packages/gnumed-client/trunk/debian/control
===================================================================
--- trunk/packages/gnumed-client/trunk/debian/control 2014-05-06 09:52:29 UTC (rev 16882)
+++ trunk/packages/gnumed-client/trunk/debian/control 2014-05-06 21:01:33 UTC (rev 16883)
@@ -9,7 +9,8 @@
python,
dh-linktree,
libjs-jquery,
- libjs-jquery-livequery
+ libjs-jquery-livequery,
+ yui-compressor
Standards-Version: 3.9.5
Vcs-Browser: http://anonscm.debian.org/viewvc/debian-med/trunk/packages/gnumed-client/trunk/
Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/gnumed-client/trunk/
Modified: trunk/packages/gnumed-client/trunk/debian/copyright
===================================================================
--- trunk/packages/gnumed-client/trunk/debian/copyright 2014-05-06 09:52:29 UTC (rev 16882)
+++ trunk/packages/gnumed-client/trunk/debian/copyright 2014-05-06 21:01:33 UTC (rev 16883)
@@ -3,8 +3,8 @@
Upstream-Contact: Karsten Hilbert <Karsten.Hilbert at gmx.net>
Source: http://www.gnumed.de/downloads/client/
Files-Excluded:
- client/doc/user-manual/rsrc/System/JQueryPlugin/plugins/livequery
- client/doc/user-manual/rsrc/System/JQueryPlugin/jquery-1.4.3.js
+ */System/*/*.js
+ */System/*/*/*.js
Files: *
Copyright: © 2000-2005 Horst Herb, a.o.
Modified: trunk/packages/gnumed-client/trunk/debian/rules
===================================================================
--- trunk/packages/gnumed-client/trunk/debian/rules 2014-05-06 09:52:29 UTC (rev 16882)
+++ trunk/packages/gnumed-client/trunk/debian/rules 2014-05-06 21:01:33 UTC (rev 16883)
@@ -7,6 +7,7 @@
pkg=gnumed
client=$(pkg)-client
+doc=$(pkg)-doc
override_dh_install:
dh_install
@@ -41,10 +42,21 @@
# Remove extra license file
find debian/$(client) -name COPYING -delete
+override_dh_installdocs:
+ dh_installdocs
+ mkdir -p $(CURDIR)/debian/$(doc)/usr/share/doc/gnumed/user-manual/rsrc/System/JavascriptFiles
+ for foswiki in `ls debian/JS/JavascriptFiles` ; do \
+ yui-compressor debian/JS/JavascriptFiles/$${foswiki} > $(CURDIR)/debian/$(doc)/usr/share/doc/gnumed/user-manual/rsrc/System/JavascriptFiles/$${foswiki} ; \
+ done
+ mkdir -p $(CURDIR)/debian/$(doc)/usr/share/doc/gnumed/user-manual/rsrc/System/JQueryPlugin/plugins/foswiki
+ yui-compressor debian/JS/JQueryPlugin/plugins/foswiki/jquery.foswiki.uncompressed.js > $(CURDIR)/debian/$(doc)/usr/share/doc/gnumed/user-manual/rsrc/System/JQueryPlugin/plugins/foswiki/jquery.foswiki.js
+ mkdir -p $(CURDIR)/debian/$(doc)/usr/share/doc/gnumed/user-manual/rsrc/System/PatternSkin
+ yui-compressor debian/JS/PatternSkin/pattern.js > $(CURDIR)/debian/$(doc)/usr/share/doc/gnumed/user-manual/rsrc/System/PatternSkin/pattern.js
+
# Remark: The following uscan command requires devscripts > 2.12.4 which is not
# yet released at the time of this package release. The code can be obtained
# via
# git clone git://tille@git.debian.org/git/users/tille/devscripts.git
# and then use scripts/uscan.pl
get-orig-source:
- uscan --verbose --force-download --repack-compression xz
+ uscan --verbose --force-download --repack --compression xz
More information about the debian-med-commit
mailing list