unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Ashvith Shetty <ashvithshetty10@gmail.com>
To: 75146@debbugs.gnu.org
Cc: Ashvith Shetty <Ashvith@noreply.codeberg.org>
Subject: [bug#75146] [PATCH v0 12/15] gnu: xfce4-panel: Update variable fields.
Date: Sat, 28 Dec 2024 01:24:19 +0530	[thread overview]
Message-ID: <20241227195421.27729-1-ashvith@noreply.codeberg.org> (raw)
In-Reply-To: <20241227194602.25785-1-ashvith@noreply.codeberg.org>

From: Ashvith Shetty <Ashvith@noreply.codeberg.org>

* gnu/packages/xfce.scm (xfce4-panel):
[source]: Update to XFCE's GitLab URL.
[home-page]: Set to docs.xfce.org.
[arguments]: Set configure flag "--enable-maintainer-mode".
[native-inputs]: Add autoconf, automake, gtk-doc, libtool
and xfce4-dev-tools.

Change-Id: Ic5b4a82b1d14e24b11efac7f655ddb8f43a0b9da
---
 gnu/packages/xfce.scm | 80 +++++++++++++++++++++++--------------------
 1 file changed, 42 insertions(+), 38 deletions(-)

diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index eecc855648..c457d9d065 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -475,50 +475,54 @@ (define-public xfce4-panel
   (package
     (name "xfce4-panel")
     (version "4.20.0")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append "https://archive.xfce.org/src/xfce/"
-                                  name "/" (version-major+minor version) "/"
-                                  name "-" version ".tar.bz2"))
-              (sha256
-               (base32
-                "1f235lwmqavvsay9899gm7p2z3fdha6qgx05wczikhhnbmgwsczz"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://gitlab.xfce.org/xfce/xfce4-panel")
+             (commit (string-append name "-" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "049dhis9106zig5awr9ppnxm357d93z842h015pd8rni9sayc7m0"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (add-before 'configure 'patch-configure
-           (lambda _
-             (substitute* "configure"
-               ;; XDG_CHECK_PACKAGE_BINARY requires an absolute path.
-               (("\\$PKG_CONFIG --variable=gdbus_codegen gio-2.0")
-                "type -p gdbus-codegen"))))
-         (add-after 'unpack 'fix-tzdata-path
-           (lambda* (#:key inputs #:allow-other-keys)
-             (substitute* (string-append "plugins/clock/clock.c")
-               (("/usr/share/zoneinfo")
-                (search-input-directory inputs "share/zoneinfo"))))))))
-    (native-inputs
-     (list pkg-config
-           intltool
-           `(,glib "bin")))
-    (propagated-inputs
-     (list gtk+ ; required by libxfce4panel-2.0.pc
-           libxfce4util)) ; required by libxfce4panel-2.0.pc
-    (inputs
-     (list tzdata ;; For fix-tzdata-path phase only.
-           exo
-           xfconf
-           garcon
-           gtk-layer-shell
-           libwnck
-           libxfce4ui
-           libxfce4windowing))
+     (list
+      #:configure-flags #~(list "--enable-maintainer-mode")
+      #:phases #~(modify-phases %standard-phases
+                   (add-before 'configure 'patch-configure
+                     (lambda _
+                       (substitute* "configure"
+                         ;; XDG_CHECK_PACKAGE_BINARY requires an absolute path.
+                         (("\\$PKG_CONFIG --variable=gdbus_codegen gio-2.0")
+                          "type -p gdbus-codegen"))))
+                   (add-after 'unpack 'fix-tzdata-path
+                     (lambda* (#:key inputs #:allow-other-keys)
+                       (substitute* (string-append "plugins/clock/clock.c")
+                         (("/usr/share/zoneinfo")
+                          (search-input-directory inputs "share/zoneinfo"))))))))
+    (native-inputs (list autoconf
+                         automake
+                         (list glib "bin")
+                         gtk-doc
+                         intltool
+                         libtool
+                         pkg-config
+                         xfce4-dev-tools))
+    (propagated-inputs (list gtk+ ;required by libxfce4panel-2.0.pc
+                             libxfce4util)) ;required by libxfce4panel-2.0.pc
+    (inputs (list tzdata ;For fix-tzdata-path phase only.
+                  exo
+                  xfconf
+                  garcon
+                  gtk-layer-shell
+                  libwnck
+                  libxfce4ui
+                  libxfce4windowing))
     (native-search-paths
      (list (search-path-specification
             (variable "XDG_DATA_DIRS")
             (files '("share")))))
-    (home-page "https://www.xfce.org/")
+    (home-page "https://docs.xfce.org/xfce/xfce4-panel/")
     (synopsis "Xfce desktop panel")
     (description
      "Desktop panel for Xfce, which contains program launchers, window buttons,
-- 
2.46.0





  parent reply	other threads:[~2024-12-27 19:56 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-27 19:43 [bug#75146] [PATCH v0 00/15] XFCE: Move source from generated archive to git Ashvith Shetty
2024-12-27 19:51 ` [bug#75146] [PATCH v0 01/15] gnu: gtk-xfce-engine: Remove variable Ashvith Shetty
2024-12-27 19:51 ` [bug#75146] [PATCH v0 02/15] gnu: xfce4-dev-tools: Update variable fields Ashvith Shetty
2024-12-27 19:52 ` [bug#75146] [PATCH v0 03/15] gnu: libxfce4util: " Ashvith Shetty
2024-12-27 19:52 ` [bug#75146] [PATCH v0 04/15] gnu: xfconf: " Ashvith Shetty
2024-12-27 19:52 ` [bug#75146] [PATCH v0 05/15] gnu: libxfce4ui: " Ashvith Shetty
2024-12-27 19:52 ` [bug#75146] [PATCH v0 06/15] gnu: libxfce4windowing: " Ashvith Shetty
2024-12-27 19:53 ` [bug#75146] [PATCH v0 07/15] gnu: catfish: Update to 4.20.0 Ashvith Shetty
2024-12-27 19:53 ` [bug#75146] [PATCH v0 08/15] gnu: elementary-xfce-icon-theme: Use new style Ashvith Shetty
2024-12-27 19:53 ` [bug#75146] [PATCH v0 09/15] gnu: exo: Update variable fields Ashvith Shetty
2024-12-27 19:53 ` [bug#75146] [PATCH v0 10/15] gnu: garcon: " Ashvith Shetty
2024-12-27 19:54 ` [bug#75146] [PATCH v0 11/15] gnu: tumbler: " Ashvith Shetty
2024-12-27 19:54 ` Ashvith Shetty [this message]
2024-12-27 19:54 ` [bug#75146] [PATCH v0 13/15] gnu: xfce4-battery-plugin: Update to 1.1.6 Ashvith Shetty
2024-12-27 19:54 ` [bug#75146] [PATCH v0 14/15] gnu: xfce4-clipman-plugin: Update to 1.6.7 Ashvith Shetty
2024-12-27 19:54 ` [bug#75146] [PATCH v0 15/15] gnu: xfce4-pulseaudio-plugin: Update variable fields Ashvith Shetty
2024-12-28 11:52 ` [bug#75146] [PATCH v1 00/15] XFCE: Move source from archive to git Ashvith Shetty
2024-12-28 11:52   ` [bug#75146] [PATCH v1 01/15] gnu: gtk-xfce-engine: Remove variable Ashvith Shetty
2024-12-28 11:52   ` [bug#75146] [PATCH v1 02/15] gnu: xfce4-dev-tools: Update variable fields Ashvith Shetty
2024-12-28 11:52   ` [bug#75146] [PATCH v1 03/15] gnu: libxfce4util: " Ashvith Shetty
2024-12-28 11:52   ` [bug#75146] [PATCH v1 04/15] gnu: xfconf: " Ashvith Shetty
2024-12-28 11:52   ` [bug#75146] [PATCH v1 05/15] gnu: libxfce4ui: " Ashvith Shetty
2024-12-28 11:52   ` [bug#75146] [PATCH v1 06/15] gnu: libxfce4windowing: " Ashvith Shetty
2024-12-28 11:52   ` [bug#75146] [PATCH v1 07/15] gnu: catfish: Update to 4.20.0 Ashvith Shetty
2024-12-28 11:52   ` [bug#75146] [PATCH v1 08/15] gnu: elementary-xfce-icon-theme: Use new style Ashvith Shetty
2024-12-28 11:52   ` [bug#75146] [PATCH v1 09/15] gnu: exo: Update variable fields Ashvith Shetty
2024-12-28 11:53   ` [bug#75146] [PATCH v1 10/15] gnu: garcon: " Ashvith Shetty
2024-12-28 11:53   ` [bug#75146] [PATCH v1 11/15] gnu: tumbler: " Ashvith Shetty
2024-12-28 11:53   ` [bug#75146] [PATCH v1 12/15] gnu: xfce4-panel: " Ashvith Shetty
2024-12-28 11:53   ` [bug#75146] [PATCH v1 13/15] gnu: xfce4-battery-plugin: Update to 1.1.6 Ashvith Shetty
2024-12-28 11:53   ` [bug#75146] [PATCH v1 14/15] gnu: xfce4-clipman-plugin: Update to 1.6.7 Ashvith Shetty
2024-12-28 11:53   ` [bug#75146] [PATCH v1 15/15] gnu: xfce4-pulseaudio-plugin: Update variable fields Ashvith Shetty

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=20241227195421.27729-1-ashvith@noreply.codeberg.org \
    --to=ashvithshetty10@gmail.com \
    --cc=75146@debbugs.gnu.org \
    --cc=Ashvith@noreply.codeberg.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 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).