[bug#75146,v0,14/15] gnu: xfce4-clipman-plugin: Update to 1.6.7.

Message ID 20241227195444.27827-1-ashvith@noreply.codeberg.org
State New
Headers
Series XFCE: Move source from generated archive to git. |

Commit Message

Ashvith Shetty Dec. 27, 2024, 7:54 p.m. UTC
  From: Ashvith Shetty <Ashvith@noreply.codeberg.org>

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

Change-Id: Ic3835b31ac0db45b372cc679b48f17d6fd0b79e1
---
 gnu/packages/xfce.scm | 37 ++++++++++++++++++++++---------------
 1 file changed, 22 insertions(+), 15 deletions(-)
  

Patch

diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index 0cff15566e..e2228cea8d 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -566,22 +566,29 @@  (define-public xfce4-battery-plugin
 (define-public xfce4-clipman-plugin
   (package
     (name "xfce4-clipman-plugin")
-    (version "1.6.6")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append "https://archive.xfce.org/src/panel-plugins/"
-                                  "xfce4-clipman-plugin/" (version-major+minor version) "/"
-                                  "xfce4-clipman-plugin-" version ".tar.bz2"))
-              (sha256
-               (base32
-                "083i9pbcqjkdzzjx055ld4gd4gn3xnc3rn10vpsqv1vg01dlgb88"))))
+    (version "1.6.7")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://gitlab.xfce.org/panel-plugins/xfce4-clipman-plugin")
+             (commit (string-append name "-" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0spg9mdlcx98kjisv0c9axp7knhh8am5dqfa2lspj1jbgvah1dwi"))))
     (build-system gnu-build-system)
-    (native-inputs
-     (list intltool pkg-config))
-    (inputs
-     (list exo libxfce4ui libxtst xfce4-panel))
-    (home-page
-     "https://goodies.xfce.org/projects/panel-plugins/xfce4-clipman-plugin")
+    (arguments
+     (list
+      #:configure-flags #~(list "--enable-maintainer-mode")))
+    (native-inputs (list autoconf
+                         automake
+                         gtk-doc
+                         intltool
+                         libtool
+                         pkg-config
+                         xfce4-dev-tools))
+    (inputs (list exo libxfce4ui libxtst wlr-protocols xfce4-panel))
+    (home-page "https://docs.xfce.org/panel-plugins/xfce4-clipman-plugin/")
     (synopsis "Clipboard manager for Xfce")
     (description
      "Clipman is a clipboard manager for Xfce.  It keeps the clipboard contents