all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: florhizome@posteo.net
To: 59105@debbugs.gnu.org
Cc: florhizome <florhizome@posteo.net>
Subject: [bug#59105] [PATCH 2/3] gnu: Add xapp
Date: Sun, 13 Nov 2022 19:21:16 +0000	[thread overview]
Message-ID: <b7c00be7c82e9b49e114e7263b24b0451074facc.1668366634.git.florhizome@posteo.net> (raw)
In-Reply-To: <79af977f96c3628451bc191a52529a6e354e5e5c.1668366634.git.florhizome@posteo.net>

From: florhizome <florhizome@posteo.net>

* gnu/packages/cinnamon.scm (xapp): New variable.
---
 gnu/packages/cinnamon.scm | 60 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 60 insertions(+)

diff --git a/gnu/packages/cinnamon.scm b/gnu/packages/cinnamon.scm
index 0087a41839..8af2075596 100644
--- a/gnu/packages/cinnamon.scm
+++ b/gnu/packages/cinnamon.scm
@@ -83,3 +83,63 @@ (define-public cinnamon-desktop
 as well as some desktop-wide documents.")
     (license (list license:gpl2+ license:lgpl2.0+
                    license:expat)))) ;display-name.c , edid-parse.c
+
+(define-public xapp
+  (package
+   (name "xapp")
+   (version "2.2.15")
+   (source
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/linuxmint/xapp")
+            (commit version)))
+      (file-name (git-file-name name version))
+      (sha256
+       (base32 "1rjlrbaf4c02viwbp1vxhh4nsv9zbvlsmrvry3af9grz0rfv3xsz"))))
+   (build-system meson-build-system)
+   (arguments
+    (list #:glib-or-gtk? #t
+          #:configure-flags
+          #~(list (string-append "-Dpy-overrides-dir="
+                                 #$(this-package-input "python")
+                                 "/lib/python3.9/site-packages/gi/overrides"))
+          #:phases
+          #~(modify-phases %standard-phases
+              (add-after 'patch-source-shebangs 'fix-build
+                (lambda _
+                  (substitute*
+                      "./libxapp/meson.build"
+                    (("gtk3_dep\\.get_pkgconfig_variable\\('libdir'\\)")
+                     (string-append "'" #$output "/lib'")))
+                  (substitute*
+                      "./pygobject/meson.build"
+                    (("install_dir: override_dir,")
+                     (string-append
+                      "install_dir: '" #$output
+                      "/lib/python3.9/site-packages/gi/overrides',")))
+                  #t)))))
+   (inputs
+    (list atk
+          glib
+          gtk+
+          gnome-menus
+          libdbusmenu
+          libgnomekbd
+          python
+          python-pygobject))
+   (native-inputs
+    (list gettext-minimal
+          (list glib "bin")
+          gobject-introspection
+          libxml2
+          pkg-config
+          python
+          vala))
+   (propagated-inputs (list libgnomekbd))
+   (home-page "https://github.com/linuxmint/xapp")
+   (synopsis "Libraries and common resources of the Mint project")
+   (description "This project gathers the components which are common to the
+ projects of the Linux Mint project.")
+   (license license:expat)))
+
-- 
2.38.1





  reply	other threads:[~2022-11-13 19:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-07 14:53 [bug#59105] [PATCH] Add nemo and dependencies Florian
2022-11-13 19:21 ` [bug#59105] [PATCH 1/3] gnu: cinnamon: upgrade cinnamon-desktop florhizome
2022-11-13 19:21   ` florhizome [this message]
2022-11-13 19:21   ` [bug#59105] [PATCH 3/3] gnu: Add nemo florhizome
2023-04-22 10:01   ` bug#59105: [PATCH 1/3] gnu: cinnamon: upgrade cinnamon-desktop Nicolas Goaziou

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=b7c00be7c82e9b49e114e7263b24b0451074facc.1668366634.git.florhizome@posteo.net \
    --to=florhizome@posteo.net \
    --cc=59105@debbugs.gnu.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.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.