unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Josep Bigorra <jjbigorra@gmail.com>
To: 74567@debbugs.gnu.org
Subject: [bug#74567] SwayFX update to 0.4
Date: Wed, 27 Nov 2024 20:08:55 +0100	[thread overview]
Message-ID: <CAM_04A3kqkAxcZQPiKhVHP621APvRzSsVxycSRgNc9UHd9DBjg@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2918 bytes --]

Hi all!
I have managed to get SwayFX 0.4 working nicely. This required adding a new
package.
I look forward to contributing upstream, but need some handholding in how
to do that.

Here some code, showing how i managed:

```
(define-public scenefx
  (package
   (name "scenefx")
   (version "0.1")
   (source (origin
            (method git-fetch)
            (uri (git-reference
                  (url "https://github.com/wlrfx/scenefx.git")
                  (commit version)))
            (file-name (git-file-name name version))
            (sha256
             (base32
              "1r7f8bprsn0mwlkmc8d14nr3iibljfyxypb4i06v66ghlngaw6dw"))))
   (build-system meson-build-system)
   (inputs (map (lambda (x) (specification->package x))
                `("basu"
                  "cairo"
                  "gdk-pixbuf"
                  "json-c"
                  "cmake"
                  "pango"
                  "libevdev"
                  "libinput-minimal"
                  "libxkbcommon"
                  "pango"
                  "pcre2"
                  "pkg-config"
                  "pcre2"
                  "wayland"
                  "wayland-protocols"
                  "wlr-protocols"
                  "libdrm"
                  "wlroots@0.17.4")))
   (home-page "https://github.com/wlrfx/scenefx.git")
   (synopsis "SceneFX")
   (description
    "SceneFX")
   (license license:expat)))

(define-public sss-swayfx
  (package
   (inherit sway)
   (name "swayfx")
   (version "0.4")
   (source (origin
            (method git-fetch)
            (uri (git-reference
                  (url "https://github.com/WillPower3309/swayfx")
                  (commit version)))
            (file-name (git-file-name name version))
            (sha256
             (base32
              "0651gbkszc8wwkiiw983m3815cfyk4c9v4mpd1nqf27a0f6qjgsm"))))
   (build-system meson-build-system)
   (inputs (append
            (map (lambda(x) (specification->package x))
                 `("basu"
                   "cairo"
                   "gdk-pixbuf"
                   "json-c"
                   "cmake"
                   "pango"
                   "libevdev"
                   "libinput-minimal"
                   "libxkbcommon"
                   "pcre2"
                   "pkg-config"
                   "swaybg"
                   "wayland"
                   "wayland-protocols"
                   "wlr-protocols"
                   "libdrm"
                   "wlroots@0.17.4"
                   ))
            (list scenefx pango)
            ))
   (home-page "https://github.com/WillPower3309/swayfx")
   (synopsis "Sway Fork with extra options and effects")
   (description
    "Fork of Sway, a Wayland compositor compatible with i3.  SwayFX
adds extra options and effects to the original Sway, such as blur, rounded
corners, shadows, inactive window dimming, etc.")
   (license license:expat)))
```

[-- Attachment #2: Type: text/html, Size: 4497 bytes --]

                 reply	other threads:[~2024-11-28  5:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=CAM_04A3kqkAxcZQPiKhVHP621APvRzSsVxycSRgNc9UHd9DBjg@mail.gmail.com \
    --to=jjbigorra@gmail.com \
    --cc=74567@debbugs.gnu.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).