GNU bug report logs - #51924
[PATCH] gnu: Add postmarketos-tweaks.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: phodina <phodina@HIDDEN>; Keywords: moreinfo patch; dated Wed, 17 Nov 2021 17:09:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.
Added tag(s) moreinfo. Request was from Maxim Cournoyer <maxim.cournoyer@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 51924 <at> debbugs.gnu.org:


Received: (at 51924) by debbugs.gnu.org; 23 Apr 2025 07:28:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 23 03:28:55 2025
Received: from localhost ([127.0.0.1]:52311 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1u7UXP-0002Nu-89
	for submit <at> debbugs.gnu.org; Wed, 23 Apr 2025 03:28:55 -0400
Received: from mail-pg1-x535.google.com ([2607:f8b0:4864:20::535]:55780)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1u7UXL-0002N4-4y
 for 51924 <at> debbugs.gnu.org; Wed, 23 Apr 2025 03:28:51 -0400
Received: by mail-pg1-x535.google.com with SMTP id
 41be03b00d2f7-af548cb1f83so5856459a12.3
 for <51924 <at> debbugs.gnu.org>; Wed, 23 Apr 2025 00:28:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1745393324; x=1745998124; darn=debbugs.gnu.org;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=/1MJEk6HX1L3tu3TPW7zWxbRjd8Dqir/pPbHBdmYEg0=;
 b=At/eHUFHDVTb+UElCI4zC4Cl7fArhC5UP0f07S5cwOcCRhLAEe2l9KJ2OabqLoHOyE
 XGofNztNzNsMS4lPwk6l4GWyE/IpLN2r+Eq4Au8YCpLVxR3E++82arc02OcIUUkMEDRc
 RBwnXjkn/18VxvMQH0T28N/pRcXGe/bNSVQipWKgvp1zl2xW53RLEbewrwWU2KrVtAdg
 xGo2Kjm6aYHalZDrYe6bWo0R4ZBaJhRoLc6qCTSa2buN0xEjn5nV4xFrHE97IICD3nmj
 kV8xjMeXmyu4q/zJvyCzwDoh7HJ0gMAYm7Z11oIV4Xbwt7cw1CxKLAH2/NInD3z6BF/U
 qxTA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1745393324; x=1745998124;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=/1MJEk6HX1L3tu3TPW7zWxbRjd8Dqir/pPbHBdmYEg0=;
 b=IH5dpbKYcbMyX0natlGiibn5tKicfhpnDsAToIZ37NQCvKYPvbUDUOmhuDZvvMK9oa
 oXWDzZxeEvnyFiQRs9Ex1ebO14EdYYyKmWVzaCNSm3fdFG9p6E7XwliMr36FuZp7PFCp
 ySq4AYVk1y76wvcCNGDeJtSodPhtheCq+Ne+0NqT5YJrcZGS8c4x4URuBetbo+rnvy6u
 KfAploYWqM1z5+Cz0ShvEqNh23RINo1eoO2RYK/yYhTsEmshDsDTnvuVOF2+GbhbLYRz
 HVOP/TW9UVW0JieMr5S8zeZKfVHhyfJdLrQ6FkA8IWMj5Bz67H4b/hDDjEb6oFcYQPaO
 JH/w==
X-Gm-Message-State: AOJu0Ywusg3p1AfmjnYisa9PYNsq31UWsDal5/BelmPsySaxAYouvms9
 UTpaRFbYdv7SYPnfX2ajzTc//TA1jwR3e4wxLuyVWYOnsIZfcV+bszvasA/y
X-Gm-Gg: ASbGncuzRK0EdEz1EIY2z2lKFRdJYTn40mY0urMUcjdieGNQelzKl0q6t/6rdSAbbFp
 Wzzjf5IPZk7m1iUQ9H9lPsHoLOeIamj09kUYkgpb/J8dGvvjy13l/UTz6eNfY5aarbl5Hk9bCCS
 1Z1ZzONcJ7bv8EKCJrTJTyboQcAeId8APGqxtSoZI37C/3KlwB8s1smcarqJeXZeKIaL+V1NJl7
 TAhjMPh8iy5CI/UA4KrtUzfFJUSy39MoAm3jLtK4cQo0Jj601YHK1oHgUSbTd3DfH1z0A/Vh+lz
 gj1mglT7j0CuAK+LLoOwSVs+t1y7PYXUE80X+I4=
X-Google-Smtp-Source: AGHT+IFpy87+yqyGydszOgDg/sqmyVSniPqwFvvSpT6G7L0eimxnTlw2JlSmewoc5638cFLYL4sRPg==
X-Received: by 2002:a17:90b:2ec3:b0:2ff:4f04:4261 with SMTP id
 98e67ed59e1d1-3087bbc9485mr22982297a91.34.1745393323772; 
 Wed, 23 Apr 2025 00:28:43 -0700 (PDT)
Received: from terra ([2405:6586:be0:0:83c8:d31d:2cec:f542])
 by smtp.gmail.com with ESMTPSA id
 d9443c01a7336-22c50fdf3a6sm97428275ad.259.2025.04.23.00.28.42
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 23 Apr 2025 00:28:43 -0700 (PDT)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: phodina <phodina@HIDDEN>
Subject: Re: [bug#51924] [PATCH] gnu: Add postmarketos-tweaks.
In-Reply-To: <b5xyL17L5JLmSDLek8aPoPas2Zd0uY0_zpPAruauw3DEEOwVn1WDnNws098E94Nq4gkIoXpXrK2J4FXLJ7qtZ3nvtirHAuTCpJGu_f44drA=@protonmail.com>
 (phodina@HIDDEN's message of "Wed, 17 Nov 2021 17:08:21
 +0000")
References: <b5xyL17L5JLmSDLek8aPoPas2Zd0uY0_zpPAruauw3DEEOwVn1WDnNws098E94Nq4gkIoXpXrK2J4FXLJ7qtZ3nvtirHAuTCpJGu_f44drA=@protonmail.com>
Date: Wed, 23 Apr 2025 16:28:41 +0900
Message-ID: <871ptjxro6.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 51924
Cc: 51924 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi,

phodina <phodina@HIDDEN> writes:

> Hi,
>
> here's patch for tool similar to gnome-tweaks just for mobile devices.
>
> There is hardcoded location /etc/postmarket for polkit. Should this be substituted for different location in a similar manner as with udev which looks in out/lib/udev?
>
> * gnu/packages/gnome.scm (postmarketos-tweaks): New variable.

It looks like the upstream has been 'archived', aka abandoned. [0]

[0]  https://gitlab.com/postmarketOS/postmarketos-tweaks

Is there a maintained upstream for the tool?  Else we can close this.

-- 
Thanks,
Maxim




Information forwarded to guix-patches@HIDDEN:
bug#51924; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 17 Nov 2021 17:08:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 17 12:08:39 2021
Received: from localhost ([127.0.0.1]:33719 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mnOQJ-0006yr-6n
	for submit <at> debbugs.gnu.org; Wed, 17 Nov 2021 12:08:39 -0500
Received: from lists.gnu.org ([209.51.188.17]:37770)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <phodina@HIDDEN>) id 1mnOQH-0006yj-1d
 for submit <at> debbugs.gnu.org; Wed, 17 Nov 2021 12:08:37 -0500
Received: from eggs.gnu.org ([209.51.188.92]:42022)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <phodina@HIDDEN>)
 id 1mnOQE-0007fg-ST
 for guix-patches@HIDDEN; Wed, 17 Nov 2021 12:08:36 -0500
Received: from mail-40133.protonmail.ch ([185.70.40.133]:54066)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <phodina@HIDDEN>)
 id 1mnOQA-0004un-LN
 for guix-patches@HIDDEN; Wed, 17 Nov 2021 12:08:34 -0500
Date: Wed, 17 Nov 2021 17:08:21 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
 s=protonmail; t=1637168903;
 bh=9hcyyU+IOWb0yU9fs0yAB8w1Ipb/YbzabkkOqGAAuzY=;
 h=Date:To:From:Reply-To:Subject:From;
 b=v3z0NcbCG4k4Dk8AkahWt3I63QsrNNtxkI28VWfqOQcG6AOu01E1b+5wZzbwPh+HT
 AJUbvmzGIPqvepefQkxZIGGESmcuKvusX0NpFYKDfluLxsrVrJskl3bvuLRDTpU18P
 jWfJHnuQrxgQdm5n6GW3wu/pnolROesTdajdEO7w=
To: Guix Patches <guix-patches@HIDDEN>
From: phodina <phodina@HIDDEN>
Subject: [PATCH] gnu: Add postmarketos-tweaks.
Message-ID: <b5xyL17L5JLmSDLek8aPoPas2Zd0uY0_zpPAruauw3DEEOwVn1WDnNws098E94Nq4gkIoXpXrK2J4FXLJ7qtZ3nvtirHAuTCpJGu_f44drA=@protonmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no
 autolearn=disabled version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 mailout.protonmail.ch
Received-SPF: pass client-ip=185.70.40.133;
 envelope-from=phodina@HIDDEN; helo=mail-40133.protonmail.ch
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: phodina <phodina@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

Hi,

here's patch for tool similar to gnome-tweaks just for mobile devices.

There is hardcoded location /etc/postmarket for polkit. Should this be subs=
tituted for different location in a similar manner as with udev which looks=
 in out/lib/udev?

* gnu/packages/gnome.scm (postmarketos-tweaks): New variable.

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 28d4432334..2e32be4cd5 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -11357,6 +11357,64 @@ (define-public polari
     (home-page "https://wiki.gnome.org/Apps/Polari")
     (license license:gpl2+)))

+(define-public postmarketos-tweaks
+  (package
+    (name "postmarketos-tweaks")
+    (version "0.8.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://gitlab.com/postmarketOS/postmarketos-tweaks")
+             (commit version)))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "09z3i288jnxvkbk2dphjc578ycp1vqzdmixi311fymvgwhfb3xjs"))))
+    (build-system meson-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'fix-install-dir
+           (lambda* _
+             (substitute* "data/meson.build"
+               (("/etc/init.d") (string-append %output "/etc/init.d")))))
+         (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let ((bin (string-append (assoc-ref outputs "out") "/bin/"))
+                   (pylib (string-append (assoc-ref outputs "out")
+                                         "/lib/python"
+                                         ,(version-major+minor
+                                           (package-version python))
+                                         "/site-packages")))
+               (for-each
+                (lambda (program)
+                  (wrap-program (string-append bin program)
+                    `("PYTHONPATH" =3D (,(getenv "PYTHONPATH") ,pylib))
+                    `("GI_TYPELIB_PATH" =3D (,(getenv
+                                             "GI_TYPELIB_PATH")))))
+                (list "pmos-tweaks" "pmos-tweakd" "pk-tweaks-action"))
+               #t))))))
+    (native-inputs `(("pkg-config" ,pkg-config)
+                     ("gtk+:bin"
+                      ,gtk+ "bin")      ; for gtk-update-icon-cache
+                     ("glib:bin"
+                      ,glib "bin")      ; glib-compile-schemas, etc.
+                     ("desktop-file-utils"
+                      ,desktop-file-utils) ; for update-desktop-database
+                     ("cmake" ,cmake)))
+    (inputs `(("bash-minimal" ,bash-minimal)
+              ("gtk+" ,gtk+)
+              ("libhandy" ,libhandy)
+              ("python" ,python)
+              ("python-pygobject" ,python-pygobject)
+              ("python-pyyaml" ,python-pyyaml)))
+    (home-page "https://gitlab.com/postmarketOS/postmarketos-tweaks")
+    (synopsis "Extra settings on mobile platforms")
+    (description "Postmarket tweaks is an application for tweaking setting=
s
+on desktop environments supported by postmarketOS.")
+    (license license:lgpl3)))
+
 (define-public gnome-boxes
   (package
     (name "gnome-boxes")
--
2.33.0




Acknowledgement sent to phodina <phodina@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#51924; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 23 Apr 2025 07:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.