unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#52114] [PATCH v2] * gnu/packages/xdisorg.scm (skippy-xd): New variable.
       [not found] <8>
@ 2022-03-09 22:48 ` Wamm K. D
  2022-05-19  5:54 ` [bug#55518] [PATCH] gnu: Add siglo Wamm K. D
  2024-01-08 11:09 ` [bug#68303] [PATCH] gnu: tractor: Update to 4.3.0 Danial Behzadi
  2 siblings, 0 replies; 3+ messages in thread
From: Wamm K. D @ 2022-03-09 22:48 UTC (permalink / raw)
  To: 52114; +Cc: Wamm K. D, mail

---
Gah; I'm so sorry about the lapse in time, Nicolas. I completely missed that
there was any response. I tried it out and it runs pretty nicely, I'd say.
There's been quite a few changes and just applying the patch failed for me so
I'm just sending a new one, built after the lastest commits, in case this helps,
any. Thanks a ton!
 gnu/packages/xdisorg.scm | 59 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 59 insertions(+)

diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 6dc40f0910..b9e26f0511 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -52,6 +52,7 @@
 ;;; Copyright © 2021 ikasero <ahmed@ikasero.com>
 ;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
 ;;; Copyright © 2021 jgart <jgart@dismail.de>
+;;; Copyright © 2021 Wamm K. D. <jaft.r@outlook.com>
 ;;; Copyright © 2022 John Kehayias <john.kehayias@protonmail.com>
 ;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan@gmail.com>
 ;;;
@@ -2973,6 +2974,64 @@ (define-public jumpapp
     (home-page "https://github.com/mkropat/jumpapp")
     (license license:expat)))
 
+(define-public skippy-xd
+  ;; XXX: Upstream made no release so far.  Using latest commit.
+  (let ((commit "397216ca67074c71314f5e9a6e3f1710ccabc29e")
+        (revision "1"))
+    (package
+      (name "skippy-xd")
+      ;; Version is extracted from Debian's "control" file.
+      (version (git-version "0.5" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/richardgv/skippy-xd")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "0zcjacilmsv69rv85j6nfr6pxy8z36w1sjz0dbjg6s5m4kga1zl8"))))
+      (build-system  gnu-build-system)
+      (arguments
+       (list
+        #:tests? #f                     ;no tests
+        #:phases
+        #~(modify-phases %standard-phases
+            (delete 'configure)         ;no configure script
+            (add-after 'unpack 'set-version
+              ;; SKIPPYXD_VERSION is a git commit hash.  Display our own, more
+              ;; informative (?) version string instead.
+              (lambda _
+                (substitute* "Makefile"
+                  (("\\$\\{SKIPPYXD_VERSION\\}") #$version)))))
+        #:make-flags
+        ;; XXX: Setting both PREFIX and DESTDIR is needed to work around
+        ;; a Makefile problem when moving files to "%output/etc/xdg".
+        #~(list (string-append "PREFIX=/")
+                (string-append "DESTDIR=" #$output)
+                #$(string-append "CC=" (cc-for-target)))))
+      (native-inputs
+       (list pkg-config))
+      (inputs
+       (list giflib
+             libjpeg-turbo
+             libx11
+             libxcomposite
+             libxdamage
+             libxext
+             libxft
+             libxinerama))
+      (home-page "https://github.com/richardgv/skippy-xd/")
+      (synopsis "Full-screen Exposé-style standalone task switcher for X11")
+      (description "Skippy-XD is a program that provides Exposé-like features
+such as found on the MacOS X operating system.  It is a standalone application
+for providing a window picker with live previews (including live video) on
+Linux desktops that run an X server with compositing support.  Thus, it is not
+part of the window manager and the compositing is not being used all the
+time.")
+      (license license:gpl2+))))
+
 (define-public xkbset
   (package
     (name "xkbset")
-- 
2.34.0





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#55518] [PATCH] gnu: Add siglo.
       [not found] <8>
  2022-03-09 22:48 ` [bug#52114] [PATCH v2] * gnu/packages/xdisorg.scm (skippy-xd): New variable Wamm K. D
@ 2022-05-19  5:54 ` Wamm K. D
  2024-01-08 11:09 ` [bug#68303] [PATCH] gnu: tractor: Update to 4.3.0 Danial Behzadi
  2 siblings, 0 replies; 3+ messages in thread
From: Wamm K. D @ 2022-05-19  5:54 UTC (permalink / raw)
  To: 55518; +Cc: jackhill, Wamm K. D

---
Hmmm; heh, you know, I don't either. I think it makes sense; I'll look it up
and try adding it. I may come back with questions about the @acronym syntax,
just as a heads up.

 gnu/packages/firmware.scm | 75 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 75 insertions(+)

diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm
index b63ad63749..1b81110c91 100644
--- a/gnu/packages/firmware.scm
+++ b/gnu/packages/firmware.scm
@@ -8,6 +8,7 @@
 ;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
 ;;; Copyright © 2020, 2021, 2022 Marius Bakke <marius@gnu.org>
 ;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com>
+;;; Copyright © 2022 Wamm K. D. <jaft.r@outlook.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -42,13 +43,19 @@ (define-module (gnu packages firmware)
   #:use-module (gnu packages curl)
   #:use-module (gnu packages cross-base)
   #:use-module (gnu packages flex)
+  #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages gcc)
+  #:use-module (gnu packages gettext)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
+  #:use-module (gnu packages gtk)
   #:use-module (gnu packages libusb)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages python)
+  #:use-module (gnu packages python-crypto)
+  #:use-module (gnu packages python-web)
+  #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages pkg-config))
 
 (define-public ath9k-htc-firmware
@@ -634,3 +641,71 @@ (define-public arm-trusted-firmware-imx8mq
          ((#:make-flags flags ''())
           ;; Adding debug symbols causes the size to exceed limits.
           #~(delete "DEBUG=1" #$flags)))))))
+
+(define-public siglo
+  (package
+    (name "siglo")
+    (version "0.9.6")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url (string-append "https://github.com/alexr4535/" name "/"))
+                    (commit (string-append "v" version))))
+              (sha256 (base32
+                       "1q241465l0kjirycvhgrm5ylqll6ywqfyg2arad224v47fz7lb8g"))))
+    (build-system meson-build-system)
+    (native-inputs (list gettext-minimal
+                         `(,glib "bin")  ; for 'glib-compile-resources',
+                                         ;     'glib-compile-schemas'
+                         pkg-config
+                         `(,gtk+ "bin")  ; for gtk-update-icon-cache
+                         ))
+    (inputs (list gtk+
+                  desktop-file-utils
+                  appstream-glib  ; listed as appstream-util, in configure
+                  python
+                  python-pyxdg
+                  python-gatt
+                  python-dbus
+                  python-pygobject
+                  python-requests
+                  python-urllib3
+                  python-chardet
+                  python-certifi
+                  python-idna))
+    (arguments `(#:glib-or-gtk? #t
+                 #:phases (modify-phases %standard-phases
+                            (add-before 'configure 'remove-internet-using-test
+                              (lambda _
+                                (substitute* "data/meson.build"
+                                  (("appstream_util.found\\(\\)") "false")
+                                  (((string-append
+                                     "install_data[(]'siglo\\.service', "
+                                     "install_dir: '/etc/systemd/user/'[)]"))
+                                   ""))))
+                            (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
+                              (lambda* (#:key outputs inputs #:allow-other-keys)
+                                (wrap-program (string-append
+                                               (assoc-ref outputs "out")
+                                               "/bin/siglo")
+                                  `("GUIX_PYTHONPATH" =
+                                    ,(map
+                                      (lambda (python-input)
+                                        (string-append (cdr python-input)
+                                                       "/lib/python"
+                                                       ,(version-major+minor
+                                                         (package-version python))
+                                                       "/site-packages"))
+                                      (filter
+                                       (lambda (input)
+                                         (string-prefix? "python" (car input)))
+                                       inputs)))
+                                  `("GI_TYPELIB_PATH" =
+                                    (,(getenv "GI_TYPELIB_PATH")))))))))
+    (synopsis "GTK app to sync InfiniTime watch with PinePhone")
+    (description "Siglo is a GTK app. to sync with the InfiniTime watch via
+Bluetooth.  With a connection via Siglo, you can check the firmware version of
+your PineTime and sync the date/time.  You can, also, update the firmware and
+bootloader of the watch.")
+    (home-page "https://github.com/alexr4535/siglo")
+    (license license:mpl2.0)))
-- 
2.36.0





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#68303] [PATCH] gnu: tractor: Update to 4.3.0.
       [not found] <8>
  2022-03-09 22:48 ` [bug#52114] [PATCH v2] * gnu/packages/xdisorg.scm (skippy-xd): New variable Wamm K. D
  2022-05-19  5:54 ` [bug#55518] [PATCH] gnu: Add siglo Wamm K. D
@ 2024-01-08 11:09 ` Danial Behzadi
  2 siblings, 0 replies; 3+ messages in thread
From: Danial Behzadi @ 2024-01-08 11:09 UTC (permalink / raw)
  To: 68303; +Cc: Danial Behzadi

* gnu/packages/tor.scm (tractor): Update to 4.3.0.
[source]: The new primary download link is from Framagit.
[inputs]: Remove python-psutil as no longer needed.
[phases]: Upstream is now in src-layout. data is excluded.
[home-page]: The new home is hosted on tractor.frama.io.
---
 gnu/packages/tor.scm | 24 ++++++++++--------------
 1 file changed, 10 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/tor.scm b/gnu/packages/tor.scm
index b81944ee6b..06b0746670 100644
--- a/gnu/packages/tor.scm
+++ b/gnu/packages/tor.scm
@@ -10,7 +10,7 @@
 ;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
 ;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
 ;;; Copyright © 2020 André Batista <nandre@riseup.net>
-;;; Copyright © 2021-2023 Danial Behzadi <dani.behzi@ubuntu.com>
+;;; Copyright © 2021-2024 Danial Behzadi <dani.behzi@ubuntu.com>
 ;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
 ;;; Copyright © 2022 Jim Newsome <jnewsome@torproject.org>
 ;;; Copyright © 2023 Clément Lassieur <clement@lassieur.org>
@@ -443,20 +443,20 @@ (define-public nyx
 (define-public tractor
   (package
     (name "tractor")
-    (version "4.1.1")
+    (version "4.3.0")
     (source
      (origin
        (method url-fetch)
-       (uri (pypi-uri "traxtor" version))
+       (uri (string-append "https://framagit.org/tractor/tractor/-/archive/"
+                           version "/tractor-" version ".tar.bz2"))
        (sha256
         (base32
-         "1542g6alycwlmvndxcijzn4d5lgycmxxb78gqd8qwgm9kw0fnr3q"))))
+         "1kal71hh8wbar19785b86q62rcilxrma8ldjjk258vf7lr1w12dv"))))
     (build-system pyproject-build-system)
     (native-inputs
      (list (list glib "bin")))       ; for glib-compile-schemas.
     (inputs
      (list python-fire
-           python-psutil
            python-pygobject
            python-requests
            python-stem
@@ -464,25 +464,21 @@ (define-public tractor
     (arguments
      (list
       #:tests? #f                   ; no test suite.
-      #:phases
-      #~(modify-phases %standard-phases
+      #:phases #~(modify-phases %standard-phases
           (add-after 'install 'install-man-page
             (lambda _
               (let ((man1 (string-append #$output "/share/man/man1")))
-                (install-file "tractor/man/tractor.1" man1))))
+                (install-file "data/tractor.1" man1))))
           (add-after 'install 'install-bash-completion
             (lambda _
-              (mkdir "bash-completion")
-              (rename-file "tractor/tractor-completion"
-                           "bash-completion/tractor")
               (let ((bash-completion
                       (string-append #$output "/share/bash-completion/completions")))
-                (install-file "bash-completion/tractor" bash-completion))))
+                (install-file "data/completion/bash/tractor" bash-completion))))
           (add-after 'install 'install-gschema
             (lambda _
               (let ((schemas (string-append #$output "/share/glib-2.0/schemas")))
-                (install-file "tractor/tractor.gschema.xml" schemas)))))))
-    (home-page "https://framagit.org/tractor")
+               (install-file "src/tractor/tractor.gschema.xml" schemas)))))))
+    (home-page "https://tractor.frama.io/tractor/")
     (synopsis "Setup an onion routing proxy")
     (description
      "This package uses Python stem library to provide a connection through
-- 
2.39.2





^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-01-08 11:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <8>
2022-03-09 22:48 ` [bug#52114] [PATCH v2] * gnu/packages/xdisorg.scm (skippy-xd): New variable Wamm K. D
2022-05-19  5:54 ` [bug#55518] [PATCH] gnu: Add siglo Wamm K. D
2024-01-08 11:09 ` [bug#68303] [PATCH] gnu: tractor: Update to 4.3.0 Danial Behzadi

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).