bug#47557: attempting to package MegaZeux

2021-04-02 Thread vidak
Hello!

I am attempting to package this piece of software:

https://github.com/AliceLR/megazeux

However I am having issues understanding exactly how to deal with its
non-standard build process.

I have attached the work I have already done to this email.

Could anyone help me understand where I am going wrong?

Thanks so much for your time (:

~vidak

@vidak@awkward.company
https://bootlicker.party(define-module (gnu packages megazeux)
  #:use-module (ice-9 match)
  #:use-module (guix packages)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix utils)
  #:use-module (gnu packages)
  #:use-module (guix download)
  #:use-module (guix git-download)
  #:use-module (guix build-system gnu)
  #:use-module (gnu packages autotools)
  #:use-module (gnu packages build-tools)
  #:use-module (gnu packages xiph)
  #:use-module (gnu packages game-development)
  #:use-module (gnu packages image)
  #:use-module (gnu packages sdl)
  #:use-module (gnu packages pkg-config))
  

(define-public megazeux
  (let ((commit "eb04c509c80f42af331bb1aa0bde7b31df4dd28e")
(revision "1"))
(package
 (name "megazeux")
 (version (git-version "2.92f" revision commit))
 (source (origin
  (method git-fetch)
  (uri (git-reference
(url "https://github.com/AliceLR/megazeux/";)
(commit commit)))
  (file-name (git-file-name name version))
  (sha256
   (base32
"15zbqwyi34m810njylfahgbr2w0sswqbb632vrgr9yd1aayzg9pj"))
  (modules '((guix build utils)
 (build-system gnu-build-s)
 (outputs '("out" "debug"))
 (arguments
  `(#:tests? #f
#:modules ((guix build utils))
#:configure-flags '("--platform unix")
#:make-flags (list (string-append "prefix=" (assoc-ref %outputs "out"))
   "CC=gcc")
#:phases
(modify-phases %standard-phases
   (replace 'configure
(lambda* (#:key outputs (configure-flags '()) 
#:allow-other-keys)
 (apply invoke "./config.sh" 
configure-flags)))
   )))
  (native-inputs
   `(("pkg-config" ,pkg-config)))
  (inputs
  `(("libpng" ,libpng)
("libogg" ,libogg)
("libvorbis" ,libvorbis)
("sdl2" ,sdl2)))
 (home-page "https://www.digitalmzx.com/";)
 (synopsis "The MegaZeux game creation system.")
 (description
  "MegaZeux is a game creation system (GCS) created by game
developer Alexis Janson in 1994. Originally a DOS program, in 2005 a
multi-platform port was released by Exophase.")
 (license license:gpl2

megazeux


bug#56012: guix pull fails. cannot build guix-package-cache.drv.

2022-06-15 Thread vidak
hey all.

vidak here.

i cannot get `guix pull` to work for me.

i am having issues getting the package-cache.drv to build.

i was homeless, and unable to update my workstation for about... a
month?

here are some related issues:

https://issues.guix.gnu.org/52650

https://issues.guix.gnu.org/47949

https://issues.guix.gnu.org/33661

i can trace the output logs to this commit, which seems to be the
offending one. 

commit -- 3b50b327f7cf3226a0e37bc6afa1e921c9c075f7

```
~ $ cat
/var/log/guix/drvs/zk/1hgixlv3gccgbriad7nr2xyla8bbzx-guix-package-cache.drv
(repl-version 0 1 1)
Generating package cache for
'/gnu/store/1mzdd7rf9r34xiibcs1gpjsf7jkh6a0r-profile'...
(exception unbound-variable (value #f) (value "Unbound variable: ~S")
(value (libpng-1.2)) (value #f))
```

i can `guix pull --commit` to before 31-05-2022, but i cannot seem to
pull to anything later than that date.

can anyone help me?

thanks so much in advance.

~vidak

https://zoinks.one/vidak





bug#50728: Update Pandoc (just on my machine)

2021-09-21 Thread vidak
I know that there is this issue:

http://issues.guix.gnu.org/39798

And it was closed because Guix wants to stay with the LTS version of
Haskell.

But I need to use some features that come in later versions of pandoc.

A few of my static site generator projects break because I need features
that come after 2.7.x, which is the version that Guix packages.

Can someone explain to me how to package the latest pandoc just on my
own computer?

Thanks.

~vidak