debian/0000755000000000000000000000000012236657021007172 5ustar debian/highlight.js-doc.docs0000644000000000000000000000012712203517645013172 0ustar README.md README.ru.md classref.txt docs/_build/html docs/_build/latex/highlightjs.pdf debian/rules0000755000000000000000000000100112236656515010251 0ustar #!/usr/bin/make -f export DH_VERBOSE=1 js-compressor := $(or $(notdir $(shell which uglifyjs)),yui-compressor) %: dh $@ override_dh_auto_build: build_doc python3 tools/build.py -n python3 tools/build.py -tnode $(js-compressor) -o build_browser/highlight.min.js build_browser/highlight.pack.js mv build_browser/highlight.pack.js build_browser/highlight.js override_dh_clean: dh_clean rm -rf build_browser/ build_node/ rm -rf docs/_build/* build_doc: $(MAKE) -C docs/ html $(MAKE) -C docs/ latexpdf debian/libjs-highlight.docs0000644000000000000000000000004412203517645013113 0ustar README.md README.ru.md classref.txt debian/libjs-highlight.install0000644000000000000000000000015412203517646013634 0ustar build_browser/highlight*.js /usr/share/javascript/highlight/ src/styles /usr/share/javascript/highlight/ debian/watch0000644000000000000000000000017512203517646010230 0ustar version=3 opts=dversionmangle=s/\+ds// \ https://github.com/isagalaev/highlight.js/tags .*/highlight\.js/archive/(.*).tar.gz debian/source/0000755000000000000000000000000012203517646010474 5ustar debian/source/format0000644000000000000000000000001412203517646011702 0ustar 3.0 (quilt) debian/highlight.js-doc.doc-base0000644000000000000000000000072412203517645013722 0ustar Document: highlightjs-documentation Title: Documentation of highlight.js library Author: Ivan Sagalaev Abstract: This documentation presents the API of the hignlight.js library, a language definition guide, a mode reference and a style guide. Section: Programming/JavaScript Format: HTML Index: /usr/share/doc/highlight.js-doc/html/index.html Files: /usr/share/doc/highlight.js-doc/html/*.html Format: PDF Files: /usr/share/doc/highlight.js-doc/highlightjs.pdf.gz debian/gbp.conf0000644000000000000000000000011212203517645010604 0ustar [git-import-orig] filter=tools/yuicompressor.jar filter-pristine-tar=true debian/copyright0000644000000000000000000000360612236656740011141 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: highlight.js Source: https://github.com/isagalaev/highlight.js The upstream tarball has been repacked to exclude tools/yuicompressor.jar Files: * Copyright: 2006 Ivan Sagalaev License: BSD-3-clause Files: debian/* Copyright: 2012 Cédric Boutillier License: BSD-3-clause License: BSD-3-clause All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of highlight.js nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/control0000644000000000000000000000405712236656515010612 0ustar Source: highlight.js Section: web Priority: optional Maintainer: Debian Javascript Maintainers Uploaders: Cédric Boutillier Build-Depends: debhelper (>= 9), node-uglify | yui-compressor, python3, python3-sphinx, texlive-latex-base, texlive-latex-extra, texlive-fonts-recommended Standards-Version: 3.9.5 Homepage: http://highlightjs.org/ Vcs-Git: git://anonscm.debian.org/pkg-javascript/highlight.js Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-javascript/highlight.js.git;a=summary Package: libjs-highlight Architecture: all Multi-Arch: foreign Depends: ${misc:Depends} Recommends: javascript-common Description: JavaScript library for syntax highlighting Highlight.js is a JavaScript library which automatically detects the language of code blocks in a web page, and provides syntax highlighting for them. The library supports more than fifty languages and is bundled with more than twenty style themes. . This package contains the library highlight.js usable in a web browser. Package: node-highlight Architecture: all Multi-Arch: foreign Depends: ${misc:Depends}, nodejs Recommends: javascript-common Description: JavaScript library for syntax highlighting - NodeJS Highlight.js is a JavaScript library which automatically detects the language of code blocks in a web page, and provides syntax highlighting for them. The library supports more than fifty languages and is bundled with more than twenty style themes. . This package contains the library highlight.js usable as a NodeJS module. Package: highlight.js-doc Section: doc Architecture: all Multi-Arch: foreign Depends: ${misc:Depends}, libjs-sphinxdoc Description: JavaScript library for syntax highlighting - documentation Highlight.js is a JavaScript library which automatically detects the language of code blocks in a web page, and provides syntax highlighting for them. The library supports more than fifty languages and is bundled with more than twenty style themes. . This package contains the documentation of this library. debian/libjs-highlight.examples0000644000000000000000000000000012203517645013771 0ustar debian/patches/0000755000000000000000000000000012236656515010630 5ustar debian/patches/modify_build_dir.patch0000644000000000000000000000201012236656515015146 0ustar Description: modify build_dir according to the target We do not want the prepared files to be wiped out before they get installed Author: Cédric Boutillier Last-Update: 2013-11-07 --- a/tools/build.py +++ b/tools/build.py @@ -267,8 +267,8 @@ content = compress_content(tools_path, open(filename).read(), 'css') open(os.path.join(build_style_path, '%s.min.css' % style), 'w', encoding='utf-8').write(content) -def build(buildfunc, root, args): - build_path = os.path.join(root, 'build') +def build(buildfunc, root, build_path, args): + #build_path = os.path.join(root, 'build') if os.path.exists(build_path): shutil.rmtree(build_path) os.mkdir(build_path) @@ -295,4 +295,5 @@ args = parser.parse_args() buildfunc = locals()['build_%s' % args.target] root = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) - build(buildfunc, root, args) + bpath = os.path.join(root, 'build_%s' % args.target) + build(buildfunc, root, bpath, args) debian/patches/series0000644000000000000000000000002712203517646012037 0ustar modify_build_dir.patch debian/compat0000644000000000000000000000000212203517645010371 0ustar 9 debian/README.source0000644000000000000000000000056612203517645011361 0ustar This package uses the Debian 3.0 (quilt) source package format. The upstream tarball has been repacked to remove the compiled Java archive tools/yuicompressor.jar. The removal has been done with git-buildpackage, during the import of the upstream tarball via git import-orig command and its filter option (see debian/gbp.conf). Cédric Boutillier Last Update: 2013-05-30 debian/node-highlight.docs0000644000000000000000000000004412203517646012736 0ustar README.md README.ru.md classref.txt debian/node-highlight.install0000644000000000000000000000005012203517646013451 0ustar build_node/* /usr/lib/nodejs/highlight/ debian/changelog0000644000000000000000000000134612236657005011052 0ustar highlight.js (7.4+ds-1) unstable; urgency=low * Imported Upstream version 7.4+ds * Build with python3 * Bump Standards-Version to 3.9.5 (no changes needed) * Update Homepage to point to http://highlightjs.org * Refresh modify_build_dir.patch * Update Source field to point to github page in copyright file * Rename the unminified highlight.pack.js to highlight.js (the minified version is highlight.min.js) -- Cédric Boutillier Thu, 07 Nov 2013 10:25:35 +0100 highlight.js (7.3+ds-1) unstable; urgency=low * Initial packaging (Closes: #693819) * Repack upstream tarball to remove embedded copy of yuicompressor.jar -- Cédric Boutillier Thu, 30 May 2013 19:10:14 +0200 debian/highlight.js-doc.links0000644000000000000000000000117712203517645013370 0ustar /usr/share/javascript/sphinxdoc/1.0/doctools.js usr/share/doc/highlight.js-doc/html/_static/doctools.js /usr/share/javascript/sphinxdoc/1.0/jquery.js usr/share/doc/highlight.js-doc/html/_static/jquery.js /usr/share/javascript/sphinxdoc/1.0/searchtools.js usr/share/doc/highlight.js-doc/html/_static/searchtools.js /usr/share/javascript/sphinxdoc/1.0/sidebar.js usr/share/doc/highlight.js-doc/html/_static/sidebar.js /usr/share/javascript/sphinxdoc/1.0/theme_extras.js usr/share/doc/highlight.js-doc/html/_static/theme_extras.js /usr/share/javascript/sphinxdoc/1.0/underscore.js usr/share/doc/highlight.js-doc/html/_static/underscore.js