[neon/neon-packaging/kgeotag/Neon/release] debian: manually sync to ubuntu packaging

Jonathan Riddell null at kde.org
Wed Sep 4 12:14:38 BST 2024


Git commit 8f76698dd887916f5e41977e31739773feedcdd5 by Jonathan Riddell.
Committed on 04/09/2024 at 11:14.
Pushed by jriddell into branch 'Neon/release'.

manually sync to ubuntu packaging

A  +56   -0    debian/kgeotag-apparmor
A  +6    -0    debian/kgeotag.lintian-overrides
A  +11   -0    debian/salsa-ci.yml

https://invent.kde.org/neon/neon-packaging/kgeotag/-/commit/8f76698dd887916f5e41977e31739773feedcdd5

diff --git a/debian/kgeotag-apparmor b/debian/kgeotag-apparmor
new file mode 100644
index 0000000..75cf65d
--- /dev/null
+++ b/debian/kgeotag-apparmor
@@ -0,0 +1,56 @@
+# Copyright (C) 2024 Scarlett Moore
+# SPDX-License-Identifier: GPL-2.0-only
+# vim:syntax=apparmor
+# AppArmor policy for kgeotag
+
+abi <abi/4.0>,
+include <tunables/global>
+
+profile kgeotag /usr/bin/kgeotag {
+#  include <abstractions/kde>
+  include <abstractions/kde-globals-write>
+  include <abstractions/kde-icon-cache-write>
+  include <abstractions/kde-language-write>
+#  include <abstractions/kde-open5>
+  include <abstractions/qt5>
+  include <abstractions/qt5-compose-cache-write>
+  include <abstractions/qt5-settings-write>
+  include <abstractions/dbus-session>
+
+  capability,
+  userns,
+  network,
+  dbus,
+  mount,
+  umount,
+  remount,
+  signal,
+  mqueue,
+  unix,
+  ptrace,
+
+  /usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess cx -> &kgeotag//QtWebEngineProcess,
+  /usr/lib/aarch64-linux-gnu/qt5/libexec/QtWebEngineProcess cx -> &kgeotag//QtWebEngineProcess,
+  /usr/lib/arm-linux-gnueabihf/qt5/libexec/QtWebEngineProcess cx -> &kgeotag//QtWebEngineProcess,
+  /** pux,
+  /{,**} mrwlk,
+
+  profile QtWebEngineProcess {
+    capability,
+    userns,
+    network,
+    dbus,
+    mount,
+    umount,
+    remount,
+    signal,
+    mqueue,
+    unix,
+    ptrace,
+    /** pux,
+    /{,**} mrwlk,
+  }
+
+  # Site-specific additions and overrides.  See local/README for details.
+  include if exists <local/kgeotag>
+}
diff --git a/debian/kgeotag.lintian-overrides b/debian/kgeotag.lintian-overrides
new file mode 100644
index 0000000..0c436cf
--- /dev/null
+++ b/debian/kgeotag.lintian-overrides
@@ -0,0 +1,6 @@
+# kgeotag ships a DocBook file
+kgeotag: no-manual-page [usr/bin/kgeotag]
+# false positives by lintian
+kgeotag: script-not-executable [usr/share/applications/org.kde.kgeotag.desktop]
+# false positives by lintian
+kgeotag: unusual-interpreter xdg-open [usr/share/applications/org.kde.kgeotag.desktop]
diff --git a/debian/salsa-ci.yml b/debian/salsa-ci.yml
new file mode 100644
index 0000000..a6fb8bd
--- /dev/null
+++ b/debian/salsa-ci.yml
@@ -0,0 +1,11 @@
+# For more information on what jobs are run see:
+# https://salsa.debian.org/salsa-ci-team/pipeline
+#
+# To enable the jobs, go to your repository (at salsa.debian.org)
+# and click over Settings > CI/CD > Expand (in General pipelines).
+# In "CI/CD configuration file" write debian/salsa-ci.yml and click
+# in "Save Changes". The CI tests will run after the next commit.
+---
+include:
+  - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
+  - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml


More information about the Neon-commits mailing list