debian/0000755000000000000000000000000011765621142007173 5ustar debian/README.source0000644000000000000000000000113711765617605011365 0ustar Sozi sources for Debian ----------------------- Upstream does not release sozi source tarball with the preferred form for making modifications to it, so the source was checkouted from git based on the release timestamp. The editors/svg-edit directory is stripped during the repackaging process, because it contains minified javascript and it not used anywhere in the sozi inkscape extension. Upstream uses `juicer' to minify the css and js files, which is not yet in Debian, so the Makefile was patched to use yui-compressor for now. -- Kan-Ru Chen , Tue, 12 Jun 2012 17:37:39 +0800 debian/changelog0000644000000000000000000000101111765617605011047 0ustar sozi (12.05-1) unstable; urgency=low * New upstream release (Closes: #676002) * README.source - Explain why the orig tarball is repackaged. * debian/copyright - Update Format url. * debian/control - Update Standards-Version to 3.9.3. - Add Depends python-lxml (Closes: #676354). -- Kan-Ru Chen Tue, 12 Jun 2012 18:04:46 +0800 sozi (11.07-1) unstable; urgency=low * Initial release (Closes: #638533) -- Kan-Ru Chen Sun, 18 Sep 2011 14:38:45 +0800 debian/compat0000644000000000000000000000000211765617605010402 0ustar 8 debian/control0000644000000000000000000000272111765617605010611 0ustar Source: sozi Section: graphics Priority: optional Maintainer: Kan-Ru Chen Build-Depends: debhelper (>= 8.0.0), yui-compressor Standards-Version: 3.9.3 Homepage: http://sozi.baierouge.fr/wiki/en:welcome Vcs-Git: git://git.debian.org/collab-maint/sozi.git Vcs-Browser: http://git.debian.org/?p=collab-maint/sozi.git;a=summary Package: sozi Architecture: all Depends: ${misc:Depends}, inkscape, python, python-gtk2, python-lxml Description: inkscape extension for creating animated presentations Unlike in most presentation applications, a Sozi document is not organized as a slideshow, but rather as a poster where the content of your presentation can be freely laid out. Playing such a presentation consists in a series of translations, zooms and rotations that allow to focus on the elements you want to show. . A Sozi presentation is an SVG document in which a sequence of “frames” is defined. A frame is a rectangular region of the document associated with presentation and animation information (e.g. title, ordering, transition duration). . The presentation editor is an extension for the Inkscape vector graphics editor. It means that you can create an entire presentation, graphics and animation, within a single environment. . Documents produced by Inkscape and Sozi can be displayed and animated by web browsers supporting the SVG format, and the Javascript language. The user can control the presentation using the mouse and keyboard. debian/copyright0000644000000000000000000000501311765617605011136 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: sozi Source: http://sozi.baierouge.fr/wiki/en:install Files: * Copyright: 2011 Guillaume Savaton License: GPL-3 or MIT/Expat License: GPL-3 This program is dual licensed under the terms of the MIT license or the GNU General Public License (GPL) version 3. A copy of both licenses is provided in the doc/ folder of the official release of Sozi. . See http://sozi.baierouge.fr/wiki/en:license for details. . On Debian systems, the complete text of the GNU General Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". License: MIT/Expat Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Files: debian/* Copyright: 2011 Kan-Ru Chen License: GPL-3+ This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the complete text of the GNU General Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". debian/patches/0000755000000000000000000000000011765617605010633 5ustar debian/patches/series0000644000000000000000000000003611765617605012047 0ustar sozi_use_yui_compressor.patch debian/patches/sozi_use_yui_compressor.patch0000644000000000000000000000317211765617605016661 0ustar Index: sozi/Makefile =================================================================== --- sozi.orig/Makefile 2012-06-12 17:32:02.000000000 +0800 +++ sozi/Makefile 2012-06-12 18:46:19.707445120 +0800 @@ -1,7 +1,17 @@ VERSION := $(shell date +%y.%m-%d%H%M%S) -PLAYER_JS := $(wildcard player/js/*.js) +PLAYER_JS := player/js/sozi.js \ + player/js/module.js \ + player/js/events.js \ + player/js/framenumber.js \ + player/js/framelist.js \ + player/js/document.js \ + player/js/animation.js \ + player/js/display.js \ + player/js/player.js \ + player/js/location.js \ + player/js/actions.js EXTRAS_JS := $(wildcard player/extras/*.js) #MINIFY_OPT += --nomunge @@ -10,7 +20,7 @@ JUICER_OPT += --skip-verification # JUICER_OPT += --minifyer none -MINIFY := juicer merge $(JUICER_OPT) --arguments "$(MINIFY_OPT)" +MINIFY := yui-compressor SRC := \ $(wildcard editors/inkscape/*.py) \ @@ -34,6 +44,8 @@ all: zip +build: $(TARGET) + zip: release/sozi-release-$(VERSION).zip verify: $(PLAYER_JS) $(EXTRAS_JS) @@ -57,13 +69,15 @@ cd release ; zip $(notdir $@) $(notdir $^) release/sozi.js: $(PLAYER_JS) - $(MINIFY) --output $@ player/js/sozi.js + cat $^ > release/merge.js + $(MINIFY) -o $@ release/merge.js + rm -f release/merge.js release/%.css: player/css/%.css - $(MINIFY) --output $@ $< + $(MINIFY) -o $@ $< release/%.js: player/js/extras/%.js - $(MINIFY) --output $@ $< + $(MINIFY) -o $@ $< release/%.py: editors/inkscape/%.py $(TIMESTAMP) sed "s/{{SOZI_VERSION}}/$(VERSION)/g" $< > $@ debian/rules0000755000000000000000000000113211765617605010261 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 override_dh_auto_build: mkdir release make build override_dh_auto_clean: rm -rf release override_dh_auto_install: %: dh $@ VER ?= 12.05 get-orig-source: rm -rf sozi-$(VER).orig mkdir sozi-$(VER).orig wget -O - https://github.com/senshu/Sozi/tarball/$(VER) | tar --strip-components=1 -xz -C sozi-$(VER).orig rm -rf sozi-$(VER).orig/editors/svg-edit GZIP=--best tar -cz --owner root --group root --mode a+rX \ -f sozi_$(VER).orig.tar.gz \ sozi-$(VER).orig rm -r sozi-$(VER).orig debian/source/0000755000000000000000000000000011765617605010504 5ustar debian/source/format0000644000000000000000000000001411765617605011712 0ustar 3.0 (quilt) debian/sozi.install0000644000000000000000000000033411765617605011560 0ustar release/*.js usr/share/inkscape/extensions release/*.py usr/share/inkscape/extensions release/*.css usr/share/inkscape/extensions release/*.inx usr/share/inkscape/extensions release/*.png usr/share/inkscape/extensions debian/watch0000644000000000000000000000013511765617605010234 0ustar version=3 http://sozi.baierouge.fr/wiki/en:install https://github.*sozi-release-(.*)-\d+.zip