diff options
Diffstat (limited to 'gnu/packages/syndication.scm')
-rw-r--r-- | gnu/packages/syndication.scm | 143 |
1 files changed, 10 insertions, 133 deletions
diff --git a/gnu/packages/syndication.scm b/gnu/packages/syndication.scm index 30a1370c6d..61a71d2d9f 100644 --- a/gnu/packages/syndication.scm +++ b/gnu/packages/syndication.scm @@ -5,7 +5,7 @@ ;;; Copyright © 2021 Felix Gruber <felgru@posteo.net> ;;; Copyright © 2022 Luis Felipe López Acevedo <luis.felipe.la@protonmail.com> ;;; Copyright © 2022 Liliana Marie Prikler <liliana.prikler@gmail.com> -;;; Copyright © 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com> +;;; Copyright © 2023 Maxim Cournoyer <maxim@guixotic.coop> ;;; Copyright © 2024 Luis Guilherme Coelho <lgcoelho@disroot.org> ;;; Copyright © 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com> ;;; Copyright © 2025 Ashish SHUKLA <ashish.is@lostca.se> @@ -45,9 +45,6 @@ #:use-module (gnu packages build-tools) #:use-module (gnu packages check) #:use-module (gnu packages cmake) - #:use-module (gnu packages crates-crypto) - #:use-module (gnu packages crates-io) - #:use-module (gnu packages crates-web) #:use-module (gnu packages curl) #:use-module (gnu packages freedesktop) #:use-module (gnu packages gettext) @@ -55,7 +52,6 @@ #:use-module (gnu packages gnome) #:use-module (gnu packages gstreamer) #:use-module (gnu packages gtk) - #:use-module (gnu packages kde-frameworks) #:use-module (gnu packages man) #:use-module (gnu packages ncurses) #:use-module (gnu packages pkg-config) @@ -78,97 +74,6 @@ #:use-module (gnu packages xorg) #:use-module (srfi srfi-1)) -(define-public cawbird - (package - (name "cawbird") - (version "1.4.2") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/IBBoard/cawbird") - (commit (string-append "v"version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "17575cp5qcgsqf37y3xqg3vr6l2j8bbbkmy2c1l185rxghfacida")))) - (build-system meson-build-system) - (arguments - `(#:glib-or-gtk? #t - #:configure-flags - ;; Cawbirds's default key and secret for OAuth process with twitter. - (list - "-Dconsumer_key_base64=VmY5dG9yRFcyWk93MzJEZmhVdEk5Y3NMOA==" - "-Dconsumer_secret_base64=MThCRXIxbWRESDQ2Y0podzVtVU13SGUyVGlCRXhPb3BFRHhGYlB6ZkpybG5GdXZaSjI=") - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'disable-failing-tests - (lambda _ - ;; These tests require networking. - (substitute* "tests/meson.build" - (("[ \t]*.*avatardownload.*$") "") - (("[ \t]*.*filters.*$") "") - (("[ \t]*.*friends.*$") "") - (("[ \t]*.*inlinemediadownloader.*$") "") - (("[ \t]*.*tweetparsing.*$") "") - (("[ \t]*.*usercounter.*$") "")))) - (delete 'check) - (add-after 'install 'custom-check - (lambda* (#:key outputs tests? #:allow-other-keys) - (when tests? - ;; Tests require a running X server. - (system "Xvfb :1 +extension GLX &") - (setenv "DISPLAY" ":1") - ;; Tests write to $HOME. - (setenv "HOME" (getcwd)) - ;; Tests look for gsettings-schemas installed by the package. - (setenv "XDG_DATA_DIRS" - (string-append (getenv "XDG_DATA_DIRS") - ":" (assoc-ref outputs "out") "/share")) - (invoke "meson" "test")))) - (add-after 'glib-or-gtk-wrap 'wrap-paths - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (bin (string-append out "/bin/")) - (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")) - (gi-typelib-path (getenv "GI_TYPELIB_PATH"))) - (wrap-program (string-append bin "cawbird") - `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)) - `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))))))) - (native-inputs - `(("gettext" ,gettext-minimal) - ("glib:bin" ,glib "bin") - ("gobject-introspection" ,gobject-introspection) - ("gtk+:bin" ,gtk+ "bin") - ("pkg-config" ,pkg-config) - ("vala" ,vala) - ("xmllint" ,libxml2) - ("xorg-server" ,xorg-server-for-tests))) - (inputs - `(("bash" ,bash-minimal) ; for wrap-program - ("glib" ,glib) - ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) - ("gspell" ,gspell) - ("gstreamer" ,gstreamer) - ("gst-libav" ,gst-libav) - ("gst-plugins-bad" ,gst-plugins-bad) - ("gst-plugins-base" ,gst-plugins-base) - ("gst-plugins-good" ,gst-plugins-good) - ("gtk+" ,gtk+) - ("json-glib" ,json-glib) - ("liboauth" ,liboauth) - ("libsoup" ,libsoup) - ("rest" ,rest) - ("sqlite" ,sqlite) - ("x11" ,libx11))) - (propagated-inputs - (list dconf)) - (synopsis "Client for Twitter") - (description "Cawbird is a Twitter client built with GTK and Vala. -It supports all features except non-mention notifications, polls, threads and -cards.") - (home-page "https://ibboard.co.uk/cawbird/") - (license license:gpl3+))) - (define-public giara (package (name "giara") @@ -238,14 +143,14 @@ cards.") (define-public newsboat (package (name "newsboat") - (version "2.38") + (version "2.41") (source (origin (method url-fetch) (uri (string-append "https://newsboat.org/releases/" version "/newsboat-" version ".tar.xz")) (sha256 - (base32 "11fv2klyc16sfma0zy8phmp4x61w0hswxfwdds10gwa8i7qgdznn")))) + (base32 "194945xyacrkpwkd3246p50f8y59gw91kjrpp59z9ycrp7dbr61a")))) (build-system cargo-build-system) (native-inputs (append @@ -257,42 +162,19 @@ cards.") (list ruby-asciidoctor/minimal) '()))) (inputs - (list curl - json-c - libxml2 - ncurses - stfl - sqlite)) + (cons* curl + json-c + libxml2 + ncurses + stfl + sqlite + (cargo-inputs 'newsboat))) (arguments (list #:modules '((guix build cargo-build-system) (guix build utils) ((guix build gnu-build-system) #:prefix gnu:)) #:install-source? #f - #:cargo-inputs - (list rust-backtrace-0.3 - rust-bitflags-2 - rust-chrono-0.4 - rust-curl-sys-0.4 - rust-cxx-1 - rust-cxx-build-1 - rust-fastrand-2 - rust-gettext-rs-0.7 - rust-httpmock-0.7 - rust-lexopt-0.3 - rust-libc-0.2 - rust-md5-0.7 - rust-natord-1 - rust-nom-7 - rust-percent-encoding-2 - rust-url-2 - rust-unicode-width-0.1 - rust-unicode-segmentation-1 - rust-xdg-2) - #:cargo-development-inputs - (list rust-tempfile-3 - rust-proptest-1 - rust-section-testing-0.0.5) #:phases #~(modify-phases %standard-phases #$@(if (not (this-package-native-input "ruby-asciidoctor")) @@ -312,11 +194,6 @@ cards.") (("if curl-config") (string-append "if " (search-input-file inputs "/bin/curl-config")))))) - (add-after 'configure 'dont-vendor-self - (lambda* (#:key vendor-dir #:allow-other-keys) - ;; Don't keep the whole tarball in the vendor directory - (delete-file-recursively - (string-append vendor-dir "/" #$name "-" #$version ".tar.xz")))) (add-after 'unpack 'patch-source (lambda* (#:key outputs #:allow-other-keys) (substitute* "Makefile" |