summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Bacher <[email protected]>2023-06-08 09:31:11 +0200
committergit-ubuntu importer <[email protected]>2023-06-08 07:35:10 +0000
commit4e8a035f1ec91e13fca9c1430cfca2b93acd3751 (patch)
tree7c58fe1766357ca89c3a1ccefe4177a68923c125
parent4d9d5a3b4706fd95b1d805868ed2dd400252f65b (diff)
Imported using git-ubuntu import.
Notes
Notes: * Include a .rules compatible with the new polkit versions * Update the packaging to the current version, remove old code to clean a conffile which isn't needed anymore * debian/rules: - Updated the logo version for the new serie (lp: #1997999)
-rw-r--r--debian/01-unity-greeter.rules67
-rw-r--r--debian/changelog10
-rw-r--r--debian/compat1
-rw-r--r--debian/control4
-rw-r--r--debian/install1
-rw-r--r--debian/maintscript1
-rwxr-xr-xdebian/rules4
-rw-r--r--po/af.po6
-rw-r--r--po/am.po6
-rw-r--r--po/an.po6
-rw-r--r--po/ar.po6
-rw-r--r--po/ast.po6
-rw-r--r--po/az.po6
-rw-r--r--po/be.po6
-rw-r--r--po/bem.po6
-rw-r--r--po/bg.po6
-rw-r--r--po/bn.po36
-rw-r--r--po/bo.po6
-rw-r--r--po/br.po6
-rw-r--r--po/bs.po6
-rw-r--r--po/ca.po6
-rw-r--r--po/[email protected]6
-rw-r--r--po/ce.po6
-rw-r--r--po/ceb.po6
-rw-r--r--po/ckb.po6
-rw-r--r--po/co.po6
-rw-r--r--po/crh.po6
-rw-r--r--po/cs.po6
-rw-r--r--po/cv.po6
-rw-r--r--po/cy.po6
-rw-r--r--po/da.po6
-rw-r--r--po/de.po6
-rw-r--r--po/el.po6
-rw-r--r--po/en_AU.po8
-rw-r--r--po/en_CA.po8
-rw-r--r--po/en_GB.po6
-rw-r--r--po/eo.po6
-rw-r--r--po/es.po8
-rw-r--r--po/et.po6
-rw-r--r--po/eu.po6
-rw-r--r--po/fa.po6
-rw-r--r--po/fi.po6
-rw-r--r--po/fil.po6
-rw-r--r--po/fo.po6
-rw-r--r--po/fr.po6
-rw-r--r--po/fr_CA.po6
-rw-r--r--po/frp.po6
-rw-r--r--po/fy.po6
-rw-r--r--po/ga.po6
-rw-r--r--po/gd.po6
-rw-r--r--po/gl.po6
-rw-r--r--po/gu.po6
-rw-r--r--po/he.po6
-rw-r--r--po/hi.po6
-rw-r--r--po/hr.po6
-rw-r--r--po/ht.po6
-rw-r--r--po/hu.po6
-rw-r--r--po/hy.po6
-rw-r--r--po/ia.po6
-rw-r--r--po/id.po6
-rw-r--r--po/is.po6
-rw-r--r--po/it.po6
-rw-r--r--po/ja.po6
-rw-r--r--po/ka.po6
-rw-r--r--po/kab.po6
-rw-r--r--po/kk.po6
-rw-r--r--po/kl.po6
-rw-r--r--po/km.po6
-rw-r--r--po/kn.po6
-rw-r--r--po/ko.po6
-rw-r--r--po/ku.po6
-rw-r--r--po/kw.po6
-rw-r--r--po/ky.po6
-rw-r--r--po/la.po6
-rw-r--r--po/lb.po6
-rw-r--r--po/ln.po6
-rw-r--r--po/lo.po6
-rw-r--r--po/lt.po6
-rw-r--r--po/lv.po6
-rw-r--r--po/mg.po6
-rw-r--r--po/mhr.po6
-rw-r--r--po/mi.po6
-rw-r--r--po/mjw.po6
-rw-r--r--po/ml.po6
-rw-r--r--po/mnw.po6
-rw-r--r--po/mr.po6
-rw-r--r--po/ms.po6
-rw-r--r--po/my.po6
-rw-r--r--po/nb.po6
-rw-r--r--po/ne.po6
-rw-r--r--po/nl.po6
-rw-r--r--po/nn.po6
-rw-r--r--po/oc.po6
-rw-r--r--po/os.po6
-rw-r--r--po/pa.po6
-rw-r--r--po/pl.po6
-rw-r--r--po/ps.po6
-rw-r--r--po/pt.po6
-rw-r--r--po/pt_BR.po6
-rw-r--r--po/ro.po6
-rw-r--r--po/ru.po6
-rw-r--r--po/sa.po6
-rw-r--r--po/sc.po6
-rw-r--r--po/sd.po6
-rw-r--r--po/se.po6
-rw-r--r--po/shn.po6
-rw-r--r--po/si.po6
-rw-r--r--po/sk.po6
-rw-r--r--po/sl.po6
-rw-r--r--po/sq.po6
-rw-r--r--po/sr.po6
-rw-r--r--po/sv.po6
-rw-r--r--po/sw.po6
-rw-r--r--po/szl.po6
-rw-r--r--po/ta.po6
-rw-r--r--po/te.po6
-rw-r--r--po/tg.po6
-rw-r--r--po/th.po6
-rw-r--r--po/ti.po6
-rw-r--r--po/tr.po6
-rw-r--r--po/ug.po6
-rw-r--r--po/uk.po6
-rw-r--r--po/ur.po6
-rw-r--r--po/uz.po78
-rw-r--r--po/vec.po6
-rw-r--r--po/vi.po6
-rw-r--r--po/wae.po6
-rw-r--r--po/zh_CN.po6
-rw-r--r--po/zh_HK.po6
-rw-r--r--po/zh_TW.po6
130 files changed, 506 insertions, 428 deletions
diff --git a/debian/01-unity-greeter.rules b/debian/01-unity-greeter.rules
new file mode 100644
index 00000000..81754577
--- /dev/null
+++ b/debian/01-unity-greeter.rules
@@ -0,0 +1,67 @@
+// Disable Controlling of Network Devices
+polkit.addRule(function(action, subject) {
+ if (subject.user !== 'lightdm')
+ return undefined;
+
+ if (action.id == "org.freedesktop.NetworkManager.enable-disable-network" ||
+ action.id == "org.freedesktop.NetworkManager.enable-disable-wifi" ||
+ action.id == "org.freedesktop.NetworkManager.enable-disable-wwan" ||
+ action.id == "org.freedesktop.NetworkManager.enable-disable-wimax") {
+ return polkit.Result.NO;
+ }
+});
+
+// Disable Sleep and Wake
+polkit.addRule(function(action, subject) {
+ if (subject.user !== 'lightdm')
+ return undefined;
+
+ if (action.id == "org.freedesktop.NetworkManager.sleep-wake") {
+ return polkit.Result.NO;
+ }
+});
+
+// Disable WiFi Sharing
+polkit.addRule(function(action, subject) {
+ if (subject.user !== 'lightdm')
+ return undefined;
+
+ if ((action.id == "org.freedesktop.NetworkManager.wifi.share.protected" ||
+ action.id == "org.freedesktop.NetworkManager.wifi.share.open")) {
+ return polkit.Result.NO;
+ }
+});
+
+// Disable Settings Modifications
+polkit.addRule(function(action, subject) {
+ if (subject.user !== 'lightdm')
+ return undefined;
+
+ if (action.id == "org.freedesktop.NetworkManager.settings.modify.own" ||
+ action.id == "org.freedesktop.NetworkManager.settings.modify.system" ||
+ action.id == "org.freedesktop.NetworkManager.settings.modify.hostname") {
+ return polkit.Result.NO;
+ }
+});
+
+// Disable User Connections
+polkit.addRule(function(action, subject) {
+ if (subject.user !== 'lightdm')
+ return undefined;
+
+ if (action.id == "org.freedesktop.NetworkManager.use-user-connections") {
+ return polkit.Result.NO;
+ }
+});
+
+// Enable Controlling of Network Connections
+polkit.addRule(function(action, subject) {
+ if (subject.user !== 'lightdm')
+ return undefined;
+
+ if (action.id.match("org.freedesktop.NetworkManager.network-control") &&
+ subject.active == true) {
+ return polkit.Result.YES;
+ }
+});
+
diff --git a/debian/changelog b/debian/changelog
index e82915fd..b57a1900 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+unity-greeter (23.10.1-0ubuntu1) mantic; urgency=medium
+
+ * Include a .rules compatible with the new polkit versions
+ * Update the packaging to the current version, remove old code
+ to clean a conffile which isn't needed anymore
+ * debian/rules:
+ - Updated the logo version for the new serie (lp: #1997999)
+
+ -- Sebastien Bacher <[email protected]> Thu, 08 Jun 2023 09:31:11 +0200
+
unity-greeter (22.04.1-0ubuntu2) jammy; urgency=medium
* debian/control: Build-Depend on fonts-ubuntu instead of old package name
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index ec635144..00000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-9
diff --git a/debian/control b/debian/control
index 4c48845f..15f0bc5d 100644
--- a/debian/control
+++ b/debian/control
@@ -2,11 +2,11 @@ Source: unity-greeter
Section: x11
Priority: optional
Maintainer: Ubuntu Developers <[email protected]>
-Standards-Version: 3.9.8
+Standards-Version: 4.6.2.0
Build-Depends: appmenu-gtk3,
at-spi2-core,
dbus-x11,
- debhelper (>= 9),
+ debhelper-compat (= 13),
dh-autoreconf,
fonts-ubuntu,
gnome-common,
diff --git a/debian/install b/debian/install
index 82954962..0d712422 100644
--- a/debian/install
+++ b/debian/install
@@ -1,2 +1,3 @@
debian/unity-greeter.pkla /var/lib/polkit-1/localauthority/10-vendor.d/
+debian/01-unity-greeter.rules /usr/share/polkit-1/rules.d/
debian/50-unity-greeter.conf /usr/share/lightdm/lightdm.conf.d/
diff --git a/debian/maintscript b/debian/maintscript
deleted file mode 100644
index c2155e92..00000000
--- a/debian/maintscript
+++ /dev/null
@@ -1 +0,0 @@
-rm_conffile /etc/lightdm/lightdm.conf.d/50-unity-greeter.conf 14.04.1-0ubuntu1
diff --git a/debian/rules b/debian/rules
index 190e5444..c781a9ae 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,7 @@
LDFLAGS+=-Wl,--as-needed
%:
- dh $@ --with autoreconf --fail-missing
+ dh $@ --with autoreconf
override_dh_autoreconf:
NOCONFIGURE=1 dh_autoreconf ./autogen.sh
@@ -11,7 +11,7 @@ override_dh_autoreconf:
override_dh_auto_build:
dh_auto_build
- ./src/logo-generator --logo data/logo-bare.png --text ' 22.04' --output logo.png
+ ./src/logo-generator --logo data/logo-bare.png --text ' 23.10' --output logo.png
override_dh_auto_install:
dh_auto_install
diff --git a/po/af.po b/po/af.po
index 5ce4088a..c9fae64e 100644
--- a/po/af.po
+++ b/po/af.po
@@ -7,15 +7,15 @@ msgid ""
msgstr ""
"Project-Id-Version: unity-greeter\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
-"POT-Creation-Date: 2022-03-07 06:34+0000\n"
+"POT-Creation-Date: 2022-09-28 06:52+0000\n"
"PO-Revision-Date: 2012-09-03 07:47+0000\n"
"Last-Translator: Willem van der Colff <Unknown>\n"
"Language-Team: Afrikaans <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2022-03-08 06:27+0000\n"
-"X-Generator: Launchpad (build 61f4697954ab70d633d14d8ceecff69a20b08a6b)\n"
+"X-Launchpad-Export-Date: 2022-09-29 06:49+0000\n"
+"X-Generator: Launchpad (build 51d7c86a263563fbd9e884ec9127596444825394)\n"
#: ../src/greeter-list.vala:302
#, c-format
diff --git a/po/am.po b/po/am.po
index dd457264..b8e18f5a 100644
--- a/po/am.po
+++ b/po/am.po
@@ -7,15 +7,15 @@ msgid ""
msgstr ""
"Project-Id-Version: unity-greeter\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
-"POT-Creation-Date: 2022-03-07 06:34+0000\n"
+"POT-Creation-Date: 2022-09-28 06:52+0000\n"
"PO-Revision-Date: 2014-10-04 17:54+0000\n"
"Last-Translator: samson <Unknown>\n"
"Language-Team: Amharic <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2022-03-08 06:27+0000\n"
-"X-Generator: Launchpad (build 61f4697954ab70d633d14d8ceecff69a20b08a6b)\n"
+"X-Launchpad-Export-Date: 2022-09-29 06:49+0000\n"
+"X-Generator: Launchpad (build 51d7c86a263563fbd9e884ec9127596444825394)\n"
#: ../src/greeter-list.vala:302
#, c-format
diff --git a/po/an.po b/po/an.po
index 0a8487f6..91eb84e5 100644
--- a/po/an.po
+++ b/po/an.po
@@ -7,15 +7,15 @@ msgid ""
msgstr ""
"Project-Id-Version: unity-greeter\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
-"POT-Creation-Date: 2022-03-07 06:34+0000\n"
+"POT-Creation-Date: 2022-09-28 06:52+0000\n"
"PO-Revision-Date: 2012-01-24 16:14+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Aragonese <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2022-03-08 06:27+0000\n"
-"X-Generator: Launchpad (build 61f4697954ab70d633d14d8ceecff69a20b08a6b)\n"
+"X-Launchpad-Export-Date: 2022-09-29 06:49+0000\n"
+"X-Generator: Launchpad (build 51d7c86a263563fbd9e884ec9127596444825394)\n"
#: ../src/greeter-list.vala:302
#, c-format
diff --git a/po/ar.po b/po/ar.po
index e10b5add..57abd3d7 100644
--- a/po/ar.po
+++ b/po/ar.po
@@ -7,15 +7,15 @@ msgid ""
msgstr ""
"Project-Id-Version: unity-greeter\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
-"POT-Creation-Date: 2022-03-07 06:34+0000\n"
+"POT-Creation-Date: 2022-09-28 06:52+0000\n"
"PO-Revision-Date: 2012-01-24 16:14+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Arabic <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2022-03-08 06:27+0000\n"
-"X-Generator: Launchpad (build 61f4697954ab70d633d14d8ceecff69a20b08a6b)\n"
+"X-Launchpad-Export-Date: 2022-09-29 06:49+0000\n"
+"X-Generator: Launchpad (build 51d7c86a263563fbd9e884ec9127596444825394)\n"
#: ../src/greeter-list.vala:302
#, c-format
diff --git a/po/ast.po b/po/ast.po
index 2c9d7b9d..034a5793 100644
--- a/po/ast.po
+++ b/po/ast.po
@@ -7,15 +7,15 @@ msgid ""
msgstr ""
"Project-Id-Version: unity-greeter\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
-"POT-Creation-Date: 2022-03-07 06:34+0000\n"
+"POT-Creation-Date: 2022-09-28 06:52+0000\n"
"PO-Revision-Date: 2012-10-26 12:43+0000\n"
"Last-Translator: Xuacu Saturio <[email protected]>\n"
"Language-Team: Asturian <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2022-03-08 06:27+0000\n"
-"X-Generator: Launchpad (build 61f4697954ab70d633d14d8ceecff69a20b08a6b)\n"
+"X-Launchpad-Export-Date: 2022-09-29 06:49+0000\n"
+"X-Generator: Launchpad (build 51d7c86a263563fbd9e884ec9127596444825394)\n"
#: ../src/greeter-list.vala:302
#, c-format
diff --git a/po/az.po b/po/az.po
index d5618a71..4ac1f824 100644
--- a/po/az.po
+++ b/po/az.po
@@ -7,15 +7,15 @@ msgid ""
msgstr ""
"Project-Id-Version: unity-greeter\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
-"POT-Creation-Date: 2022-03-07 06:34+0000\n"
+"POT-Creation-Date: 2022-09-28 06:52+0000\n"
"PO-Revision-Date: 2012-01-24 16:14+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Azerbaijani <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2022-03-08 06:27+0000\n"
-"X-Generator: Launchpad (build 61f4697954ab70d633d14d8ceecff69a20b08a6b)\n"
+"X-Launchpad-Export-Date: 2022-09-29 06:49+0000\n"
+"X-Generator: Launchpad (build 51d7c86a263563fbd9e884ec9127596444825394)\n"
#: ../src/greeter-list.vala:302
#, c-format
diff --git a/po/be.po b/po/be.po
index 97978bf7..66b714c6 100644
--- a/po/be.po
+++ b/po/be.po
@@ -7,15 +7,15 @@ msgid ""
msgstr ""
"Project-Id-Version: unity-greeter\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
-"POT-Creation-Date: 2022-03-07 06:34+0000\n"
+"POT-Creation-Date: 2022-09-28 06:52+0000\n"
"PO-Revision-Date: 2012-01-24 16:14+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Belarusian <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2022-03-08 06:27+0000\n"
-"X-Generator: Launchpad (build 61f4697954ab70d633d14d8ceecff69a20b08a6b)\n"
+"X-Launchpad-Export-Date: 2022-09-29 06:49+0000\n"
+"X-Generator: Launchpad (build 51d7c86a263563fbd9e884ec9127596444825394)\n"
#: ../src/greeter-list.vala:302
#, c-format
diff --git a/po/bem.po b/po/bem.po
index e77dd5e0..f4cae777 100644
--- a/po/bem.po
+++ b/po/bem.po
@@ -7,15 +7,15 @@ msgid ""
msgstr ""
"Project-Id-Version: unity-greeter\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
-"POT-Creation-Date: 2022-03-07 06:34+0000\n"
+"POT-Creation-Date: 2022-09-28 06:52+0000\n"
"PO-Revision-Date: 2012-08-07 20:14+0000\n"
"Last-Translator: goof <[email protected]>\n"
"Language-Team: Bemba <