Initial commit

Signed-off-by: Guido Günther <agx@sigxcpu.org>
This commit is contained in:
Guido Günther
2020-02-14 17:40:34 +01:00
commit 3663b7d149
83 changed files with 8059 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
This package is maintained with git-buildpackage(1). It follows DEP-14
for branch naming (e.g. using debian/sid for the current version
in Debian unstable).
It uses pristine-tar(1) to store enough information in git to generate
bit identical tarballs when building the package without having
downloaded an upstream tarball first.
When working with patches it is recommended to use "gbp pq import" to
import the patches, modify the source and then use "gbp pq export
--commit" to commit the modifications.
The changelog is generated using "gbp dch" so if you submit any
changes don't bother to add changelog entries but rather provide
a nice git commit message that can then end up in the changelog.
It is recommended to build the package with pbuilder using:
gbp buildpackage --git-pbuilder
For information on how to set up a pbuilder environment see the
git-pbuilder(1) manpage. In short:
DIST=sid git-pbuilder create
gbp clone <project-url>
cd <project>
gbp buildpackage --git-pbuilder
-- Guido Günther <agx@sigxcpu.org>, Wed, 2 Dec 2015 18:51:15 +0100
+5
View File
@@ -0,0 +1,5 @@
feedbackd (0.0.0+git20200214) amber-phone; urgency=medium
* Initial git snapshot
-- Guido Günther <agx@sigxcpu.org> Wed, 16 Oct 2019 21:22:33 +0200
+74
View File
@@ -0,0 +1,74 @@
Source: feedbackd
Section: x11
Priority: optional
Maintainer: Guido Günther <agx@sigxcpu.org>
Build-Depends:
dbus,
debhelper-compat (= 12),
dh-sequence-gir,
gtk-doc-tools,
libgirepository1.0-dev,
libglib2.0-dev,
libgudev-1.0-dev (>= 232),
libgsound-dev,
libjson-glib-dev,
meson,
pkg-config,
valac,
Standards-Version: 4.4.0
Homepage: https://source.puri.sm/Librem5/feedbackd
Package: feedbackd
Architecture: any
Depends:
${misc:Depends},
${shlibs:Depends},
sound-theme-freedesktop,
Description: DBus service for haptic/visual/audio feedback
Feedbackd is a DBus activated daemon that provides haptic/
visual/audio feedback based on events.
.
This package contains the daemon.
Package: libfeedback-0.0-0
Architecture: any
Section: libs
Depends:
${misc:Depends},
${shlibs:Depends},
Description: DBus service for haptic/visual/audio feedback
Feedbackd is a DBus activated daemon that provides haptic/
visual/audio feedback based on events.
.
This package contains the shared libraries for applications interfacing with
Feedbackd and the API documentation.
Package: libfeedback-dev
Architecture: any
Section: libdevel
Depends:
gir1.2-feedback-0.0 (= ${binary:Version}),
libfeedback-0.0-0 (= ${binary:Version}),
libglib2.0-dev,
${misc:Depends},
${shlibs:Depends},
Description: DBus service for haptic/visual/audio feedback
Feedbackd is a DBus activated daemon that provides haptic/
visual/audio feedback based on events.
.
This package contains development files and Vala bindings to use when writing
applications that interface with GThd.
Package: gir1.2-feedback-0.0
Architecture: any
Section: introspection
Depends:
${gir:Depends},
${misc:Depends},
${shlibs:Depends},
Description: GObject introspection data for libfeedback
Feedbackd is a DBus activated daemon that provides haptic/
visual/audio feedback based on events.
.
This package contains introspection data for the libfeedback library.
+41
View File
@@ -0,0 +1,41 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: feedbackd
Source: https://source.puri.sm/Librem5/feedbackd
Files: *
Copyright: 2020 Purism SPC
License: GPL-3+
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>
.
On Debian systems, the complete text of the GNU General
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
Files: libfeedback/*
Copyright: 2020 Purism SPC
License: LGPL-2.1+
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>
.
On Debian systems, the complete text of the GNU Lesser General
Public License version 3 can be found in "/usr/share/common-licenses/LGPL-2.1".
+5
View File
@@ -0,0 +1,5 @@
/usr/bin/
/usr/libexec/
/usr/share/dbus-1/
/usr/share/feedbackd/
/usr/share/glib-2.0/schemas
+9
View File
@@ -0,0 +1,9 @@
# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of feedbackd.
ACTION=="remove", GOTO="feedbackd_end"
SUBSYSTEM=="input", KERNEL=="event*", ENV{ID_INPUT}=="1", ENV{ID_PATH}=="platform-vibrator", TAG+="uaccess", ENV{FEEDBACKD_TYPE}="vibra"
LABEL="feedbackd_end"
+4
View File
@@ -0,0 +1,4 @@
[DEFAULT]
debian-branch = master
debian-tag = v%(version)s
debian-tag-msg = %(pkg)s v%(version)s
+1
View File
@@ -0,0 +1 @@
/usr/lib/*/girepository-1.0
+1
View File
@@ -0,0 +1 @@
/usr/lib/*/libfeedback-*.so.0
+6
View File
@@ -0,0 +1,6 @@
/usr/include
/usr/share/gir-1.0/
/usr/share/gtk-doc/
/usr/share/vala/
/usr/lib/*/libfeedback-*.so
/usr/lib/*/pkgconfig/libfeedback-*.pc
Vendored Executable
+18
View File
@@ -0,0 +1,18 @@
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh $@ --builddirectory=_build
override_dh_auto_configure:
dh_auto_configure -- -Dgtk_doc=true
override_dh_installudev:
# Make sure all the symlink rules in 60 ran:
dh_installudev --priority=90
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
dbus-run-session ninja -C _build test
endif
+1
View File
@@ -0,0 +1 @@
3.0 (native)
Vendored Executable
+9
View File
@@ -0,0 +1,9 @@
#!/usr/bin/make -f
CFLAGS=$(shell pkg-config --cflags libfeedback-0.0)
LIBS=$(shell pkg-config --libs libfeedback-0.0)
a.out: debian/tests/build-test.c
gcc $(CFLAGS) $< $(LIBS)
@echo "Build test of $< succeeded"
@rm -f a.out
+9
View File
@@ -0,0 +1,9 @@
#define LIBFEEDBACK_USE_UNSTABLE_API
#include <libfeedback.h>
int
main (int argc,
char **argv)
{
lfb_init("org.sigxcpu.autopkgtest1", NULL);
}
+13
View File
@@ -0,0 +1,13 @@
Tests: build-test
Depends:
build-essential,
libfeedback-dev,
pkg-config,
Restrictions: allow-stderr, superficial
Test-Command: python3 -c 'import gi; from gi.repository import Lfb'
Depends:
gir1.2-feedback-0.0,
python3,
python3-gi,
Restrictions: allow-stderr, superficial