[neon/neon-packaging/koko/Neon/unstable] debian: import

Harald Sitter null at kde.org
Mon Jun 12 07:22:28 BST 2023


Git commit 51f8e4604f1dab26a9aee3507e0fc74a9fc85d3e by Harald Sitter.
Committed on 11/03/2015 at 09:30.
Pushed by carlosdem into branch 'Neon/unstable'.

import

A  +5    -0    debian/changelog
A  +1    -0    debian/compat
A  +39   -0    debian/control
A  +1    -0    debian/koko.install
A  +28   -0    debian/rules
A  +1    -0    debian/source/format
A  +2    -0    debian/source/local-options
A  +3    -0    debian/tests/control
A  +9    -0    debian/tests/testsuite
A  +6    -0    debian/tests/testsuite.xsession

https://invent.kde.org/neon/neon-packaging/koko/-/commit/51f8e4604f1dab26a9aee3507e0fc74a9fc85d3e

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..68f1d66
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+koko (0.0) UNRELEASED; urgency=medium
+
+  * Initial release.
+
+ -- Harald Sitter <sitter at kde.org>  Thu, 18 Dec 2014 11:04:27 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..9d96d57
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,39 @@
+Source: koko
+Section: kde
+Priority: optional
+Maintainer: Debian/Kubuntu KDE Extras Team <pkg-kde-extras at lists.alioth.debian.org>
+Build-Depends: baloo-kf5-dev,
+               cmake (>= 2.6.2),
+               debhelper (>= 9),
+               extra-cmake-modules,
+               libexiv2-dev (>= 0.21),
+               libkf5config-dev,
+               libkf5declarative-dev,
+               libkf5filemetadata-dev,
+               libkf5i18n-dev,
+               pkg-kde-tools (>= 0.12),
+               plasma-framework-dev,
+               qtbase5-dev,
+               qtdeclarative5-dev,
+               qtpositioning5-dev
+Standards-Version: 3.9.5
+XS-Testsuite: autopkgtest
+Vcs-Browser: http://anonscm.debian.org/cgit/pkg-kde/kde-extras/kdeconnect-plasma.git
+Vcs-Git: git://anonscm.debian.org/pkg-kde/kde-extras/kdeconnect-plasma.git
+
+Package: koko
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: KDE Image Gallery
+ A KDE Image Gallery.
+
+Package: koko-dbg
+Section: debug
+Architecture: any
+Priority: extra
+Depends: koko (= ${binary:Version}), ${misc:Depends}
+Description: KDE Image Gallery - debug symbols
+ A KDE Image Gallery.
+ .
+ This package contains debugging files used to investigate problems with
+ the Qt Cryptographic Architecture libraries.
diff --git a/debian/koko.install b/debian/koko.install
new file mode 100644
index 0000000..097923b
--- /dev/null
+++ b/debian/koko.install
@@ -0,0 +1 @@
+usr/*
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..98e3298
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,28 @@
+#!/usr/bin/make -f
+
+include /usr/share/pkg-kde-tools/qt-kde-team/3/debian-qt-kde.mk
+
+GEONAME_DATA_FILES := cities1000.zip admin1CodesASCII.txt admin2Codes.txt
+GEONAME_DUMPS := $(addprefix debian/geonames/, $(GEONAME_DATA_FILES))
+GEONAME_SRCS := $(addprefix src/, $(GEONAME_DATA_FILES))
+
+dump/%:
+	mkdir -p dump
+	cd dump && wget -q http://download.geonames.org/export/dump/$*
+
+geonames_deploy: $(GEONAME_DUMPS)
+	ln -s $(GEONAME_DUMPS) src/
+
+geonames_undeploy: $(GEONAME_DUMPS)
+	rm -rf $(GEONAME_SRCS)
+
+override_dh_clean: geonames_undeploy
+	$(overridden_command)
+
+override_dh_auto_configure: geonames_deploy
+	$(overridden_command)
+
+override_dh_strip:
+	$(overridden_command) --dbg-package=koko-dbg
+
+.PHONY: geonames_deploy geonames_undeploy override_dh_clean override_dh_auto_configure override_dh_auto_test
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/local-options b/debian/source/local-options
new file mode 100644
index 0000000..c4cf480
--- /dev/null
+++ b/debian/source/local-options
@@ -0,0 +1,2 @@
+abort-on-upstream-changes
+unapply-patches
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..34172bf
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+Tests: testsuite
+Depends: @builddeps@, build-essential,
+Restrictions: rw-build-tree isolation-container
diff --git a/debian/tests/testsuite b/debian/tests/testsuite
new file mode 100644
index 0000000..1929642
--- /dev/null
+++ b/debian/tests/testsuite
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+if [ -d /usr/lib/ccache ]; then
+    export PATH="/usr/lib/ccache:$PATH"
+fi
+debian/rules clean 2>&1
+dpkg-source --before-build .
+debian/rules build 2>&1
+debian/tests/testsuite.xsession
diff --git a/debian/tests/testsuite.xsession b/debian/tests/testsuite.xsession
new file mode 100755
index 0000000..53e3fac
--- /dev/null
+++ b/debian/tests/testsuite.xsession
@@ -0,0 +1,6 @@
+#!/bin/sh
+export LANG=C.UTF-8
+export LC_ALL=C.UTF-8
+[ -e debian/tests.home ] || mkdir debian/tests.home
+HOME=debian/tests.home dh_auto_test
+rm -rf debian/home/tests.home



More information about the Neon-commits mailing list