unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: ROCKTAKEY <rocktakey@gmail.com>
To: 75441@debbugs.gnu.org
Cc: ROCKTAKEY <rocktakey@gmail.com>
Subject: [bug#75441] [PATCH 2/3] gnu: Add giflib-5.1.4.
Date: Thu,  9 Jan 2025 03:07:33 +0900	[thread overview]
Message-ID: <1e089972a1bac4e1ca72b46d8847d84b875039a4.1736357207.git.rocktakey@gmail.com> (raw)
In-Reply-To: <cb30af49420be6085f0d091952712ec8b38122a4.1736357207.git.rocktakey@gmail.com>

Change-Id: I7237db9c86f0e26cc6ceb836cbedc8bb578b072f
---
 gnu/packages/image.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 7337a27b88..8a94806f24 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -39,6 +39,7 @@
 ;;; Copyright © 2023-2024 Nicolas Goaziou <mail@nicolasgoaziou.fr>
 ;;; Copyright © 2023 Artyom V. Poptsov <poptsov.artyom@gmail.com>
 ;;; Copyright © 2024 chris <chris@bumblehead.com>
+;;; Copyright © 2025 ROCKTAKEY <rocktakey@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1076,6 +1077,33 @@ (define-public giflib
     (home-page "http://giflib.sourceforge.net/")
     (license license:x11)))
 
+(define-public giflib-for-siv3d
+  (package
+    (inherit giflib)
+    (version "5.1.4")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://sourceforge/giflib/giflib-"
+                                  version ".tar.bz2"))
+              (sha256
+               (base32
+                "1md83dip8rf29y40cm5r7nn19705f54iraz6545zhwa6y8zyq9yz"))))
+    (arguments
+     (append
+      ;; FIXME: Somehow test failed
+      '(#:tests? #f)
+      (substitute-keyword-arguments (package-arguments giflib)
+        ((#:phases phases)
+         #~(modify-phases #$phases
+             (add-before 'build 'configure
+               (lambda args
+                 (apply (assoc-ref %standard-phases 'configure) args)))
+             (replace 'disable-html-doc-gen
+               (lambda _
+                 (substitute* "doc/Makefile.in"
+                   (("^all: allhtml manpages") ""))
+                 #t)))))))))
+
 (define-public libuemf
   (package
     (name "libuemf")
-- 
2.47.1





  parent reply	other threads:[~2025-01-08 18:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-08 17:40 [bug#75441] [PATCH 1/3] gnu: Add boost-1.74.0 ROCKTAKEY
2025-01-08 17:56 ` Takeda Yuki
2025-01-08 18:07 ` ROCKTAKEY [this message]
2025-01-08 18:14   ` bug#75441: " ROCKTAKEY
2025-01-08 18:11 ` [bug#75443] [PATCH 3/3] gnu: Add Siv3D ROCKTAKEY

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=1e089972a1bac4e1ca72b46d8847d84b875039a4.1736357207.git.rocktakey@gmail.com \
    --to=rocktakey@gmail.com \
    --cc=75441@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).