Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#lang video on Guix OS #67

Open
Bost opened this issue Jul 13, 2022 · 5 comments
Open

#lang video on Guix OS #67

Bost opened this issue Jul 13, 2022 · 5 comments

Comments

@Bost
Copy link

Bost commented Jul 13, 2022

Hi Leif,

FYI I just created a patch [1] enabling #lang video on the Guix OS. I guess you might want to extend the list [2] of supported operating systems when the patch gets merged ;-)

Cheers

Bost

[1] https://issues.guix.gnu.org/56534
[2] https://docs.racket-lang.org/video@video/Installing.html

PS: It's been more than 2,5 years since you made your last commit. It'd a pitty not to continue this project.

@LiberalArtist
Copy link
Contributor

LiberalArtist commented Jul 13, 2022 via email

@LiberalArtist
Copy link
Contributor

Apparently markdown doesn't work when replying by email, so here's the code:

(define-public racket-with-video
  (let* ((commit "3c69669063c56ff8d269768589cb9506a33315e5")
         (revision "1")
         (video-version (git-version "0.2.3" revision commit)))
    (package
      (inherit racket)
      (version (string-append %racket-version "+video" video-version))
      (source #f)
      (native-inputs '())
      (inputs
       (list
        racket
        (racket-vm-for-system)
        ffmpeg
        portaudio
        (racket-packages-origin
         "video" (origin
                   (method git-fetch)
                   (uri (git-reference
                         (url "https://github.com/videolang/video")
                         (commit commit)))
                   (sha256
                    (base32 "17lysqgd4h0kdx73vzmsdqc6ip5rlk56hss3880yapvic14lf5dy"))
                   (file-name (git-file-name "racket-video" video-version)))
         '("video"))
        #|
        ... likewise for other packages not in main-distribution,
        particularly libvid ...
        |#))
      (arguments
       (substitute-keyword-arguments (package-arguments racket)
         ((#:make-flags _ '())
          #~`("video"))
         ((#:configure-flags _ '())
          #~`("--tethered"
              "--extra-foreign-lib-search-dirs"
              ,(format #f "~s"
                       '(#$@(map (lambda (name)
                                   (cond
                                    ((this-package-input name)
                                     => (cut file-append <> "/lib"))
                                    (else
                                     (raise
                                      (formatted-message
                                       (G_ "missing input '~a' to the 'racket-with-video' package")
                                       name)))))
                                 '("portaudio"
                                   "ffmpeg"))))))))
      (home-page "https://lang.video")
      (synopsis "Racket with @code{#lang video}")
      (description
       "Video is a language for making movies.  It combines the power
of a traditional video editor with the capabilities of a full
programming language.  Video integrates with the Racket ecosystem and
extensions for DrRacket to transform it into a non-linear video
editor.")
      (license license:asl2.0))))

@LiberalArtist
Copy link
Contributor

LiberalArtist commented Oct 9, 2023 via email

@LiberalArtist
Copy link
Contributor

LiberalArtist commented Oct 9, 2023 via email

LiberalArtist added a commit to LiberalArtist/racket that referenced this issue Oct 20, 2023
Configure the release notes page to be rendered separately at every
installation layer. Otherwise, rendering documentation for packages
installed in a new layer might try to write to `release/in.sxref`
in the parent layer’s docs directory.

Related to videolang/video#67
Related to https://issues.guix.gnu.org/56534
@LiberalArtist
Copy link
Contributor

LiberalArtist commented Oct 21, 2023 via email

mflatt pushed a commit to racket/racket that referenced this issue Oct 21, 2023
Configure the release notes page to be rendered separately at every
installation layer. Otherwise, rendering documentation for packages
installed in a new layer might try to write to `release/in.sxref`
in the parent layer’s docs directory.

Related to videolang/video#67
Related to https://issues.guix.gnu.org/56534
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants