Adding debian version 1.8.0+20250123-1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
7d7607bd81
commit
90c47e69a4
6 changed files with 97 additions and 0 deletions
5
debian/changelog
vendored
Normal file
5
debian/changelog
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
nayuki-qr-code-generator (1.8.0+20250123-1) unstable; urgency=low
|
||||
|
||||
* Initial upload to sid.
|
||||
|
||||
-- Daniel Baumann <daniel@debian.org> Sun, 06 Apr 2025 10:28:21 +0200
|
29
debian/control
vendored
Normal file
29
debian/control
vendored
Normal file
|
@ -0,0 +1,29 @@
|
|||
Source: nayuki-qr-code-generator
|
||||
Section: utils
|
||||
Priority: optional
|
||||
Maintainer: Daniel Baumann <daniel@debian.org>
|
||||
Build-Depends:
|
||||
debhelper-compat (= 13),
|
||||
node-typescript,
|
||||
terser,
|
||||
Rules-Requires-Root: no
|
||||
Standards-Version: 4.7.2
|
||||
Homepage: https://www.nayuki.io/page/qr-code-generator-library
|
||||
Vcs-Browser: https://forgejo.debian.net/web/nayuki-qr-code-generator
|
||||
Vcs-Git: https://forgejo.debian.net/web/nayuki-qr-code-generator
|
||||
|
||||
Package: libjs-qrcodegen
|
||||
Architecture: all
|
||||
Multi-Arch: foreign
|
||||
Section: web
|
||||
Depends:
|
||||
${misc:Depends},
|
||||
Suggests:
|
||||
javascript-common,
|
||||
Description: QR Code generator library (javascript)
|
||||
The Nayuki QR Code generator library aims to be the best library for generating
|
||||
QR Codes by providing flexible options and absolute correctness. It supports
|
||||
all 40 versions (sizes) and all 4 error correction levels, as per the QR Code
|
||||
Model 2 standard.
|
||||
.
|
||||
This package contains the javascript implementation.
|
31
debian/copyright
vendored
Normal file
31
debian/copyright
vendored
Normal file
|
@ -0,0 +1,31 @@
|
|||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: QR Code generator library
|
||||
Upstream-Contact: https://github.com/nayuki/QR-Code-generator/issues
|
||||
Source: https://github.com/nayuki/QR-Code-generator/tags
|
||||
|
||||
Files: *
|
||||
Copyright: 2016-2025 Project Nayuki
|
||||
License: MIT
|
||||
|
||||
Files: debian/*
|
||||
Copyright: 2025 Daniel Baumann <daniel@debian.org>
|
||||
License: MIT
|
||||
|
||||
License: MIT
|
||||
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.
|
27
debian/rules
vendored
Executable file
27
debian/rules
vendored
Executable file
|
@ -0,0 +1,27 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
%:
|
||||
dh ${@}
|
||||
|
||||
execute_after_dh_auto_clean:
|
||||
rm -f typescript-javascript/*.js*
|
||||
|
||||
override_dh_auto_build:
|
||||
cd typescript-javascript && \
|
||||
sh ./build.sh
|
||||
|
||||
cd typescript-javascript && \
|
||||
terser qrcodegen.js -c -m -o qrcodegen.min.js --source-map
|
||||
|
||||
override_dh_auto_install:
|
||||
mkdir -p debian/libjs-qrcodegen/usr/share/qr-code-generator/javascript
|
||||
cp typescript-javascript/qrcodegen.*js* debian/libjs-qrcodegen/usr/share/qr-code-generator/javascript
|
||||
|
||||
mkdir -p debian/libjs-qrcodegen/usr/share/doc/libjs-qrcodegen/examples
|
||||
cp typescript-javascript/*demo*.html debian/libjs-qrcodegen/usr/share/doc/libjs-qrcodegen/examples
|
||||
cp typescript-javascript/*demo*.js debian/libjs-qrcodegen/usr/share/doc/libjs-qrcodegen/examples
|
||||
|
||||
mkdir -p debian/libjs-qrcodegen/usr/share/javascript/qrcodegen
|
||||
ln -s /usr/share/qr-code-generator/javascript/qrcodegen.js debian/libjs-qrcodegen/usr/share/javascript/qrcodegen/qrcodegen.js
|
||||
ln -s /usr/share/qr-code-generator/javascript/qrcodegen.min.js debian/libjs-qrcodegen/usr/share/javascript/qrcodegen/qrcodegen.min.js
|
||||
ln -s /usr/share/qr-code-generator/javascript/qrcodegen.min.js.map debian/libjs-qrcodegen/usr/share/javascript/qrcodegen/qrcodegen.min.js.map
|
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
3.0 (quilt)
|
4
debian/watch
vendored
Normal file
4
debian/watch
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
version=4
|
||||
opts="filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/QR-Code-generator-$1\.tar\.gz/, \
|
||||
dversionmangle=s/\+dfsg//" \
|
||||
https://github.com/nayuki/QR-Code-generator/tags .*/v?(\d\S+)\.tar\.gz
|
Loading…
Add table
Add a link
Reference in a new issue