Github messages for voidlinux
 help / color / mirror / Atom feed
From: LinArcX <LinArcX@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: switchboard-plug-user-accounts-2.3.0
Date: Thu, 09 Apr 2020 20:54:01 +0200	[thread overview]
Message-ID: <20200409185401.PngtjVp5kAsNJenh-D_-Oxi4_pKjUnNOiHOqYCMu10M@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20617@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 427 bytes --]

There is an updated pull request by LinArcX against master on the void-packages repository

https://github.com/LinArcX/void-packages switchboard-plug-user-accounts
https://github.com/void-linux/void-packages/pull/20617

New package: switchboard-plug-user-accounts-2.3.0
[Related](https://github.com/void-linux/void-packages/pull/20538)

A patch file from https://github.com/void-linux/void-packages/pull/20617.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-switchboard-plug-user-accounts-20617.patch --]
[-- Type: text/x-diff, Size: 5108 bytes --]

From bf507eefc4e671492a4e3de884f4c716d2ae456e Mon Sep 17 00:00:00 2001
From: linarcx <linarcx@riseup.net>
Date: Fri, 3 Apr 2020 22:50:33 +0430
Subject: [PATCH] New package: switchboard-plug-user-accounts-2.3.0

---
 .../io.elementary.useraccounts.appdata.xml    | 38 +++++++++++++++++++
 .../files/io.elementary.useraccounts.policy   | 21 ++++++++++
 .../switchboard-plug-user-accounts/template   | 20 ++++++++++
 3 files changed, 79 insertions(+)
 create mode 100644 srcpkgs/switchboard-plug-user-accounts/files/io.elementary.useraccounts.appdata.xml
 create mode 100644 srcpkgs/switchboard-plug-user-accounts/files/io.elementary.useraccounts.policy
 create mode 100644 srcpkgs/switchboard-plug-user-accounts/template

diff --git a/srcpkgs/switchboard-plug-user-accounts/files/io.elementary.useraccounts.appdata.xml b/srcpkgs/switchboard-plug-user-accounts/files/io.elementary.useraccounts.appdata.xml
new file mode 100644
index 00000000000..188b99611a1
--- /dev/null
+++ b/srcpkgs/switchboard-plug-user-accounts/files/io.elementary.useraccounts.appdata.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="addon">
+  <id>io.elementary.switchboard.useraccounts</id>
+  <extends>io.elementary.switchboard</extends>
+  <name>User Accounts</name>
+  <summary>Manage account permissions and configure user names, passwords, and photos</summary>
+  <releases>
+    <release version="2.3.1" date="2020-04-08" urgency="medium">
+      <description>
+        <ul>
+          <li>Show more accurate reasons for locked settings</li>
+          <li>Improve reliability of account creation</li>
+          <li>Get permission on demand for enabling or disabling accounts</li>
+          <li>Updated translations</li>
+        </ul>
+      </description>
+    </release>
+    <release version="2.3.0" date="2019-11-15" urgency="medium">
+      <description>
+        <ul>
+          <li>Show in sidebar if an account is disabled</li>
+          <li>Ask for permission when adding and removing accounts</li>
+          <li>Animate Infobars</li>
+          <li>Updated translations</li>
+        </ul>
+      </description>
+    </release>
+  </releases>
+  <screenshots>
+    <screenshot type="default">
+      <image>https://raw.githubusercontent.com/elementary/switchboard-plug-useraccounts/master/data/screenshot.png</image>
+    </screenshot>
+  </screenshots>
+  <url type="homepage">https://elementary.io</url>
+  <url type="bugtracker">https://github.com/elementary/switchboard-plug-useraccounts/issues</url>
+  <metadata_license>CC0-1.0</metadata_license>
+  <project_license>LGPL-3.0+</project_license>
+</component>
diff --git a/srcpkgs/switchboard-plug-user-accounts/files/io.elementary.useraccounts.policy b/srcpkgs/switchboard-plug-user-accounts/files/io.elementary.useraccounts.policy
new file mode 100644
index 00000000000..2383ef1d1d6
--- /dev/null
+++ b/srcpkgs/switchboard-plug-user-accounts/files/io.elementary.useraccounts.policy
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE policyconfig PUBLIC
+ "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">
+<policyconfig>
+  <vendor>elementary</vendor>
+  <vendor_url>https://elementary.io/</vendor_url>
+
+  <action id="io.elementary.switchboard.useraccounts.administration">
+    <description>Manage user accounts</description>
+    <message>Authentication is required to change user data</message>
+    <icon_name>system-users</icon_name>
+    <defaults>
+      <allow_any>no</allow_any>
+      <allow_inactive>no</allow_inactive>
+      <allow_active>auth_admin_keep</allow_active>
+    </defaults>
+    <annotate key="org.freedesktop.policykit.exec.path">/usr/lib/switchboard/system/pantheon-useraccounts/guest-session-toggle</annotate>
+    <annotate key="org.freedesktop.policykit.imply">org.freedesktop.accounts.user-administration</annotate>
+  </action>
+</policyconfig>
diff --git a/srcpkgs/switchboard-plug-user-accounts/template b/srcpkgs/switchboard-plug-user-accounts/template
new file mode 100644
index 00000000000..f70a63087c5
--- /dev/null
+++ b/srcpkgs/switchboard-plug-user-accounts/template
@@ -0,0 +1,20 @@
+# Template file for 'switchboard-plug-user-accounts'
+pkgname=switchboard-plug-user-accounts
+version=2.3.1
+revision=1
+wrksrc="switchboard-plug-useraccounts-${version}"
+build_style=meson
+hostmakedepends="pkg-config glib-devel vala"
+makedepends="libgee08-devel gtk+3-devel switchboard-devel polkit-devel
+ accountsservice-devel gnome-desktop-devel granite-devel libpwquality-devel"
+short_desc="Switchboard User Accounts Plug"
+maintainer="linarcx <linarcx@riseup.net>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/elementary/switchboard-plug-useraccounts"
+distfiles="${homepage}/archive/${version}.tar.gz"
+checksum=f039c41193d3472056914faa841e54f5e457745f5e56efe6496bb820eb5ef728
+
+post_install() {
+	vinstall ${FILESDIR}/io.elementary.useraccounts.appdata.xml 0644 usr/share/metainfo
+	vinstall ${FILESDIR}/io.elementary.useraccounts.policy 0644 usr/share/polkit-1/actions
+}

  parent reply	other threads:[~2020-04-09 18:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-03 18:51 [PR PATCH] " LinArcX
2020-04-09 13:12 ` Anachron
2020-04-09 18:19 ` [PR PATCH] [Updated] " LinArcX
2020-04-09 18:54 ` LinArcX [this message]
2020-04-09 19:11 ` LinArcX
2021-02-15  5:34 ` [PR PATCH] [Closed]: " ericonr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200409185401.PngtjVp5kAsNJenh-D_-Oxi4_pKjUnNOiHOqYCMu10M@z \
    --to=linarcx@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).