debian/0000755000000000000000000000000012036233241007162 5ustar debian/install0000644000000000000000000000004312036233241010550 0ustar js/* usr/share/javascript/rainbow/ debian/rules0000755000000000000000000000165412036233241010250 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 ifndef UPVER UPVER := $(shell dpkg-parsechangelog | grep ^Version | cut -d\ -f2 | cut -d- -f1 | cut -d+ -f1) endif DEBVER := $(UPVER)+ds1 %: dh $@ override_dh_auto_build: uglifyjs -o js/rainbow.min.js js/rainbow.js cat js/rainbow.js >> js/rainbow-full.js for i in $$(ls js/language/*); do \ cat $$i >> js/rainbow-full.js; \ uglifyjs -o $$(dirname $$i)/$$(basename $$i .js).min.js $$i; \ done uglifyjs -o js/rainbow-full.min.js js/rainbow-full.js get-orig-source: uscan \ --verbose \ --repack \ --rename \ --force-download \ --download-version $(UPVER) \ --destdir . tar xf rainbow.js_$(UPVER).orig.tar.gz rm -vrf ccampbell-rainbow-*/tests/jquery-* tar cf rainbow.js_$(DEBVER).orig.tar ccampbell-rainbow-*/ gzip -9 rainbow.js_$(DEBVER).orig.tar rm -rf rainbow.js_$(UPVER).orig.tar.gz ccampbell-rainbow-*/ debian/docs0000644000000000000000000000001212036233241010026 0ustar README.md debian/watch0000644000000000000000000000016312036233241010213 0ustar version=3 opts=dversionmangle=s/\+ds\d// \ http://githubredir.debian.net/github/ccampbell/rainbow/(\d+.*)\.tar\.gz debian/control0000644000000000000000000000142012036233241010562 0ustar Source: rainbow.js Section: web Priority: extra Maintainer: Debian Javascript Maintainers Uploaders: David Paleino Build-Depends: debhelper (>= 9~) , node-uglify Standards-Version: 3.9.4 Homepage: http://craig.is/making/rainbows Vcs-Git: git://git.debian.org/pkg-javascript/rainbow.js.git Vcs-Browser: http://git.debian.org/?p=pkg-javascript/rainbow.js.git;a=summary Package: libjs-rainbow Architecture: all Depends: ${misc:Depends} Recommends: javascript-common Description: code syntax highlighting library written in Javascript Rainbow is a code syntax highlighting library written in Javascript. . It was designed to be lightweight, easy to use, and extendable. Morever, it is completely themable via CSS. debian/changelog0000644000000000000000000000021312036233241011030 0ustar rainbow.js (1.1.8+ds1-1) unstable; urgency=low * Initial release -- David Paleino Fri, 12 Oct 2012 12:47:18 +0200 debian/copyright0000644000000000000000000000326712036233241011125 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Rainbow Source: https://github.com/ccampbell/rainbow Files: * Copyright: © 2012, Craig Campbell License: Apache-2.0 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at . http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. . On Debian systems, the full text of the Apache License, version 2.0, can be found in `/usr/share/common-licenses/Apache-2.0'. Files: debian/* Copyright: © 2012, David Paleino License: GPL-2+ This package 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 2 of the License, or (at your option) any later version. . This package 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 2 can be found in "/usr/share/common-licenses/GPL-2". debian/README.Debian0000644000000000000000000000125012036233241011221 0ustar rainbow.js for Debian --------------------- The package provides a "full" version of the library, with all the languages compiled in, as well as the possibility to pick the languages one needs. To choose the "full" version, please use rainbow-full.js, or its minified version. Please beware that it might be a rather large file. You can also use rainbow with selected languages: please make sure to include rainbow.js (or its minified version) *BEFORE* any language definition. Minified versions are provided for each javascript file (rainbow.js, rainbow-full.js, and the language files). -- David Paleino Fri, 12 Oct 2012 12:48:15 +0200 debian/examples0000644000000000000000000000002012036233241010713 0ustar demos/* themes/ debian/source/0000755000000000000000000000000012036233241010462 5ustar debian/source/format0000644000000000000000000000001412036233241011670 0ustar 3.0 (quilt) debian/clean0000644000000000000000000000006412036233241010167 0ustar js/rainbow-full.js js/*.min.js js/language/*.min.js debian/README.source0000644000000000000000000000031712036233241011342 0ustar rainbow.js for Debian --------------------- The source package has been repacked to remove an embedded copy of the jQuery library. -- David Paleino Fri, 12 Oct 2012 12:48:15 +0200 debian/compat0000644000000000000000000000000212036233241010360 0ustar 9