From 6a54e8138bda39722c9418d4cb674f53ecc4e594 Mon Sep 17 00:00:00 2001 From: Renzo Poddighe Date: Sat, 15 May 2021 20:27:25 +0200 Subject: gnu: Add jumpapp. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/xdisorg.scm (jumpapp): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/xdisorg.scm | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) (limited to 'gnu/packages/xdisorg.scm') diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index 83fefecedc..6d7794ef43 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -45,6 +45,7 @@ ;;; Copyright © 2020, 2021 Zheng Junjie <873216071@qq.com> ;;; Copyright © 2021 Nicolas Goaziou ;;; Copyright © 2021 Xinglu Chen +;;; Copyright © 2021 Renzo Poddighe ;;; ;;; This file is part of GNU Guix. ;;; @@ -2796,3 +2797,44 @@ (define-public hsetroot "The @command{hsetroot} command composes wallpapers for X. This package is the fork of hsetroot by Hyriand.") (license license:gpl2+))) + +(define-public jumpapp + (package + (name "jumpapp") + (version "1.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mkropat/jumpapp") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1jrk4mm42sz6ca2gkb6w3dad53d4im4shpgsq8s4vr6xpl3b43ry")))) + (build-system gnu-build-system) + (arguments `(#:phases + (modify-phases %standard-phases + (delete 'configure) + (delete 'check) + (add-before 'install 'set-prefix-in-makefile + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (substitute* "Makefile" + (("PREFIX =.*") + (string-append "PREFIX = " out "\n"))) + #true)))))) + (propagated-inputs + `(("wmctrl" ,wmctrl) + ("xdotool" ,xdotool) + ("xprop" ,xprop))) + (native-inputs + `(("pandoc" ,pandoc) + ("perl" ,perl))) + (synopsis "Run-or-raise application switcher for any X11 desktop") + (description + "Bind a key for any given application that will launch the application, +if it's not already running, or focus the application's window,if it is running. +Pressing the key again will cycle to the application's next window, +if there's more than one.") + (home-page "https://github.com/mkropat/jumpapp") + (license license:expat))) -- cgit v1.2.3 From 58b85f7f419e77930765647ffc41011c1103066e Mon Sep 17 00:00:00 2001 From: WinterHound Date: Tue, 20 Apr 2021 23:53:45 +0530 Subject: gnu: Add xdo. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/xdisorg.scm (xdo): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/xdisorg.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) (limited to 'gnu/packages/xdisorg.scm') diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index 6d7794ef43..bf4b062973 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -511,6 +511,39 @@ (define-public xdotool between desktops, and change the number of desktops.") (license license:bsd-3))) +(define-public xdo + (package + (name "xdo") + (version "0.5.7") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/baskerville/xdo") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1h3jrygcjjbavdbkpx2hscsf0yf97gk487lzjdlvymd7dxdv9hy9")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; no tests + #:make-flags + (list (string-append "CC=" ,(cc-for-target)) + (string-append "PREFIX=" %output)) + #:phases + (modify-phases %standard-phases + (delete 'configure)))) + (inputs + `(("libxcb" ,libxcb) + ("xcb-util-wm" ,xcb-util-wm) + ("xcb-util" ,xcb-util))) + (home-page "https://github.com/baskerville/xdo") + (synopsis "Small X utility to perform elementary actions on windows") + (description + "Apply the given action to the given windows. If no window IDs and no +options are given, the action applies to the focused window.") + (license license:bsd-2))) + (define-public xeyes (package (name "xeyes") -- cgit v1.2.3 From 3573e73840a59e4168cf744b86442b181b30c243 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sat, 29 May 2021 23:36:59 +0200 Subject: gnu: net-snmp: Omit static library. * gnu/packages/networking.scm (net-snmp)[arguments]: Add "--disable-static" configure flag. --- gnu/packages/networking.scm | 1 + gnu/packages/python.scm | 4 ++-- gnu/packages/xdisorg.scm | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) (limited to 'gnu/packages/xdisorg.scm') diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 7286e513f7..945123e600 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -3214,6 +3214,7 @@ (define-public net-snmp (list (string-append "LDFLAGS=-Wl,-rpath=" (assoc-ref %outputs "out") "/lib") + "--disable-static" "--with-logfile=/var/log/snmpd.log" (string-append "--with-openssl=" (assoc-ref %build-inputs "openssl"))) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index ce424bdeb0..e694321e17 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -651,7 +651,7 @@ (define-public python-minimal-wrapper (wrap-python3 python-minimal)) (define-public micropython (package (name "micropython") - (version "1.14") + (version "1.15") (source (origin (method url-fetch) @@ -659,7 +659,7 @@ (define-public micropython "releases/download/v" version "/micropython-" version ".tar.xz")) (sha256 - (base32 "0k6ri3rxxnnmvcbi7z7x59r21f4vj9dcf9j64jhj1cgazmb62c4p")) + (base32 "04sfrfcljhfps340l4wh5ffwkhw1ydraday8nv92nv7gmnrj1l2j")) (modules '((guix build utils))) (snippet '(begin diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index bf4b062973..5573e2afb5 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -1235,7 +1235,7 @@ (define-public xcape (define-public libwacom (package (name "libwacom") - (version "1.7") + (version "1.10") (source (origin (method url-fetch) (uri (string-append @@ -1243,7 +1243,7 @@ (define-public libwacom "libwacom-" version "/libwacom-" version ".tar.bz2")) (sha256 (base32 - "0797gc055dgg2jfqijy9823bd83jwr4wb2z9id992qlcr0xmz1rw")))) + "14aj4ss1chxxgaprs9sfriia2ch9wj9rqay0ndkzk1m7jx2qrjgn")))) (build-system glib-or-gtk-build-system) (arguments `(#:configure-flags '("--disable-static"))) -- cgit v1.2.3