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 1/3] gnu: Add boost-1.74.0.
Date: Thu,  9 Jan 2025 02:40:02 +0900	[thread overview]
Message-ID: <cb30af49420be6085f0d091952712ec8b38122a4.1736357207.git.rocktakey@gmail.com> (raw)

Change-Id: Iddd713d958b052517e1819d2abd926cd1210126c
---
 gnu/packages/boost.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/boost.scm b/gnu/packages/boost.scm
index d090c52d8d..f560ca0800 100644
--- a/gnu/packages/boost.scm
+++ b/gnu/packages/boost.scm
@@ -18,6 +18,7 @@
 ;;; Copyright © 2021, 2022 Greg Hogan <code@greghogan.com>
 ;;; Copyright © 2021 Franck Pérignon <franck.perignon@univ-grenoble-alpes.fr>
 ;;; Copyright © 2021 Aleksandr Vityazev <avityazev@posteo.org>
+;;; Copyright © 2025 ROCKTAKEY <rocktakey@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -361,6 +362,30 @@ (define-public boost-for-mysql
        (delete "python-minimal-wrapper")))
     (properties '((hidden? . #t)))))
 
+(define-public boost-for-siv3d
+  (package
+    (inherit boost)
+    (version "1.74.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://boostorg.jfrog.io/artifactory/main/release/"
+                                  version "/source/boost_"
+                                  (version-with-underscores version) ".tar.bz2"))
+              (sha256
+               (base32
+                "1c8nw4jz17zy2y27h7p554a5jza1ymz8phkz71p9181ifx8c3gw3"))))
+    (arguments
+     (substitute-keyword-arguments (package-arguments boost)
+       ((#:phases phases)
+        #~(modify-phases #$phases
+            (add-before 'configure 'substitute-for-python-compatibility
+              (lambda _
+                ;; For compatibility to Python 3.10.
+               ;; Retrived from future commit:
+               ;; https://github.com/boostorg/python/commit/cbd2d9f033c61d29d0a1df14951f4ec91e7d05cd
+               (substitute* '("libs/python/src/exec.cpp")
+                 (("_Py_fopen") "fopen"))))))))))
+
 (define-public boost-sync
   (let ((commit "e690de2d30e2f1649ff500c9a6f3539814994b1c")
         (version "1.55")

base-commit: 5d9e839fce98c49a8db47422a050ce03d799fe02
-- 
2.47.1





             reply	other threads:[~2025-01-08 17:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-08 17:40 ROCKTAKEY [this message]
2025-01-08 17:56 ` [bug#75441] [PATCH 1/3] gnu: Add boost-1.74.0 Takeda Yuki
2025-01-08 18:07 ` [bug#75441] [PATCH 2/3] gnu: Add giflib-5.1.4 ROCKTAKEY
2025-01-08 18:14   ` bug#75441: [PATCH 1/3] gnu: Add boost-1.74.0 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=cb30af49420be6085f0d091952712ec8b38122a4.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).