initial commit

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2023-05-28 16:24:19 +02:00
commit 004cd4ca24
9 changed files with 173 additions and 0 deletions

54
Makefile Normal file
View File

@ -0,0 +1,54 @@
include /usr/share/dpkg/pkg-info.mk
PACKAGE=libjs-sencha-touch
BUILDDIR ?= $(PACKAGE)-$(DEB_VERSION_UPSTREAM)
ORIG_SRC_TAR=$(PACKAGE)_$(DEB_VERSION_UPSTREAM).orig.tar.gz
DEB=$(PACKAGE)_$(DEB_VERSION)_all.deb
DSC=$(PACKAGE)_$(DEB_VERSION).dsc
all: deb
$(BUILDDIR): debian src
rm -rf $@ $@.tmp
cp -a src $@.tmp
rm -rf $@.tmp/examples
rm -f $@.tmp/build.xml
cp -a debian/ $@.tmp/debian
echo "git clone git://git.proxmox.com/git/sencha-touch.git\\ngit checkout $$(git rev-parse HEAD)" > $@.tmp/debian/SOURCE
mv $@.tmp $@
.PHONY: deb
deb: $(DEB)
$(DEB): $(BUILDDIR)
cd $(BUILDDIR); dpkg-buildpackage -b -us -uc
lintian $@
$(ORIG_SRC_TAR): $(BUILDDIR)
tar czf $(ORIG_SRC_TAR) --exclude="$(BUILDDIR)/debian" $(BUILDDIR)
.PHONY: dsc
dsc: clean
$(MAKE) $(DSC)
lintian $(DSC)
$(DSC): $(ORIG_SRC_TAR) $(BUILDDIR)
cd $(BUILDDIR); dpkg-buildpackage -S -us -uc -d
sbuild: $(DSC)
sbuild $(DSC)
.PHONY: upload
upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)
upload: $(DEB)
tar cf - $(DEB) | ssh repoman@repo.proxmox.com -- upload --product pve --dist $(UPLOAD_DIST)
.PHONY: distclean clean
distclean: clean
clean:
rm -rf $(PACKAGE)-[0-9]*/ *.deb *.changes *.buildinfo *.build *.tar.?z *.dsc
.PHONY: dinstall
dinstall: $(DEB)
dpkg -i $(DEB)

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
libjs-sencha-touch (2.4.2-1) bullseye; urgency=medium
* Split out from pve-manager's source repository
-- Proxmox Support Team <support@proxmox.com> Sun, 28 May 2023 16:06:25 +0200

14
debian/control vendored Normal file
View File

@ -0,0 +1,14 @@
Source: libjs-sencha-touch
Section: web
Priority: optional
Maintainer: Proxmox Support Team <support@proxmox.com>
Build-Depends: debhelper-compat (= 12),
Standards-Version: 4.6.1
Homepage: https://www.sencha.com/
Package: libjs-sencha-touch
Architecture: all
Depends: ${misc:Depends},
Description: Cross-browser JavaScript library for mobile
Sencha Touch is a cross-browser JavaScript library for building rich internet
applications for the mobile web.

81
debian/copyright vendored Normal file
View File

@ -0,0 +1,81 @@
Top-level debian/ & Makefile packaging und build-sys;
Copyright (C) 2023 Proxmox Server Solutions GmbH
License: AGPL-3.0-or-later
For the Sencha Touch JavaScript Framework (GPLv3 variant) the following was
copied in verbatim form the projects license.txt, for the full text of the GPL
v3 please see /usr/share/common-licenses/GPL-3
Sencha Touch & Sencha Touch Charts - JavaScript Libraries
Copyright (c) 2010-2015, Sencha, Inc.
All rights reserved.
licensing@sencha.com
http://www.sencha.com/products/touch/license.php
Open Source License
------------------------------------------------------------------------------------------
This version of Sencha Touch and Sencha Touch Charts is licensed under the terms of the Open
Source GPL 3.0 license.
http://www.gnu.org/licenses/gpl.html
There are several FLOSS exceptions available for use with this release for
open source applications that are distributed under a license other than the GPL.
* Open Source License Exception for Applications
http://www.sencha.com/products/floss-exception.php
* Open Source License Exception for Development
http://www.sencha.com/products/ux-exception.php
Alternate Licensing for Sencha Touch
------------------------------------------------------------------------------------------
Commercial and OEM Licenses are available for an alternate download of Sencha Touch.
This is the appropriate option if you are creating proprietary applications and you are
not prepared to distribute and share the source code of your application under the
GPL v3 license. Please visit http://www.sencha.com/store/touch/license.php for more details.
Alternate Licensing for Sencha Touch Charts
------------------------------------------------------------------------------------------
Commercial and OEM Licenses are available for an alternate download of Sencha Touch Charts.
This is the appropriate option if you are creating proprietary applications and you are
not prepared to distribute and share the source code of your application under the
GPL v3 license.
Sencha Touch Charts is available commercially only as a part of Sencha Complete or Sencha
Complete Team. Please visit http://www.sencha.com/products/complete/license or
http://www.sencha.com/products/complete-team/license for more details.
Third Party Content
------------------------------------------------------------------------------------------
The following third party software is distributed with Sencha Touch and is
provided under other licenses and/or has source available from other locations.
Library: JSON parser
License: Public Domain
Location: http://www.JSON.org/js.html
Library: flexible-js-formatting - date parsing and formatting
License: MIT
Location: http://code.google.com/p/flexible-js-formatting/
Library: Jasmine Š unit testing
License: MIT
Location: https://github.com/pivotal/jasmine
--
THIS SOFTWARE IS DISTRIBUTED "AS-IS" WITHOUT ANY WARRANTIES, CONDITIONS AND
REPRESENTATIONS WHETHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE
IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, MERCHANTABLE QUALITY,
FITNESS FOR A PARTICULAR PURPOSE, DURABILITY, NON-INFRINGEMENT, PERFORMANCE AND
THOSE ARISING BY STATUTE OR FROM CUSTOM OR USAGE OF TRADE OR COURSE OF DEALING.

4
debian/install vendored Normal file
View File

@ -0,0 +1,4 @@
sencha-touch-all.js /usr/share/javascript/sencha-touch
sencha-touch-all-debug.js /usr/share/javascript/sencha-touch
resources/css/*.css /usr/share/javascript/sencha-touch/resources/css
resources/themes/images/default/* /usr/share/javascript/sencha-touch/resources/themes/images

4
debian/lintian-overrides vendored Normal file
View File

@ -0,0 +1,4 @@
libjs-sencha-touch: privacy-breach-generic [<script src="http://domainb.com/users?callback=callback1">] (http://domainb.com/users?callback=callback1) [usr/share/javascript/sencha-touch/sencha-touch-all-debug.js]
libjs-sencha-touch: privacy-breach-generic [<script src="http://domainb.com/users?callback=somecallback">] (http://domainb.com/users?callback=somecallback) [usr/share/javascript/sencha-touch/sencha-touch-all-debug.js]
libjs-sencha-touch: privacy-breach-generic [<script src="http://domainb.com/users?thecallbackfunction=callback1">] (http://domainb.com/users?thecallbackfunction=callback1) [usr/share/javascript/sencha-touch/sencha-touch-all-debug.js]
libjs-sencha-touch: truetype-font-prohibits-installable-embedding (preview/print only) [usr/share/javascript/sencha-touch/resources/themes/images/pictos/pictos-web.ttf]

9
debian/rules vendored Executable file
View File

@ -0,0 +1,9 @@
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#DH_VERBOSE = 1
%:
dh $@

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)

1
debian/source/lintian-overrides vendored Normal file
View File

@ -0,0 +1 @@
libjs-sencha-touch source: obsolete-url-in-packaging http://code.google.com/p/flexible-js-formatting/ [debian/copyright]