]> git.proxmox.com Git - sencha-touch.git/commitdiff
initial commit
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sun, 28 May 2023 14:24:19 +0000 (16:24 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sun, 28 May 2023 15:01:15 +0000 (17:01 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile [new file with mode: 0644]
debian/changelog [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/install [new file with mode: 0644]
debian/lintian-overrides [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/source/format [new file with mode: 0644]
debian/source/lintian-overrides [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..944a248
--- /dev/null
+++ b/Makefile
@@ -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)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..101f0b7
--- /dev/null
@@ -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
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..6e4fe76
--- /dev/null
@@ -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.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..a017fd9
--- /dev/null
@@ -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.
diff --git a/debian/install b/debian/install
new file mode 100644 (file)
index 0000000..e4d9ce8
--- /dev/null
@@ -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
diff --git a/debian/lintian-overrides b/debian/lintian-overrides
new file mode 100644 (file)
index 0000000..a0ef98f
--- /dev/null
@@ -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]
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..2a6e77d
--- /dev/null
@@ -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 $@
+
diff --git a/debian/source/format b/debian/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644 (file)
index 0000000..905f21a
--- /dev/null
@@ -0,0 +1 @@
+libjs-sencha-touch source: obsolete-url-in-packaging http://code.google.com/p/flexible-js-formatting/ [debian/copyright]