[neon/backports-jammy/libei/Neon/unstable_jammy] debian: initial import from ubuntu

Carlos De Maine null at kde.org
Wed Jun 5 15:25:27 BST 2024


Git commit 60e4af1949d9fa7025698054b8ab60c4faf6ecc4 by Carlos De Maine.
Committed on 05/06/2024 at 14:24.
Pushed by carlosdem into branch 'Neon/unstable_jammy'.

initial import from ubuntu

A  +46   -0    debian/changelog
A  +138  -0    debian/control
A  +60   -0    debian/copyright
A  +17   -0    debian/gbp.conf
A  +3    -0    debian/libei-dev.install
A  +6    -0    debian/libei-tests.install
A  +1    -0    debian/libei1.install
A  +3    -0    debian/libeis-dev.install
A  +1    -0    debian/libeis1.install
A  +3    -0    debian/liboeffis-dev.install
A  +1    -0    debian/liboeffis1.install
A  +19   -0    debian/patches/disable_sigalrm_tests.patch
A  +1    -0    debian/patches/series
A  +23   -0    debian/rules
A  +1    -0    debian/source/format
A  +32   -0    debian/tests/build-libei
A  +32   -0    debian/tests/build-libeis
A  +32   -0    debian/tests/build-liboeffis
A  +11   -0    debian/tests/control
A  +7    -0    debian/tests/upstream-tests
A  +5    -0    debian/upstream/metadata
A  +5    -0    debian/watch

https://invent.kde.org/neon/backports-jammy/libei/-/commit/60e4af1949d9fa7025698054b8ab60c4faf6ecc4

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..270d978
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,46 @@
+libei (1.2.1-1) unstable; urgency=medium
+
+  * New upstream release
+
+ -- Jeremy Bícha <jbicha at ubuntu.com>  Mon, 01 Apr 2024 16:55:38 -0400
+
+libei (1.2.0-2) unstable; urgency=medium
+
+  * debian/patches/disable_sigalrm_tests.patch:
+    - disable the sigalrm tests for now as suggested by upstream,
+      the tests didn't exist before so it's not a regression
+
+ -- Sebastien Bacher <seb128 at ubuntu.com>  Mon, 29 Jan 2024 16:30:09 +0100
+
+libei (1.2.0-1) unstable; urgency=medium
+
+  * New upstream release
+  * debian/*.symbols: Add new symbols
+
+ -- Jeremy Bícha <jbicha at ubuntu.com>  Tue, 05 Dec 2023 19:04:23 -0500
+
+libei (1.1.0-1) unstable; urgency=medium
+
+  * New upstream release
+
+ -- Jeremy Bícha <jbicha at ubuntu.com>  Sat, 23 Sep 2023 12:45:49 -0400
+
+libei (1.0.901-3) unstable; urgency=medium
+
+  * debian/tests/control: Depend on valgrind-if-available instead of valgrind
+  * Extend dh_auto_test timeout
+
+ -- Jeremy Bícha <jbicha at ubuntu.com>  Sat, 23 Sep 2023 12:42:45 -0400
+
+libei (1.0.901-2) unstable; urgency=medium
+
+  * debian/copyright: Add copyright for debian/* per ftpmaster request
+  * Release to unstable
+
+ -- Jeremy Bícha <jbicha at ubuntu.com>  Sun, 10 Sep 2023 15:20:07 -0400
+
+libei (1.0.901-1) experimental; urgency=medium
+
+  * Initial release (Closes: #1050241, LP: #2031115)
+
+ -- Jeremy Bícha <jbicha at ubuntu.com>  Wed, 06 Sep 2023 16:50:41 -0400
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..b2435c0
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,138 @@
+Source: libei
+Section: x11
+Priority: optional
+Maintainer: Debian X Strike Force <debian-x at lists.debian.org>
+Uploaders: Jeremy Bícha <jbicha at ubuntu.com>
+Build-Depends:
+ debhelper-compat (= 13),
+ black,
+ libevdev-dev,
+ libsystemd-dev,
+ libxkbcommon-dev,
+ meson,
+ pkg-config,
+ python3-attr,
+ python3-dbusmock,
+ python3-jinja2,
+ python3-pytest,
+ python3-structlog,
+ python3-yaml
+Standards-Version: 4.6.2
+Rules-Requires-Root: no
+Homepage: https://gitlab.freedesktop.org/libinput/libei
+Vcs-Git: https://salsa.debian.org/xorg-team/lib/libei.git
+Vcs-Browser: https://salsa.debian.org/xorg-team/lib/libei
+
+Package: libei1
+Section: libs
+Architecture: any
+Multi-Arch: same
+Depends:
+ ${shlibs:Depends},
+ ${misc:Depends},
+Description: Emulated Input client library
+ libei is a library for Emulated Input, primarily aimed at the Wayland
+ stack. It provides three parts:
+  - EI (Emulated Input) for the client side (libei)
+  - EIS (Emulated Input Server) for the server side (libeis)
+  - oeffis for D-Bus communication with the XDG RemoteDesktop portal
+ .
+ This package provides the Emulated Input client library.
+
+Package: libeis1
+Section: libs
+Architecture: any
+Multi-Arch: same
+Depends:
+ ${shlibs:Depends},
+ ${misc:Depends},
+Description: Emulated Input server library
+ libei is a library for Emulated Input, primarily aimed at the Wayland
+ stack. It provides three parts:
+  - EI (Emulated Input) for the client side (libei)
+  - EIS (Emulated Input Server) for the server side (libeis)
+  - oeffis for D-Bus communication with the XDG RemoteDesktop portal
+ .
+ This package provides the Emulated Input Server library.
+
+Package: liboeffis1
+Section: libs
+Architecture: any
+Multi-Arch: same
+Depends:
+ ${shlibs:Depends},
+ ${misc:Depends},
+Description: RemoteDesktop portal DBus helper library
+ libei is a library for Emulated Input, primarily aimed at the Wayland
+ stack. It provides three parts:
+  - EI (Emulated Input) for the client side (libei)
+  - EIS (Emulated Input Server) for the server side (libeis)
+  - oeffis for D-Bus communication with the XDG RemoteDesktop portal
+ .
+ This package provides the D-Bus XDG RemoteDesktop portal helper library.
+
+Package: libei-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Depends:
+ ${misc:Depends},
+ libei1 (= ${binary:Version}),
+Description: Emulated Input client library (development headers)
+ libei is a library for Emulated Input, primarily aimed at the Wayland
+ stack. It provides three parts:
+  - EI (Emulated Input) for the client side (libei)
+  - EIS (Emulated Input Server) for the server side (libeis)
+  - oeffis for D-Bus communication with the XDG RemoteDesktop portal
+ .
+ This package provides development headers for the Emulated Input client
+ library.
+
+Package: libeis-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Depends:
+ ${misc:Depends},
+ libeis1 (= ${binary:Version}),
+Description: Emulated Input server library (development headers)
+ libei is a library for Emulated Input, primarily aimed at the Wayland
+ stack. It provides three parts:
+  - EI (Emulated Input) for the client side (libei)
+  - EIS (Emulated Input Server) for the server side (libeis)
+  - oeffis for D-Bus communication with the XDG RemoteDesktop portal
+ .
+ This package provides development headers for the Emulated Input Server
+ library.
+
+Package: liboeffis-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Depends:
+ ${misc:Depends},
+ liboeffis1 (= ${binary:Version}),
+ libsystemd-dev,
+Description: RemoteDesktop portal DBus helper library (development headers)
+ libei is a library for Emulated Input, primarily aimed at the Wayland
+ stack. It provides three parts:
+  - EI (Emulated Input) for the client side (libei)
+  - EIS (Emulated Input Server) for the server side (libeis)
+  - oeffis for D-Bus communication with the XDG RemoteDesktop portal
+ .
+ This package provides development headers for the D-Bus XDG RemoteDesktop
+ portal helper library.
+
+Package: libei-tests
+Architecture: any
+Depends:
+ ${shlibs:Depends},
+ ${misc:Depends},
+Description: Emulated Input client library - installed tests
+ libei is a library for Emulated Input, primarily aimed at the Wayland
+ stack. It provides three parts:
+  - EI (Emulated Input) for the client side (libei)
+  - EIS (Emulated Input Server) for the server side (libeis)
+  - oeffis for D-Bus communication with the XDG RemoteDesktop portal
+ .
+ This package includes tests to be used on the installed system.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..a0f654e
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,60 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: libei
+Source: https://gitlab.freedesktop.org/libinput/libei
+
+Files: *
+Copyright: 2020-2023 Red Hat
+License: Expat
+
+Files: debian/*
+Copyright: 2023 Canonical Ltd
+License: Expat
+
+Files: munit/*
+Copyright: 2013-2018 Evan Nemerson
+License: Expat
+
+Files: doc/api/doxygen-awesome.css
+Copyright: 2021 jothepro
+License: Expat
+Comment: Doxygen Awesome from https://github.com/jothepro/doxygen-awesome-css
+
+Files: proto/protocol.xml
+Copyright: 2008-2011 Kristian Høgsberg
+           2010-2011 Intel Corporation
+           2012-2013 Collabora, Ltd.
+           2023 Red Hat, Inc.
+License: Expat
+
+Files: src/util-strings.*
+Copyright: 2008 Kristian Høgsberg
+           2013-2015 Red Hat, Inc.
+License: Expat
+
+Files: src/util-bits.h
+       src/util-list.*
+       src/util-macros.h
+Copyright: 2008-2011 Kristian Høgsberg
+           2011 Intel Corporation
+           2013-2015 Red Hat, Inc.
+License: Expat
+
+License: Expat
+ 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 (including the next
+ paragraph) 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.
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..a7e6e3f
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,17 @@
+[DEFAULT]
+pristine-tar = True
+debian-branch = debian-unstable
+upstream-branch = upstream-unstable
+components=munit
+
+[buildpackage]
+sign-tags = True
+
+[dch]
+multimaint-merge = True
+
+[import-orig]
+upstream-vcs-tag = %(version%~%.)s
+
+[pq]
+patch-numbers = False
diff --git a/debian/libei-dev.install b/debian/libei-dev.install
new file mode 100644
index 0000000..b17f0ec
--- /dev/null
+++ b/debian/libei-dev.install
@@ -0,0 +1,3 @@
+usr/lib/*/libei.so
+usr/lib/*/pkgconfig/libei-1.0.pc
+usr/include/libei-1.0/libei.h
diff --git a/debian/libei-tests.install b/debian/libei-tests.install
new file mode 100644
index 0000000..8e205b9
--- /dev/null
+++ b/debian/libei-tests.install
@@ -0,0 +1,6 @@
+usr/lib/*/libmunit.so usr/libexec/libei
+obj-*/test/eierpecken usr/libexec/libei/tests
+obj-*/test/unit-tests-ei usr/libexec/libei/tests
+obj-*/test/unit-tests-eis usr/libexec/libei/tests
+obj-*/test/unit-tests-oeffis usr/libexec/libei/tests
+obj-*/test/unit-tests-utils usr/libexec/libei/tests
diff --git a/debian/libei1.install b/debian/libei1.install
new file mode 100644
index 0000000..fb8672f
--- /dev/null
+++ b/debian/libei1.install
@@ -0,0 +1 @@
+usr/lib/*/libei.so.1*
diff --git a/debian/libeis-dev.install b/debian/libeis-dev.install
new file mode 100644
index 0000000..d3b7bbc
--- /dev/null
+++ b/debian/libeis-dev.install
@@ -0,0 +1,3 @@
+usr/lib/*/libeis.so
+usr/lib/*/pkgconfig/libeis-1.0.pc
+usr/include/libei-1.0/libeis.h
diff --git a/debian/libeis1.install b/debian/libeis1.install
new file mode 100644
index 0000000..d1f0894
--- /dev/null
+++ b/debian/libeis1.install
@@ -0,0 +1 @@
+usr/lib/*/libeis.so.1*
diff --git a/debian/liboeffis-dev.install b/debian/liboeffis-dev.install
new file mode 100644
index 0000000..847790f
--- /dev/null
+++ b/debian/liboeffis-dev.install
@@ -0,0 +1,3 @@
+usr/lib/*/liboeffis.so
+usr/lib/*/pkgconfig/liboeffis-1.0.pc
+usr/include/libei-1.0/liboeffis.h
diff --git a/debian/liboeffis1.install b/debian/liboeffis1.install
new file mode 100644
index 0000000..ebba90c
--- /dev/null
+++ b/debian/liboeffis1.install
@@ -0,0 +1 @@
+usr/lib/*/liboeffis.so.1*
diff --git a/debian/patches/disable_sigalrm_tests.patch b/debian/patches/disable_sigalrm_tests.patch
new file mode 100644
index 0000000..008faa9
--- /dev/null
+++ b/debian/patches/disable_sigalrm_tests.patch
@@ -0,0 +1,19 @@
+# Description: disable the sigalrm tests for now as suggested by upstream,
+# the tests didn't exist before so it's not a regression
+# Upstream: https://gitlab.freedesktop.org/libinput/libei/-/issues/50
+Index: libei-1.2.0/test/meson.build
+===================================================================
+--- libei-1.2.0.orig/test/meson.build	2024-01-29 16:53:23.260183702 +0100
++++ libei-1.2.0/test/meson.build	2024-01-29 16:53:23.256183755 +0100
+@@ -73,11 +73,6 @@
+                         include_directories: [inc_builddir],
+                         dependencies: [dep_unittest, dep_libei, dep_libeis])
+ 
+-test('eierpecken',
+-    eierpecken,
+-    args: ['--log-visible', 'debug', '--enable-sigalarm'],
+-    suite: 'sigalrm')
+-
+ test('eierpecken-no-sigalrm',
+     eierpecken,
+     args: ['--log-visible', 'debug'],
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..7ef205e
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+disable_sigalrm_tests.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..886381d
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,23 @@
+#!/usr/bin/make -f
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs
+export DPKG_GENSYMBOLS_CHECK_LEVEL = 4
+
+%:
+	dh $@
+
+override_dh_auto_clean:
+	rm -f subprojects/munit
+
+override_dh_auto_test:
+	dh_auto_test -- --timeout-multiplier 2
+
+override_dh_auto_configure:
+	ln -s ../munit subprojects/
+	dh_auto_configure -- \
+		-Dauto_features=enabled \
+		-Dsd-bus-provider=libsystemd
+
+override_dh_missing:
+	dh_missing -Xusr/bin/ei-debug-events
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/tests/build-libei b/debian/tests/build-libei
new file mode 100755
index 0000000..a246fea
--- /dev/null
+++ b/debian/tests/build-libei
@@ -0,0 +1,32 @@
+#!/bin/sh
+
+set -e
+
+WORKDIR=$AUTOPKGTEST_TMP
+trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
+
+cd $WORKDIR
+
+if [ -n "${DEB_HOST_GNU_TYPE:-}" ]; then
+    CROSS_COMPILE="$DEB_HOST_GNU_TYPE-"
+else
+    CROSS_COMPILE=
+fi
+
+cat <<EOF > libei-build.c
+#include <libei.h>
+
+int main()
+{
+    struct ei *ei = ei_new_receiver(NULL);
+    ei_unref(ei);
+
+	return 0;
+}
+EOF
+
+${CROSS_COMPILE}gcc -Wall -Werror -o libei-build libei-build.c `${CROSS_COMPILE}pkg-config --cflags --libs libei-1.0`
+echo "libei build: OK"
+[ -x libei-build ]
+./libei-build
+echo "libei run: OK"
diff --git a/debian/tests/build-libeis b/debian/tests/build-libeis
new file mode 100755
index 0000000..4d70b88
--- /dev/null
+++ b/debian/tests/build-libeis
@@ -0,0 +1,32 @@
+#!/bin/sh
+
+set -e
+
+WORKDIR=$AUTOPKGTEST_TMP
+trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
+
+cd $WORKDIR
+
+if [ -n "${DEB_HOST_GNU_TYPE:-}" ]; then
+    CROSS_COMPILE="$DEB_HOST_GNU_TYPE-"
+else
+    CROSS_COMPILE=
+fi
+
+cat <<EOF > libeis-build.c
+#include <libeis.h>
+
+int main()
+{
+    struct eis *eis = eis_new(NULL);
+    eis_unref(eis);
+
+	return 0;
+}
+EOF
+
+${CROSS_COMPILE}gcc -Wall -Werror -o libeis-build libeis-build.c `${CROSS_COMPILE}pkg-config --cflags --libs libeis-1.0`
+echo "libeis build: OK"
+[ -x libeis-build ]
+./libeis-build
+echo "libeis run: OK"
diff --git a/debian/tests/build-liboeffis b/debian/tests/build-liboeffis
new file mode 100755
index 0000000..9a1b1de
--- /dev/null
+++ b/debian/tests/build-liboeffis
@@ -0,0 +1,32 @@
+#!/bin/sh
+
+set -e
+
+WORKDIR=$AUTOPKGTEST_TMP
+trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
+
+cd $WORKDIR
+
+if [ -n "${DEB_HOST_GNU_TYPE:-}" ]; then
+    CROSS_COMPILE="$DEB_HOST_GNU_TYPE-"
+else
+    CROSS_COMPILE=
+fi
+
+cat <<EOF > liboeffis-build.c
+#include <liboeffis.h>
+
+int main()
+{
+    struct oeffis *oeffis = oeffis_new(NULL);
+    oeffis_unref(oeffis);
+
+	return 0;
+}
+EOF
+
+${CROSS_COMPILE}gcc -Wall -Werror -o liboeffis-build liboeffis-build.c `${CROSS_COMPILE}pkg-config --cflags --libs liboeffis-1.0`
+echo "liboeffis build: OK"
+[ -x liboeffis-build ]
+./liboeffis-build
+echo "liboeffis run: OK"
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..4f5f8c7
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,11 @@
+Tests: build-libei
+Depends: build-essential, libei-dev, pkg-config
+
+Tests: build-libeis
+Depends: build-essential, libeis-dev, pkg-config
+
+Tests: build-liboeffis
+Depends: build-essential, liboeffis-dev, pkg-config
+
+Tests: upstream-tests
+Depends: @, valgrind-if-available
diff --git a/debian/tests/upstream-tests b/debian/tests/upstream-tests
new file mode 100755
index 0000000..5f16fd5
--- /dev/null
+++ b/debian/tests/upstream-tests
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set -e
+
+for tst in /usr/libexec/libei/tests/*; do
+    LD_LIBRARY_PATH=/usr/libexec/libei/:$LD_LIBRARY_PATH $tst
+done
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..451a5a7
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://gitlab.freedesktop.org/libinput/libei/-/issues
+Bug-Submit: https://gitlab.freedesktop.org/libinput/libei/-/issues/new
+Repository: https://gitlab.freedesktop.org/libinput/libei.git
+Repository-Browse: https://gitlab.freedesktop.org/libinput/libei
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..3d0bd17
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,5 @@
+version=4
+https://gitlab.freedesktop.org/libinput/libei/-/tags?sort=updated_desc archive/@ANY_VERSION@/libei-\d\S*.gz
+
+opts="component=munit,mode=git,compression=gz" \
+ https://github.com/nemequ/munit.git HEAD same


More information about the Neon-commits mailing list