debian/0000755000000000000000000000000012241741546007174 5ustar debian/clean0000644000000000000000000000005612241732650010176 0ustar css/*.css demos/*.html js/jquery.Jcrop.min.js debian/examples0000644000000000000000000000001012241732650010720 0ustar demos/* debian/README.source0000644000000000000000000000243112241737524011354 0ustar Debian packaging for libjs-jcrop -------------------------------- The upstream source code was repacked. Sourceless minified jQuery JavaScript has been removed. This package uses snapshots of the upstream Git repository as sources. It follows git-buildpackage advices as on: The tarball created from Git is recorded using pristine-tar. A quick summary of how one can update the Debian packaging, assuming that one already has the appropriate build-dependencies, `devscripts`, `pristine-tar`, and `git-buildpackage` installed. $VERSION is assumed to be the new upstream version: gbp clone git+ssh://git.debian.org/git/pkg-javascript/libjs-jcrop.git cd libjs-jcrop git checkout dfsg_clean git remote add upstream https://github.com/tapmodo/Jcrop git fetch upstream git checkout master git merge --ff-only v$VERSION git checkout dfsg-clean git merge v$VERSION git tag -s upstream/$VERSION+dfsg -m"Upstream version $VERSION+dfsg" git checkout master git merge upstream/$VERSION+dfsg [ Make here some adaptations, like updating debian/patches and debian/upstream-changelog from http://deepliquid.com/blog/ ] gbp buildpackage debian/gbp.conf0000644000000000000000000000007712241732650010613 0ustar [gbp-buildpackage] pristine-tar-commit = True compression = xz debian/source/0000755000000000000000000000000012241732650010470 5ustar debian/source/format0000644000000000000000000000001412241732650011676 0ustar 3.0 (quilt) debian/install0000644000000000000000000000012312241732650010555 0ustar css /usr/share/javascript/jcrop js/jquery.Jcrop.* /usr/share/javascript/jcrop/js debian/watch0000644000000000000000000000015612241734332010222 0ustar version=3 options=dversionmangle=s/\+dfsg// \ https://github.com/tapmodo/Jcrop/tags .*/v?(\d[\d\.]*)\.tar\.gz debian/rules0000755000000000000000000000027212241737555010262 0ustar #!/usr/bin/make -f %: dh $@ override_dh_auto_build: bash build/build-all.bash dh_auto_build override_dh_installchangelogs: dh_installchangelogs $(CURDIR)/debian/upstream-changelog debian/compat0000644000000000000000000000000212241732650010366 0ustar 9 debian/patches/0000755000000000000000000000000012241732650010617 5ustar debian/patches/0001-Don-t-rebuild-demos-CSS.patch0000644000000000000000000000206612241732650016362 0ustar From: =?utf-8?q?David_Pr=C3=A9vot?= Date: Sat, 16 Nov 2013 12:37:31 -0400 Subject: =?utf-8?q?Don=E2=80=99t_rebuild_demos=E2=80=99_CSS?= MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit It needs Twitter’s bootstrap sources in order to build, and seems like a pointless exercise just for CSS only available in examples. Forwarded: not-needed --- build/build-all.bash | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/build/build-all.bash b/build/build-all.bash index 7e01c5a..30eed77 100755 --- a/build/build-all.bash +++ b/build/build-all.bash @@ -15,24 +15,6 @@ $BASH compile-css.bash $BASH minimize-css.bash $BASH minimize-js.bash -echo -n "Building main CSS..." - -if lessc less/main.less > ../demos/demo_files/main.css -then - echo "OK" -else - echo "FAILED" -fi - -echo -n "Building additional Jcrop demo CSS..." - -if lessc less/demos.less > ../demos/demo_files/demos.css -then - echo "OK" -else - echo "FAILED" -fi - pushd demos > /dev/null echo "Now building demo HTML" debian/patches/series0000644000000000000000000000004312241732650012031 0ustar 0001-Don-t-rebuild-demos-CSS.patch debian/changelog0000644000000000000000000000024112241732650011037 0ustar libjs-jcrop (0.9.12+dfsg-1) unstable; urgency=low * Initial release (Closes: #726279) -- David Prévot Wed, 26 Jun 2013 00:16:21 -0400 debian/upstream-changelog0000644000000000000000000001036512241741546012711 0ustar 0.9.12 - Saturday, February 2nd, 2013 This version release contains a “bumper crop” of new features and improvements: A new look! New templates and build system for included demo files Included CSS file is now built with LESS (see lesscss.org) Option handleSize deprecated in favor of CSS-based styling Fixed compatibility with jQuery v1.9+ Fixed iOS jumping bug, improved touch performance Fixed destroy() visibility bug Fixed some rounding and display issues 0.9.10 - Sunday, April 29th, 2012 Highlights of the new version: Selection handles and drag-bars are now positioned entirely via CSS. There are also new creation options (createHandles, createBorders, createDragbars) that allow specification of which elements should be created (this replaces undocumented sideHandles/cornerHandles options). A minimized CSS file is now included. Also, the Javascript minimizer was switched to uglify-js. These minimized files are all created automatically using a pre-commit hook, so I never forget. If you’re interested in how this is done, check out the build directory of the git repository. Jcrop now has experimental support for attaching to non-image elements. A complementary new shading mode can be implemented that works without using a duplicate image (“shade: true”). A few more additions: Added getOptions() method to api Fix for twitter bootstrap 2.x onDblClick handler option Fixes for iOS touch events (still a bit wonky) Many various Javascript and CSS fixes 0.9.9 - Tuesday, June 7th, 2011 Callbacks have API Context Initialization Callback Image can now be changed via API Experimental Touch Support Major MSIE enhancements/changes Even more new features Default options now stored in $.Jcrop.defaults New behavior options: allowSelect, allowMove, allowResize (all default true) Enhanced keyboard support, mostly defaults to enabled now (keySupport: true) Added onRelease callback for when selection is cancelled or disappears Added bgFade option (default: false) 0.9.8 - Monday, April 20th, 2009 IE8 fix 0.9.7 - Thursday, April 9th, 2009 In some situations, the target image would disappear upon instantiation due to the image size not being properly detected (thanks to Graham and Daniel for pointing this out). Clicking on an edge or sizing handle and immediately releasing the mouse button (without movement) would incorrectly cause the crop selection to release (thanks to Andy for pointing this out). Using the basic jQuery plugin attachment method caused an additional copy of the image to be inserted into the DOM (minor). Jcrop now attaches the API to $(selector).data(‘Jcrop’) instead of selector.Jcrop (obscure). 0.9.6 - Friday, April 3rd, 2009 Jcrop widget can now be disabled, re-enabled, or removed entirely New selections, moving, and resizing can now be disabled/enabled minSize/maxSize now work with aspectRatio set (thanks for the patch, Matt!) setSelect and animateTo now scale coordinate input on larger images Documentation has been updated to reflect some of the new functionality Added a new API demo to download archive and online demos page Internal code restructuring, including additional commenting 0.9.5 - Tuesday, October 14th, 2008 Prior to this release, applying more than one instance of Jcrop on a page would create a conflict. The widgets would be built and appear to function correctly, but all instances would “control” the latest instance. Even that behavior was not totally evident because Jcrop will preload the image if invoked a certain way, creating a race condition where sometimes one would be initialized later than the other, regardless of the order of instantiation. 0.9.3 - Monday, September 22nd, 2008 This update adds two options: maxSize array [ w,h ] Maximum dimensions minSize array [ w,h ] Minimum dimensions Some notes: If you specify a dimension as zero (0), it will not be bounded. If aspectRatio option is set, maxSize and minSize are ignored. 0.9.2 - Friday, September 19th, 2008 address a couple of issues, impacting performance@si implement new image sizing features to address larger images improve documentation 0.9.0 - Tuesday, September 9th, 2008 initial release debian/control0000644000000000000000000000150012241732650010567 0ustar Source: libjs-jcrop Section: web Priority: optional Maintainer: Debian JavaScript Maintainers Uploaders: David Prévot Build-Depends: csstidy, debhelper (>= 9), node-less, node-uglify, php5-cli Standards-Version: 3.9.5 Homepage: http://deepliquid.com/content/Jcrop.html Vcs-Git: git://anonscm.debian.org/pkg-javascript/libjs-jcrop.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-javascript/libjs-jcrop.git Package: libjs-jcrop Architecture: all Depends: ${misc:Depends} Description: image cropping plugin Jcrop is a quick and easy way to add image cropping functionality to web applications. It combines the ease-of-use of a typical jQuery plugin with a cross-platform DHTML cropping engine that is faithful to familiar desktop graphics applications. debian/copyright0000644000000000000000000000347412241732650011133 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Jcrop Source: https://github.com/tapmodo/Jcrop Upstream-Contact: Kelly Hallman Files: * Copyright: 2008-2013 Tapmodo Interactive LLC 2008-2009 Kelly Hallman License: Expat Files: build/less/_bootstrap.less demos/demo_files/main.css Copyright: 2012 Twitter, Inc License: Apache-2.0 Files: js/jquery.color.js Copyright: 2011 John Resig License: Expat or GPL-2 License: Apache-2.0 On Debian systems, the full text of the Apache license version 2 can be found in the file `/usr/share/common-licenses/Apache-2.0'. License: 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. License: GPL-2 On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'.