unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Brendan Tildesley <mail@brendan.scot>
To: phodina <phodina@protonmail.com>,
	"50862@debbugs.gnu.org" <50862@debbugs.gnu.org>,
	Leo Famulari <leo@famulari.name>
Subject: [bug#50862] [PATCHES] KDE updates (5.90, 22.12.2)
Date: Wed, 16 Mar 2022 06:42:51 +0100 (CET)	[thread overview]
Message-ID: <836191564.431838.1647409371331@office.mailbox.org> (raw)
In-Reply-To: <629540312.113485.1632806682555@office.mailbox.org>

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

Anyone mind giving me a hand with something?
I've been trying to package libaccounts-qt but I've been stuck for far too long
unable to figure out why it can't find libaccounts-glib, it should use pkg-config 
to like it finds glib and gobject, but qmake just reports

Project ERROR: libaccounts-glib development package not found


From Accounts.pro, there is:
PKGCONFIG += \
	glib-2.0 \
	gobject-2.0 \
	libaccounts-glib

I was running qmake with strace but it wasn't showing anything that seemed all that useful,
and I can't see anything wrong with the libaccounts-glib package

any ideas?

[-- Attachment #2: 0001-gnu-Add-libaccounts-glib.patch --]
[-- Type: text/x-patch, Size: 3630 bytes --]

From eafcfea1d7e30b1bcea12f64a2d0c20afb88d806 Mon Sep 17 00:00:00 2001
From: Brendan Tildesley <mail@brendan.scot>
Date: Wed, 2 Mar 2022 08:29:54 +1100
Subject: [PATCH 1/2] gnu: Add libaccounts-glib.

* gnu/packages/qt.scm (libaccounts-glib): New variable.
---
 gnu/packages/qt.scm | 59 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 59 insertions(+)

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 0163d02bc0..6d2e54783a 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -48,6 +48,7 @@ (define-module (gnu packages qt)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system trivial)
+  #:use-module (guix build-system meson)
   #:use-module (guix build-system python)
   #:use-module (guix build-system qt)
   #:use-module (guix gexp)
@@ -57,6 +58,7 @@ (define-module (gnu packages qt)
   #:use-module (gnu packages)
   #:use-module (gnu packages base)
   #:use-module (gnu packages bison)
+  #:use-module (gnu packages check)
   #:use-module (gnu packages cmake)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages cups)
@@ -3123,3 +3125,60 @@ (define-public soqt
 also compatible with SGI and TGS Open Inventor, and the API is based on the API
 of the InventorXt GUI component toolkit.")
     (license license:bsd-3))))
+
+(define-public libaccounts-glib
+  (package
+    (name "libaccounts-glib")
+    (version "1.25")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://gitlab.com/accounts-sso/libaccounts-glib")
+                    (commit (string-append version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "19rhk9f97m736d5ia26vfcbjp5kgi454558yhf9mrwm4iw5d9pk4"))))
+    (build-system meson-build-system)
+    (native-inputs
+     (list dbus pkg-config))
+    (inputs (list check
+                  gobject-introspection
+                  gtk-doc
+                  libxml2
+                  python
+                  python-pygobject
+                  sqlite
+                  glib
+                  `(,glib "bin")
+                  vala))
+    (arguments
+     (list
+      #:tests? #f ; one test fails.
+      #:imported-modules `((guix build python-build-system)
+                          ,@%meson-build-system-modules)
+      #:modules '(((guix build python-build-system) #:select
+                   (python-version))
+                  (guix build meson-build-system)
+                  (guix build utils))
+      ;; don't try installing to python store path.
+      #:configure-flags
+      #~(list (string-append
+               "-Dpy-overrides-dir=" #$output "/lib/python"
+               (python-version #$(this-package-input "python"))
+               "/site-packages/gi/overrides"))
+      #:phases
+      #~(modify-phases %standard-phases
+          (replace 'check
+            (lambda* (#:key tests? #:allow-other-keys)
+              (when tests?
+                (invoke "dbus-run-session" "--" "meson" "test"
+                        "--print-errorlogs")))))))
+    (home-page "https://accounts-sso.gitlab.io/")
+    (synopsis "Accounts SSO (Single Sign-On) management library for GLib
+applications")
+    (description "Accounts SSO is a framework for application developers who
+wish to acquire, use and store web account details and credentials.  It
+handles the authentication process of an account and securely stores the
+credentials and service-specific settings.")
+    (license license:lgpl2.1+)))
-- 
2.34.0


[-- Attachment #3: 0002-.-libaccounts-qt.patch --]
[-- Type: text/x-patch, Size: 1709 bytes --]

From 7c0860a147d3b72f718ac3c06a202cd8181094d4 Mon Sep 17 00:00:00 2001
From: Brendan Tildesley <mail@brendan.scot>
Date: Sat, 5 Mar 2022 11:46:47 +1100
Subject: [PATCH 2/2] . libaccounts-qt

---
 gnu/packages/qt.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 6d2e54783a..eebede4176 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -3182,3 +3182,33 @@ (define-public libaccounts-glib
 handles the authentication process of an account and securely stores the
 credentials and service-specific settings.")
     (license license:lgpl2.1+)))
+
+(define-public libaccounts-qt
+  (package
+    (name "libaccounts-qt")
+    (version "1.16")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://gitlab.com/accounts-sso/libaccounts-qt")
+                    (commit (string-append "VERSION_" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1vmpjvysm0ld8dqnx8msa15hlhrkny02cqycsh4k2azrnijg0xjz"))))
+    (build-system gnu-build-system)
+    (native-inputs (list pkg-config qtbase-5 strace qttools))
+    (inputs (list doxygen
+                  libaccounts-glib
+                  glib))
+    (arguments
+     (list
+      #:tests? #f
+      #:phases
+      #~(modify-phases %standard-phases
+          (replace 'configure
+            (lambda _ (invoke "qmake"))))))
+    (home-page "https://accounts-sso.gitlab.io/")
+    (synopsis "Qt5 bindings for libaccounts-glib")
+    (description (package-description libaccounts-glib))
+    (license #f)))
-- 
2.34.0


  parent reply	other threads:[~2022-03-16  5:44 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-28  5:24 [bug#50862] [PATCHES] KDE updates Brendan Tildesley
2021-10-15  9:29 ` [bug#50862] [PATCH core-updates-frozen 00/19] Brendan Tildesley
2021-10-15  9:29   ` [bug#50862] [PATCH core-updates-frozen 01/19] build: qt-utils: Don't wrap .X-real files Brendan Tildesley
2021-10-15  9:29   ` [bug#50862] [PATCH core-updates-frozen 02/19] gnu: libdbusmenu-qt: Move (gnu packages qt) Brendan Tildesley
2021-10-15  9:29   ` [bug#50862] [PATCH core-updates-frozen 03/19] gnu: Add plasma-wayland-protocols Brendan Tildesley
2021-10-15  9:30   ` [bug#50862] [PATCH core-updates-frozen 04/19] gnu: kdav: Move to (gnu packages kde-frameworks) Brendan Tildesley
2021-10-15  9:30   ` [bug#50862] [PATCH core-updates-frozen 05/19] gnu: kdav: Update to 5.87.0 Brendan Tildesley
2021-10-15  9:30   ` [bug#50862] [PATCH core-updates-frozen 06/19] gnu: KDE Frameworks: " Brendan Tildesley
2021-10-15  9:30   ` [bug#50862] [PATCH core-updates-frozen 07/19] gnu: Add layer-shell-qt Brendan Tildesley
2021-10-15  9:30   ` [bug#50862] [PATCH core-updates-frozen 08/19] gnu: KDE Plasma: Update to 5.22.5 Brendan Tildesley
2021-10-15  9:30   ` [bug#50862] [PATCH core-updates-frozen 09/19] gnu: libgravatar: Move to (gnu packages kde-pim) Brendan Tildesley
2021-10-15  9:30   ` [bug#50862] [PATCH core-updates-frozen 10/19] gnu: KDE PIM: Update to 21.08.2 Brendan Tildesley
2021-10-15  9:30   ` [bug#50862] [PATCH core-updates-frozen 11/19] gnu: KDE: " Brendan Tildesley
2021-10-15  9:30   ` [bug#50862] [PATCH core-updates-frozen 12/19] gnu: Remove libraw-0.18 Brendan Tildesley
2021-10-15  9:30   ` [bug#50862] [PATCH core-updates-frozen 13/19] gnu: KDE Internet: Update to 21.08.2 Brendan Tildesley
2021-10-15  9:30   ` [bug#50862] [PATCH core-updates-frozen 14/19] gnu: KDE Utils: " Brendan Tildesley
2021-10-15  9:30   ` [bug#50862] [PATCH core-updates-frozen 15/19] gnu: KDE System Tools: " Brendan Tildesley
2021-10-15  9:30   ` [bug#50862] [PATCH core-updates-frozen 16/19] gnu: KDE Multimedia: " Brendan Tildesley
2021-10-15  9:30   ` [bug#50862] [PATCH core-updates-frozen 17/19] gnu: ktouch: " Brendan Tildesley
2021-10-15  9:30   ` [bug#50862] [PATCH core-updates-frozen 18/19] gnu: Move KDE games to (gnu packages kde-games) Brendan Tildesley
2021-10-15  9:30   ` [bug#50862] [PATCH core-updates-frozen 19/19] gnu: KDE Games: Update to 21.08.2 Brendan Tildesley
2022-01-28 17:47 ` [bug#50862] [PATCH v3 01/10] gnu: extra-cmake-modules: Update to 5.90.0 phodina via Guix-patches via
2022-01-29 19:55   ` Leo Famulari
2022-01-29 19:58     ` Leo Famulari
2022-02-04  9:25 ` [bug#50862] [PATCHES] KDE updates phodina via Guix-patches via
2022-02-06  8:10 ` [bug#50862] PATCHES] KDE updates (5.90, 22.12.2) Brendan Tildesley
2022-02-06  8:30   ` phodina via Guix-patches via
2022-02-06 10:40     ` Brendan Tildesley
2022-03-16  5:42 ` Brendan Tildesley [this message]
2022-03-16 11:01   ` [bug#50862] [PATCHES] " Maxime Devos
2022-03-16 11:03   ` Maxime Devos
2022-04-14 16:04     ` phodina via Guix-patches via
2022-04-19  2:50       ` Brendan Tildesley
2022-07-26 17:47         ` phodina via Guix-patches via
2022-08-07 11:05           ` [bug#50862] [PATCHESv3] " phodina via Guix-patches via
2022-08-14  3:01             ` Maxim Cournoyer
2022-05-03  9:45 ` [bug#50862] [PATCHES] KDE updates guix-patches--- via
2022-05-12  2:44 ` Anthony Wang via Guix-patches via
2022-08-14  9:51 ` [bug#50862] [PATCHESv4] " phodina via Guix-patches via
2022-08-29  5:54   ` Brendan Tildesley
2022-08-31 21:10   ` Marius Bakke
2022-09-01  8:03     ` phodina via Guix-patches via
2022-09-01 14:23       ` Marius Bakke
2022-09-01 15:36         ` bug#50862: " Marius Bakke
2022-08-20 14:13 ` [bug#50862] [PATCHES] " guix-patches--- via
2022-08-21 14:49 ` guix-patches--- via
2022-08-22 13:19 ` [bug#50862] Launching the KDE Plasma session phodina via Guix-patches via
2022-08-27 21:14   ` phodina via Guix-patches via
2022-08-31 16:36 ` [bug#50862] [PATCHES] KDE updates guix-patches--- via
2022-08-31 21:02   ` Marius Bakke

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=836191564.431838.1647409371331@office.mailbox.org \
    --to=mail@brendan.scot \
    --cc=50862@debbugs.gnu.org \
    --cc=leo@famulari.name \
    --cc=phodina@protonmail.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).