diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..59c5305 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +eos-parental-controls (0) UNRELEASED; urgency=low + + * Initial release (Closes: T23859) + + -- Philip Withnall Fri, 05 Oct 2018 23:36:00 +0100 \ No newline at end of file diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..9a03714 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +10 \ No newline at end of file diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..0298290 --- /dev/null +++ b/debian/control @@ -0,0 +1,94 @@ +Source: eos-parental-controls +Section: misc +Priority: optional +Maintainer: Philip Withnall +Standards-Version: 4.1.2 +Build-Depends: + debhelper (>= 10), + gir1.2-glib-2.0, + gobject-introspection (>= 1.30.0), + gtk-doc-tools, + libaccountsservice-dev, + libdbus-1-dev, + libgirepository1.0-dev (>= 1.30.0), + libglib2.0-dev (>= 2.54.2), + meson, + policykit-1, + python3-gi, + +Package: eos-parental-controls-data +Section: misc +Architecture: all +Depends: + accountsservice, + policykit-1, + ${misc:Depends}, +Description: Parental Controls - architecture independent files + This package contains the architecture-independent data files. + +Package: eos-parental-controls-tools +Section: misc +Architecture: any +Multi-arch: same +Depends: + eos-parental-controls-data (= ${source:Version}), + gir1.2-eos-parental-controls-0, + gir1.2-glib-2.0, + python3, + python3-gi, + ${misc:Depends}, +Description: Parental Controls Tools + This package contains tools for querying and updating the parental controls + settings for users. + +Package: gir1.2-eos-parental-controls-0 +Section: introspection +Architecture: any +Multi-arch: same +Depends: + ${gir:Depends}, + ${misc:Depends}, +Description: Parental Controls Library - introspection bindings + This package contains a library for accessing the parental controls settings + for users. + . + This package contains a machine-readable API description for + libeos-parental-controls for use by the client tools and other clients. + +Package: libeos-parental-controls-0 +Section: misc +Architecture: any +Depends: + eos-parental-controls-data (= ${source:Version}), + ${misc:Depends}, + ${shlibs:Depends}, +Description: Parental Controls Library + This package contains a library for accessing the parental controls settings + for users. + +Package: libeos-parental-controls-0-dev +Section: libdevel +Architecture: any +Multi-arch: same +Depends: + libglib2.0-dev, + libeos-parental-controls-0 (= ${binary:Version}), + ${misc:Depends}, +Description: Parental Controls Library - library development + This package contains a library for accessing the parental controls settings + for users. + . + This package contains development files for clients. + +Package: libeos-parental-controls-0-tests +Section: misc +Architecture: any +Depends: + ${misc:Depends}, + ${shlibs:Depends}, +Description: Parental Controls Library - tests + This package contains a library for accessing the parental controls settings + for users. + . + This package contains unit tests for the client APIs used to access the + parental controls. \ No newline at end of file diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..509708a --- /dev/null +++ b/debian/copyright @@ -0,0 +1,20 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: eos-parental-controls +Upstream-Contact: Philip Withnall +Source: github.com/endlessm/eos-parental-controls +Disclaimer: Not part of the Debian distribution. +Copyright: Copyright 2018 Endless Mobile, Inc. +License: LGPL-2.1+ + This library 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 2.1 of the License, or (at your option) any later version. + . + This library 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 library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA \ No newline at end of file diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..100b938 --- /dev/null +++ b/debian/docs @@ -0,0 +1 @@ +README \ No newline at end of file diff --git a/debian/eos-parental-controls-data.install b/debian/eos-parental-controls-data.install new file mode 100644 index 0000000..72e2d3b --- /dev/null +++ b/debian/eos-parental-controls-data.install @@ -0,0 +1,3 @@ +usr/share/accountsservice/interfaces/com.endlessm.ParentalControls.AppFilter.xml +usr/share/dbus-1/interfaces/com.endlessm.ParentalControls.AppFilter.xml +usr/share/polkit-1/actions/com.endlessm.ParentalControls.policy \ No newline at end of file diff --git a/debian/eos-parental-controls-tools.install b/debian/eos-parental-controls-tools.install new file mode 100644 index 0000000..98f2016 --- /dev/null +++ b/debian/eos-parental-controls-tools.install @@ -0,0 +1,2 @@ +usr/bin/eos-parental-controls-client +usr/share/man/man8/eos-parental-controls-client.8* \ No newline at end of file diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..e309e54 --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,6 @@ +[DEFAULT] +debian-tag = Version_%(version)s +debian-branch = master + +[dch] +ignore-branch = True \ No newline at end of file diff --git a/debian/gir1.2-eos-parental-controls-0.install b/debian/gir1.2-eos-parental-controls-0.install new file mode 100644 index 0000000..5886c61 --- /dev/null +++ b/debian/gir1.2-eos-parental-controls-0.install @@ -0,0 +1 @@ +usr/lib/*/girepository-1.0/EosParentalControls-0.* \ No newline at end of file diff --git a/debian/libeos-parental-controls-0-dev.install b/debian/libeos-parental-controls-0-dev.install new file mode 100644 index 0000000..0cfb211 --- /dev/null +++ b/debian/libeos-parental-controls-0-dev.install @@ -0,0 +1,3 @@ +usr/include/eos-parental-controls-0 +usr/lib/*/pkgconfig/eos-parental-controls-0.pc +usr/share/gir-1.0/EosParentalControls-0.gir \ No newline at end of file diff --git a/debian/libeos-parental-controls-0-tests.install b/debian/libeos-parental-controls-0-tests.install new file mode 100644 index 0000000..8a1f430 --- /dev/null +++ b/debian/libeos-parental-controls-0-tests.install @@ -0,0 +1,2 @@ +usr/lib/*/installed-tests/libeos-parental-controls-0 +usr/share/installed-tests/libeos-parental-controls-0 \ No newline at end of file diff --git a/debian/libeos-parental-controls-0.install b/debian/libeos-parental-controls-0.install new file mode 100644 index 0000000..17c57b9 --- /dev/null +++ b/debian/libeos-parental-controls-0.install @@ -0,0 +1 @@ +usr/lib/*/libeos-parental-controls-0.so* \ No newline at end of file diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..fa026c7 --- /dev/null +++ b/debian/rules @@ -0,0 +1,17 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +export DEB_BUILD_MAINT_OPTIONS = hardening=+all +export LC_ALL=C.UTF-8 + +override_dh_auto_configure: + dh_auto_configure \ + -- \ + -Dinstalled_tests=true \ + $(NULL) + +override_dh_missing: + dh_missing --fail-missing + +%: + dh $@ --with gir --parallel diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..9f67427 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native) \ No newline at end of file diff --git a/debian/tests/control b/debian/tests/control new file mode 100644 index 0000000..1849372 --- /dev/null +++ b/debian/tests/control @@ -0,0 +1,4 @@ +Tests: gnome-desktop-testing +Depends: + gnome-desktop-testing, + libeos-parental-controls-0-tests, \ No newline at end of file diff --git a/debian/tests/gnome-desktop-testing b/debian/tests/gnome-desktop-testing new file mode 100644 index 0000000..f84116f --- /dev/null +++ b/debian/tests/gnome-desktop-testing @@ -0,0 +1,27 @@ +#!/bin/sh + +# Run the eos-parental-controls installed-tests which do not require root +# privileges. + +# Copyright © 2017, 2018 Endless Mobile, Inc. +# +# This library 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 2.1 of the License, or (at your option) any later version. +# +# This library 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 library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +set -e +exec 2>&1 + +exec gnome-desktop-testing-runner \ + libeos-parental-controls-0 \ + -- \ No newline at end of file