diff options
| author | Sebastien Bacher <[email protected]> | 2023-06-08 09:31:11 +0200 |
|---|---|---|
| committer | git-ubuntu importer <[email protected]> | 2023-06-08 07:35:10 +0000 |
| commit | 4e8a035f1ec91e13fca9c1430cfca2b93acd3751 (patch) | |
| tree | 7c58fe1766357ca89c3a1ccefe4177a68923c125 | |
| parent | 4d9d5a3b4706fd95b1d805868ed2dd400252f65b (diff) | |
23.10.1-0ubuntu1 (patches unapplied)import/23.10.1-0ubuntu1ubuntu/mantic-proposedubuntu/mantic-develubuntu/mantic
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.rules | 67 | ||||
| -rw-r--r-- | debian/changelog | 10 | ||||
| -rw-r--r-- | debian/compat | 1 | ||||
| -rw-r--r-- | debian/control | 4 | ||||
| -rw-r--r-- | debian/install | 1 | ||||
| -rw-r--r-- | debian/maintscript | 1 | ||||
| -rwxr-xr-x | debian/rules | 4 | ||||
| -rw-r--r-- | po/af.po | 6 | ||||
| -rw-r--r-- | po/am.po | 6 | ||||
| -rw-r--r-- | po/an.po | 6 | ||||
| -rw-r--r-- | po/ar.po | 6 | ||||
| -rw-r--r-- | po/ast.po | 6 | ||||
| -rw-r--r-- | po/az.po | 6 | ||||
| -rw-r--r-- | po/be.po | 6 | ||||
| -rw-r--r-- | po/bem.po | 6 | ||||
| -rw-r--r-- | po/bg.po | 6 | ||||
| -rw-r--r-- | po/bn.po | 36 | ||||
| -rw-r--r-- | po/bo.po | 6 | ||||
| -rw-r--r-- | po/br.po | 6 | ||||
| -rw-r--r-- | po/bs.po | 6 | ||||
| -rw-r--r-- | po/ca.po | 6 | ||||
| -rw-r--r-- | po/[email protected] | 6 | ||||
| -rw-r--r-- | po/ce.po | 6 | ||||
| -rw-r--r-- | po/ceb.po | 6 | ||||
| -rw-r--r-- | po/ckb.po | 6 | ||||
| -rw-r--r-- | po/co.po | 6 | ||||
| -rw-r--r-- | po/crh.po | 6 | ||||
| -rw-r--r-- | po/cs.po | 6 | ||||
| -rw-r--r-- | po/cv.po | 6 | ||||
| -rw-r--r-- | po/cy.po | 6 | ||||
| -rw-r--r-- | po/da.po | 6 | ||||
| -rw-r--r-- | po/de.po | 6 | ||||
| -rw-r--r-- | po/el.po | 6 | ||||
| -rw-r--r-- | po/en_AU.po | 8 | ||||
| -rw-r--r-- | po/en_CA.po | 8 | ||||
| -rw-r--r-- | po/en_GB.po | 6 | ||||
| -rw-r--r-- | po/eo.po | 6 | ||||
| -rw-r--r-- | po/es.po | 8 | ||||
| -rw-r--r-- | po/et.po | 6 | ||||
| -rw-r--r-- | po/eu.po | 6 | ||||
| -rw-r--r-- | po/fa.po | 6 | ||||
| -rw-r--r-- | po/fi.po | 6 | ||||
| -rw-r--r-- | po/fil.po | 6 | ||||
| -rw-r--r-- | po/fo.po | 6 | ||||
| -rw-r--r-- | po/fr.po | 6 | ||||
| -rw-r--r-- | po/fr_CA.po | 6 | ||||
| -rw-r--r-- | po/frp.po | 6 | ||||
| -rw-r--r-- | po/fy.po | 6 | ||||
| -rw-r--r-- | po/ga.po | 6 | ||||
| -rw-r--r-- | po/gd.po | 6 | ||||
| -rw-r--r-- | po/gl.po | 6 | ||||
| -rw-r--r-- | po/gu.po | 6 | ||||
| -rw-r--r-- | po/he.po | 6 | ||||
| -rw-r--r-- | po/hi.po | 6 | ||||
| -rw-r--r-- | po/hr.po | 6 | ||||
| -rw-r--r-- | po/ht.po | 6 | ||||
| -rw-r--r-- | po/hu.po | 6 | ||||
| -rw-r--r-- | po/hy.po | 6 | ||||
| -rw-r--r-- | po/ia.po | 6 | ||||
| -rw-r--r-- | po/id.po | 6 | ||||
| -rw-r--r-- | po/is.po | 6 | ||||
| -rw-r--r-- | po/it.po | 6 | ||||
| -rw-r--r-- | po/ja.po | 6 | ||||
| -rw-r--r-- | po/ka.po | 6 | ||||
| -rw-r--r-- | po/kab.po | 6 | ||||
| -rw-r--r-- | po/kk.po | 6 | ||||
| -rw-r--r-- | po/kl.po | 6 | ||||
| -rw-r--r-- | po/km.po | 6 | ||||
| -rw-r--r-- | po/kn.po | 6 | ||||
| -rw-r--r-- | po/ko.po | 6 | ||||
| -rw-r--r-- | po/ku.po | 6 | ||||
| -rw-r--r-- | po/kw.po | 6 | ||||
| -rw-r--r-- | po/ky.po | 6 | ||||
| -rw-r--r-- | po/la.po | 6 | ||||
| -rw-r--r-- | po/lb.po | 6 | ||||
| -rw-r--r-- | po/ln.po | 6 | ||||
| -rw-r--r-- | po/lo.po | 6 | ||||
| -rw-r--r-- | po/lt.po | 6 | ||||
| -rw-r--r-- | po/lv.po | 6 | ||||
| -rw-r--r-- | po/mg.po | 6 | ||||
| -rw-r--r-- | po/mhr.po | 6 | ||||
| -rw-r--r-- | po/mi.po | 6 | ||||
| -rw-r--r-- | po/mjw.po | 6 | ||||
| -rw-r--r-- | po/ml.po | 6 | ||||
| -rw-r--r-- | po/mnw.po | 6 | ||||
| -rw-r--r-- | po/mr.po | 6 | ||||
| -rw-r--r-- | po/ms.po | 6 | ||||
| -rw-r--r-- | po/my.po | 6 | ||||
| -rw-r--r-- | po/nb.po | 6 | ||||
| -rw-r--r-- | po/ne.po | 6 | ||||
| -rw-r--r-- | po/nl.po | 6 | ||||
| -rw-r--r-- | po/nn.po | 6 | ||||
| -rw-r--r-- | po/oc.po | 6 | ||||
| -rw-r--r-- | po/os.po | 6 | ||||
| -rw-r--r-- | po/pa.po | 6 | ||||
| -rw-r--r-- | po/pl.po | 6 | ||||
| -rw-r--r-- | po/ps.po | 6 | ||||
| -rw-r--r-- | po/pt.po | 6 | ||||
| -rw-r--r-- | po/pt_BR.po | 6 | ||||
| -rw-r--r-- | po/ro.po | 6 | ||||
| -rw-r--r-- | po/ru.po | 6 | ||||
| -rw-r--r-- | po/sa.po | 6 | ||||
| -rw-r--r-- | po/sc.po | 6 | ||||
| -rw-r--r-- | po/sd.po | 6 | ||||
| -rw-r--r-- | po/se.po | 6 | ||||
| -rw-r--r-- | po/shn.po | 6 | ||||
| -rw-r--r-- | po/si.po | 6 | ||||
| -rw-r--r-- | po/sk.po | 6 | ||||
| -rw-r--r-- | po/sl.po | 6 | ||||
| -rw-r--r-- | po/sq.po | 6 | ||||
| -rw-r--r-- | po/sr.po | 6 | ||||
| -rw-r--r-- | po/sv.po | 6 | ||||
| -rw-r--r-- | po/sw.po | 6 | ||||
| -rw-r--r-- | po/szl.po | 6 | ||||
| -rw-r--r-- | po/ta.po | 6 | ||||
| -rw-r--r-- | po/te.po | 6 | ||||
| -rw-r--r-- | po/tg.po | 6 | ||||
| -rw-r--r-- | po/th.po | 6 | ||||
| -rw-r--r-- | po/ti.po | 6 | ||||
| -rw-r--r-- | po/tr.po | 6 | ||||
| -rw-r--r-- | po/ug.po | 6 | ||||
| -rw-r--r-- | po/uk.po | 6 | ||||
| -rw-r--r-- | po/ur.po | 6 | ||||
| -rw-r--r-- | po/uz.po | 78 | ||||
| -rw-r--r-- | po/vec.po | 6 | ||||
| -rw-r--r-- | po/vi.po | 6 | ||||
| -rw-r--r-- | po/wae.po | 6 | ||||
| -rw-r--r-- | po/zh_CN.po | 6 | ||||
| -rw-r--r-- | po/zh_HK.po | 6 | ||||
| -rw-r--r-- | po/zh_TW.po | 6 |
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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 < |
