From unknown Fri Aug 08 15:18:41 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#71862] [PATCH] gnu: Add pharo. Resent-From: Jorge Acereda Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 30 Jun 2024 18:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 71862 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71862@debbugs.gnu.org Cc: Jorge Acereda X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17197736777793 (code B ref -1); Sun, 30 Jun 2024 18:55:01 +0000 Received: (at submit) by debbugs.gnu.org; 30 Jun 2024 18:54:37 +0000 Received: from localhost ([127.0.0.1]:59111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sNzh6-00021c-8D for submit@debbugs.gnu.org; Sun, 30 Jun 2024 14:54:36 -0400 Received: from lists.gnu.org ([209.51.188.17]:43642) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sNzh3-00021U-K2 for submit@debbugs.gnu.org; Sun, 30 Jun 2024 14:54:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sNzh3-0003Hc-AH for guix-patches@gnu.org; Sun, 30 Jun 2024 14:54:33 -0400 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sNzh1-0004ia-9L for guix-patches@gnu.org; Sun, 30 Jun 2024 14:54:33 -0400 Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-361785bfa71so1689302f8f.2 for ; Sun, 30 Jun 2024 11:54:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719773669; x=1720378469; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ssxi12/wKuFA33owb+KxObZV2/sTKjlhgav8CSLDtZY=; b=UpUJGtrG9yspqVZkwUEO2THIGmSiVJ4FggMv4xDPltI1f34AOgrOfndmV1i5iZicq+ iKw5vM5i/JsMRcjuo3gpPTXIQg9Q7z/iQ+opuklaf6NWaYbiIy9dp5OkVhkGisdjx4Ko 4a68WJWKG3VEZCzMLvZjYoiCnCycPZNQATEjQikfy9Fi7dOMJeijKNE1vleFa0NBO02h Qrpye9TDhj+u8i31POoI5bBal0ijLzdTh0rOG3+qT9zbncBEh9E0ZfGlEANBamk26zfc CclKP9bTRosJwu+TC3x4z5AnAlm1vveuVTkcwOqEuIpOzrmrRpCpvrT5wP578+frJyDp lOAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719773669; x=1720378469; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ssxi12/wKuFA33owb+KxObZV2/sTKjlhgav8CSLDtZY=; b=iAi19PNbXYDQRQaP6gCVB+YK+KqrWTeV3Jlo3QdCnRr+wKPC8lWbgDgdOsYUtoA/n3 aku8NsZ9h1HhmaBh36UdVyy1X++0w1OUq62RFBXfE/pDBa4zOlB8Wj0l/fR4y+CJc9j3 fQ9i4k9mYy9zqSakAQtmhUG1XK54a+TRT4U7qvlvx4l09MVlMaVUF5lXSNiNS5mVFwwB 5T5VbaeM7YPqWK6wNCBhiXy2blq1jCL5sDnXjacYqT9EgQ0vepu/BRcewmJH5mkWS0RA I1pFNXh5lEzQyxXmOdb4t01qIJCUITcr5Y+it+9ARD5ac/u1T11ZfzXVahDdM5abCr1B Rn5w== X-Gm-Message-State: AOJu0YyhV+lq2nW0dgSrZI0+NaZcBqV8IDzDgUBNLx2GZ0AMRG35xOpz Jafz3Si1xlt+C7jDLKziuahzIY4yA+OCLMgdh7dTqnZxQ21pRhHUHoCZVA== X-Google-Smtp-Source: AGHT+IGatpiu1EJFt/gqniFkE5PemR58nc7FpD5aOrlYAU28YWdCJ74ROBZPfQMVop44H4Bh1Wzvdw== X-Received: by 2002:adf:f983:0:b0:354:e089:41ea with SMTP id ffacd0b85a97d-367757201fbmr2158665f8f.44.1719773669160; Sun, 30 Jun 2024 11:54:29 -0700 (PDT) Received: from localhost.localdomain ([91.247.175.110]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3675a0fb950sm8038047f8f.83.2024.06.30.11.54.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 30 Jun 2024 11:54:28 -0700 (PDT) From: Jorge Acereda Date: Sun, 30 Jun 2024 20:53:33 +0200 Message-ID: <33ce0e5891298e45598489006595bd9bfc6d6685.1719773612.git.jacereda@gmail.com> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Content-Type: text/plain; charset=yes Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=jacereda@gmail.com; helo=mail-wr1-x435.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) I didn't realize there's already an ongoing issue (69918) by Daniel Ziltener, but I had a 10.2.1 version floating around and I've updated it to 0.13.0. I won't have much time to work on this for a while, so anyone, feel free to grab bits if this isn't in good shape and resubmit. To test the VM, download a suitable image and run with: pharo --interactive Thanks, Jorge Acereda * gnu/packages/patches/pharo-install.patch (pharo): New variable. Change-Id: I1618103786c6e1a8a5df924d1b1b1dea22db80cd --- gnu/packages/patches/pharo-install.patch | 81 ++++++++++++++++++++++++ gnu/packages/smalltalk.scm | 67 ++++++++++++++++++++ 2 files changed, 148 insertions(+) create mode 100644 gnu/packages/patches/pharo-install.patch diff --git a/gnu/packages/patches/pharo-install.patch b/gnu/packages/patches/pharo-install.patch new file mode 100644 index 0000000000..cc9ce44780 --- /dev/null +++ b/gnu/packages/patches/pharo-install.patch @@ -0,0 +1,81 @@ +This patch just tweaks the cmake scripts to simplify the packaging. +Probably not worth contributing. + + +diff --git a/cmake/Linux.cmake b/cmake/Linux.cmake +index 0b6b9d7c4..cedc1b743 100644 +--- a/cmake/Linux.cmake ++++ b/cmake/Linux.cmake +@@ -1,4 +1,3 @@ +-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wl,-rpath=.") + set(PHARO_BIN_LOCATION "default" CACHE STRING "The default location of the PHARO bin, used by the launch.sh.in") + + if(${PHARO_BIN_LOCATION} STREQUAL "default") +@@ -60,36 +59,29 @@ endmacro() + + + macro(configure_installables INSTALL_COMPONENT) +- set(CMAKE_INSTALL_PREFIX "${CMAKE_CURRENT_BINARY_DIR}/build/dist") +- configure_file(${CMAKE_CURRENT_SOURCE_DIR}/packaging/linux/launch.sh.in +- ${CMAKE_CURRENT_BINARY_DIR}/build/packaging/linux/${VM_EXECUTABLE_NAME} @ONLY) +- configure_file(${CMAKE_CURRENT_SOURCE_DIR}/packaging/linux/bin/launch.sh.in +- ${CMAKE_CURRENT_BINARY_DIR}/build/packaging/linux/bin/${VM_EXECUTABLE_NAME} @ONLY) +- +- + install( +- DIRECTORY "${CMAKE_BINARY_DIR}/build/packaging/linux/" +- DESTINATION "./" ++ DIRECTORY "${CMAKE_BINARY_DIR}/build/vm/" ++ DESTINATION "bin" + USE_SOURCE_PERMISSIONS +- COMPONENT ${INSTALL_COMPONENT}) ++ COMPONENT ${INSTALL_COMPONENT} ++ FILES_MATCHING PATTERN pharo) + install( + DIRECTORY "${CMAKE_BINARY_DIR}/build/vm/" + DESTINATION "lib" + USE_SOURCE_PERMISSIONS +- COMPONENT ${INSTALL_COMPONENT}) +- install( +- DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/build/libffi/install/lib/" +- DESTINATION "lib" +- USE_SOURCE_PERMISSIONS +- COMPONENT ${INSTALL_COMPONENT} +- FILES_MATCHING PATTERN ${DYLIB_EXT}) +- +- +- install( +- DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/extracted/vm/include/unix/" +- DESTINATION include/pharovm +- COMPONENT include +- FILES_MATCHING PATTERN *.h) ++ COMPONENT ${INSTALL_COMPONENT} ++ FILES_MATCHING PATTERN *.so) ++ install( ++ DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/build/libffi/install/lib/" ++ DESTINATION "lib" ++ USE_SOURCE_PERMISSIONS ++ COMPONENT ${INSTALL_COMPONENT} ++ FILES_MATCHING PATTERN ${DYLIB_EXT}) ++ install( ++ DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/extracted/vm/include/unix/" ++ DESTINATION include/pharovm ++ COMPONENT include ++ FILES_MATCHING PATTERN *.h) + endmacro() + + macro(add_required_libs_per_platform) +diff --git a/macros.cmake b/macros.cmake +index 811e49687..53bb9133b 100644 +--- a/macros.cmake ++++ b/macros.cmake +@@ -14,9 +14,6 @@ endmacro() + + # Include a loose-dependency library in the project, but do not link it to the main library + macro(addIndependentLibraryWithRPATH NAME) +- SET(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE) +- set(CMAKE_INSTALL_RPATH ${PHARO_LIBRARY_PATH}) +- + add_library(${NAME} SHARED ${ARGN}) + set_target_properties(${NAME} PROPERTIES MACOSX_RPATH ON) + set_target_properties(${NAME} PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${LIBRARY_OUTPUT_DIRECTORY}) diff --git a/gnu/packages/smalltalk.scm b/gnu/packages/smalltalk.scm index 64146813d1..49b93963d6 100644 --- a/gnu/packages/smalltalk.scm +++ b/gnu/packages/smalltalk.scm @@ -5,6 +5,7 @@ ;;; Copyright © 2016 Ludovic Courtès ;;; Copyright © 2018 Tobias Geerinckx-Rice ;;; Copyright © 2021 Maxime Devos +;;; Copyright © 2024 Jorge Acereda ;;; ;;; This file is part of GNU Guix. ;;; @@ -27,23 +28,89 @@ (define-module (gnu packages smalltalk) #:use-module (guix download) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) + #:use-module (guix gexp) #:use-module (gnu packages) #:use-module (gnu packages assembly) #:use-module (gnu packages audio) #:use-module (gnu packages autotools) #:use-module (gnu packages base) + #:use-module (gnu packages bash) #:use-module (gnu packages compression) #:use-module (gnu packages fontutils) #:use-module (gnu packages gl) #:use-module (gnu packages glib) + #:use-module (gnu packages gtk) + #:use-module (gnu packages image) #:use-module (gnu packages libffi) #:use-module (gnu packages libsigsegv) #:use-module (gnu packages linux) #:use-module (gnu packages multiprecision) #:use-module (gnu packages pkg-config) #:use-module (gnu packages pulseaudio) + #:use-module (gnu packages sdl) + #:use-module (gnu packages tls) + #:use-module (gnu packages version-control) + #:use-module (gnu packages xdisorg) #:use-module (gnu packages xorg)) +(define-public pharo + (package + (name "pharo") + (version "10.3.0-ce15171") + (synopsis "Clean and innovative Smalltalk-inspired environment") + (source + (origin + (method url-fetch) + (uri (string-append "https://files.pharo.org/vm/pharo-spur64-headless/" + "Linux-x86_64/source/PharoVM-" version + "-Linux-x86_64-c-src.tar.gz")) + (sha256 + (base32 "07pkxn0pl3mkbjcfskw94xc8vs74l5lmbslj57xlq6vpz1207ab0")) + (patches (search-patches "./pharo-install.patch")))) + (build-system cmake-build-system) + (inputs (list bash-minimal + cairo + freetype + libffi + libgit2 + libpng + openssl + pixman + sdl2)) + (home-page "https://pharo.org") + (arguments + (list + #:configure-flags #~(list "-DGENERATED_SOURCE_DIR=." + "-DALWAYS_INTERACTIVE=ON" + "-DBUILD_IS_RELEASE=ON" + "-DGENERATE_SOURCES=OFF" + "-DBUILD_BUNDLE=OFF" + "-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON" + (string-append "-DCMAKE_BUILD_RPATH=" + #$output "/lib") + (string-append "-DPHARO_BIN_LOCATION=" + #$output "/bin") + (string-append "-DPHARO_LIBRARY_PATH=" + #$output "/lib")) + #:phases #~(modify-phases %standard-phases + (add-after 'install 'wrapper + (lambda* (#:key inputs outputs #:allow-other-keys) + (wrap-program (string-append (assoc-ref outputs "out") + "/bin/pharo") + `("LD_LIBRARY_PATH" ":" prefix + ,(map (lambda (name) + (string-append (assoc-ref inputs name) + "/lib")) + '("sdl2" "libgit2" "freetype" "cairo" + "pixman"))))))) + #:tests? #f)) + (description + "Pharo's goal is to deliver a clean, innovative, free open-source +Smalltalk-inspired environment. By providing a stable and small core +system, excellent dev tools, and maintained releases, Pharo is an +attractive platform to build and deploy mission critical applications.") + (license license:expat))) + (define-public smalltalk (package (name "smalltalk") base-commit: f3689976da3d23b0a73cf1733da04add5e1035ee prerequisite-patch-id: 5fde795662902a8e1c89f32da3570827179fa814 -- 2.45.2 From unknown Fri Aug 08 15:18:41 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#71862] [PATCH] gnu: Add pharo. Resent-From: Jorge Acereda Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 30 Jun 2024 18:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71862 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71862@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17197738058041 (code B ref -1); Sun, 30 Jun 2024 18:57:02 +0000 Received: (at submit) by debbugs.gnu.org; 30 Jun 2024 18:56:45 +0000 Received: from localhost ([127.0.0.1]:59119 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sNzjB-00025d-66 for submit@debbugs.gnu.org; Sun, 30 Jun 2024 14:56:45 -0400 Received: from lists.gnu.org ([209.51.188.17]:43894) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sNzj9-00025U-He for submit@debbugs.gnu.org; Sun, 30 Jun 2024 14:56:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sNzj9-0003f8-31 for guix-patches@gnu.org; Sun, 30 Jun 2024 14:56:43 -0400 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sNzj7-0005FS-HF for guix-patches@gnu.org; Sun, 30 Jun 2024 14:56:42 -0400 Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-364a3d5d901so1380666f8f.0 for ; Sun, 30 Jun 2024 11:56:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719773800; x=1720378600; darn=gnu.org; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=gMKzKx7Bb5LU2jTMNDnhDpaTHtnFOhnSkN9tNYD7tr4=; b=FOI6KWqIWXJcEe+XHrLR+uR3vdpoa8ogchMmvLoAyXQZfKurAcynynuJ8q/W3C77AS /aodo9+Pr5/O2Ut/lsVCc04nssUEHt++zPfgadjoF1qeYruVkk1im/k8NWslMdEJQ1x8 EtSOejNlO3avLtxjp6tKZcvhc57nExdsOQI1R59pQORWFH72EoWk6iTvB9D9vrDX1tyJ bos9QAXpjQ1vSq3ihQv63ueVhjYd0waxkQZjir03Z39iyUGBQQsa7iOrt+kpzbHBuHA1 W4taNfyBfg2MOZNxy9D41pDuxkGug7CVZC/4x7R+uH4Nz1aG5iqcW9WwpWhfKwJvCruR FcVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719773800; x=1720378600; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gMKzKx7Bb5LU2jTMNDnhDpaTHtnFOhnSkN9tNYD7tr4=; b=HvcX2kL6LzkpUvDBcP76GEU3XAGgScivKnt5m5g31xj6tO/yp/5UeH7liEupFnsEL7 opYAwJ9XaPbJ6UkADkHmkWdbcfqwkd0SPpEk9Nz8A6dzW5BdGWuyNXfjc9kxPr5HX5CI 2msEUduH66WJVw6VD3hcEOXaeGwL/P46Ns6s/a+toE9kFJJXZDDzy86kqDaCznfTCWYX AaTybETJ0idSvb82dikLIAmIHtBT5hkmaAhtrU+34mAiCjEilbJNdr1z00tkklF6yXah CHTlqbtgAHXVnrVisxBwxAmZAMQVOEznz2OlOmhqnnsI39p09PYOsXwVd/TF/UM1dmuQ g0+Q== X-Gm-Message-State: AOJu0YykmmciQI6eeMgV4tBaf1Hz+she/a3tof1qAplSXjM0uyEKZTcr 839jwdkjmRLv5fu0t/r2s8LicyNwZwYGek4l3EvGJwpowH+CZ507ibkSi75g+uJ/btp0irgUMTB BFM0tmlaMZppX693A+cKBNhr3nL1NNA== X-Google-Smtp-Source: AGHT+IHwRPDht37kh1T9/wg9TU3nkNYGBr5o3c2AjHeHXUzb8pXmy388PQOd+1sJeYrnh0Z0cD2Wd0/3tZxWEwH5Z44= X-Received: by 2002:a05:6000:1f88:b0:366:ef25:de51 with SMTP id ffacd0b85a97d-367757244a0mr2951346f8f.49.1719773799796; Sun, 30 Jun 2024 11:56:39 -0700 (PDT) MIME-Version: 1.0 References: <33ce0e5891298e45598489006595bd9bfc6d6685.1719773612.git.jacereda@gmail.com> In-Reply-To: <33ce0e5891298e45598489006595bd9bfc6d6685.1719773612.git.jacereda@gmail.com> From: Jorge Acereda Date: Sun, 30 Jun 2024 21:06:11 +0200 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::433; envelope-from=jacereda@gmail.com; helo=mail-wr1-x433.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) On Sun, Jun 30, 2024 at 8:54=E2=80=AFPM Jorge Acereda = wrote: > I had a 10.2.1 version floating around and I've updated it to 0.13.0 I mean 10.3.0. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 30 01:13:09 2025 Received: (at control) by debbugs.gnu.org; 30 Jul 2025 05:13:09 +0000 Received: from localhost ([127.0.0.1]:38291 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ugz7l-00041W-2R for submit@debbugs.gnu.org; Wed, 30 Jul 2025 01:13:09 -0400 Received: from mailtransmit05.runbox.com ([2a0c:5a00:149::26]:46340) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ugz7i-000405-In for control@debbugs.gnu.org; Wed, 30 Jul 2025 01:13:07 -0400 Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit05.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1ugz7a-008jEq-OI for control@debbugs.gnu.org; Wed, 30 Jul 2025 07:12:58 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=guixotic.coop; s=selector1; h=Subject:From:To:Message-Id:Date; bh=+fLo8Ew4dppWvxM1hxkvWBqw+LVUk9wb8w60LO7fCsk=; b=xpDrFrRGPjZ+VOAVl/t0OYZ4tI ero9uMyZadkNPrzsz0Xw83tzsTHQ8Ic/Wz+Fmp2Ez/9ZR1YRPWav+pQxqjp6LwtKRaSORxOwtYm5T SBAASNHilRtKmNzYsXV5BkQ5/P4gR8uJSM3CIaAqLNkplC1pgkWlo5XL6cTDtXdSMuZMm+jVvE3Iv ni5rm4RJno8O4tU4Xg/+korACoXVabz+cos6FAACaCvJ2ur4W//tJRSFfP9KpAPR/Yp6hzMvHEnub p4lACOIj3lGK3Ft/JbSZsKTGfYRW6QpJNgZ7+Jdu6g8eTo5vxFOYIWd13Y88jaB+Lt21u96NuEXkN EtAs4N5w==; Received: from [10.9.9.74] (helo=submission03.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1ugz7a-0001b3-Ce for control@debbugs.gnu.org; Wed, 30 Jul 2025 07:12:58 +0200 Received: by submission03.runbox with esmtpsa [Authenticated ID (1476852)] (TLS1.2:ECDHE_SECP256R1__RSA_SHA256__AES_256_GCM:256) (Exim 4.93) id 1ugz7M-00Dtj1-Uj for control@debbugs.gnu.org; Wed, 30 Jul 2025 07:12:45 +0200 Date: Wed, 30 Jul 2025 14:12:42 +0900 Message-Id: <87jz3q5kj9.fsf@guixotic.coop> To: control@debbugs.gnu.org From: Maxim Cournoyer Subject: control message for bug #71862 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) merge 71862 36033 quit From unknown Fri Aug 08 15:18:41 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Jorge Acereda Subject: bug#71862: closed (Re: [bug#71862] [PATCH] gnu: Add pharo.) Message-ID: References: <87cy9i5keo.fsf@guixotic.coop> <33ce0e5891298e45598489006595bd9bfc6d6685.1719773612.git.jacereda@gmail.com> X-Gnu-PR-Message: they-closed 71862 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 71862@debbugs.gnu.org Date: Wed, 30 Jul 2025 05:16:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1753852562-25936-1" This is a multi-part message in MIME format... ------------=_1753852562-25936-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #71862: [PATCH] gnu: Add pharo. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 71862@debbugs.gnu.org. --=20 71862: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D71862 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1753852562-25936-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 71862-done) by debbugs.gnu.org; 30 Jul 2025 05:15:48 +0000 Received: from localhost ([127.0.0.1]:38319 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ugzAJ-0006ID-Qp for submit@debbugs.gnu.org; Wed, 30 Jul 2025 01:15:48 -0400 Received: from mailtransmit04.runbox.com ([2a0c:5a00:149::25]:52512) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ugzAH-0005yC-01 for 71862-done@debbugs.gnu.org; Wed, 30 Jul 2025 01:15:45 -0400 Received: from mailtransmit02.runbox ([10.9.9.162] helo=aibo.runbox.com) by mailtransmit04.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1ugzAA-0099hr-Ti for 71862-done@debbugs.gnu.org; Wed, 30 Jul 2025 07:15:38 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=guixotic.coop; s=selector1; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From; bh=olVtlfeat47h8bsZYuIqbFtQJcqQ3C9N1zNutdId1V0=; b=n0v/WA5AUSRR6uPgk5JpIWKqXw N/ur+c106W+bNEDzFjZvFd65lBkeMQ8sVztgkuaqSjYvGraBloqBD1cEoulv3h1z4yxqI1wh+/GB8 VAMO+qOUBFBZ4Cqj26id1EstbWwUQwK18x065Caaz2V5kxCiyDjaiEbT4LmDYKKZS6G5uRFtWZJzn ImxgQomqt9zU3S3VBk0OONR5o6XVcn5poPinDwddwMlmvgq1mL79tyNxZcUStcd7cqCF8qwDGBk5s sOT4maaWS3828FoTeGw1b8wqDdjTNo28dFs1oqzl/QAIwS7YfeKtZ65uY3wrl97BHmTrZzY06WohM Eq8dK15g==; Received: from [10.9.9.74] (helo=submission03.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1ugzAA-0004hH-Ew; Wed, 30 Jul 2025 07:15:38 +0200 Received: by submission03.runbox with esmtpsa [Authenticated ID (1476852)] (TLS1.2:ECDHE_SECP256R1__RSA_SHA256__AES_256_GCM:256) (Exim 4.93) id 1ugzA2-00DuSq-SX; Wed, 30 Jul 2025 07:15:31 +0200 From: Maxim Cournoyer To: Jorge Acereda Subject: Re: [bug#71862] [PATCH] gnu: Add pharo. In-Reply-To: <33ce0e5891298e45598489006595bd9bfc6d6685.1719773612.git.jacereda@gmail.com> Organization: Guixotic References: <33ce0e5891298e45598489006595bd9bfc6d6685.1719773612.git.jacereda@gmail.com> Date: Wed, 30 Jul 2025 14:15:27 +0900 Message-ID: <87cy9i5keo.fsf@guixotic.coop> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 71862-done Cc: 71862-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello! I've use your original work as a basis for a new pharo-vm package submission, which you can see here: . I'm thus closing this ticket. -- Thanks, Maxim ------------=_1753852562-25936-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 30 Jun 2024 18:54:37 +0000 Received: from localhost ([127.0.0.1]:59111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sNzh6-00021c-8D for submit@debbugs.gnu.org; Sun, 30 Jun 2024 14:54:36 -0400 Received: from lists.gnu.org ([209.51.188.17]:43642) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sNzh3-00021U-K2 for submit@debbugs.gnu.org; Sun, 30 Jun 2024 14:54:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sNzh3-0003Hc-AH for guix-patches@gnu.org; Sun, 30 Jun 2024 14:54:33 -0400 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sNzh1-0004ia-9L for guix-patches@gnu.org; Sun, 30 Jun 2024 14:54:33 -0400 Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-361785bfa71so1689302f8f.2 for ; Sun, 30 Jun 2024 11:54:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719773669; x=1720378469; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ssxi12/wKuFA33owb+KxObZV2/sTKjlhgav8CSLDtZY=; b=UpUJGtrG9yspqVZkwUEO2THIGmSiVJ4FggMv4xDPltI1f34AOgrOfndmV1i5iZicq+ iKw5vM5i/JsMRcjuo3gpPTXIQg9Q7z/iQ+opuklaf6NWaYbiIy9dp5OkVhkGisdjx4Ko 4a68WJWKG3VEZCzMLvZjYoiCnCycPZNQATEjQikfy9Fi7dOMJeijKNE1vleFa0NBO02h Qrpye9TDhj+u8i31POoI5bBal0ijLzdTh0rOG3+qT9zbncBEh9E0ZfGlEANBamk26zfc CclKP9bTRosJwu+TC3x4z5AnAlm1vveuVTkcwOqEuIpOzrmrRpCpvrT5wP578+frJyDp lOAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719773669; x=1720378469; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ssxi12/wKuFA33owb+KxObZV2/sTKjlhgav8CSLDtZY=; b=iAi19PNbXYDQRQaP6gCVB+YK+KqrWTeV3Jlo3QdCnRr+wKPC8lWbgDgdOsYUtoA/n3 aku8NsZ9h1HhmaBh36UdVyy1X++0w1OUq62RFBXfE/pDBa4zOlB8Wj0l/fR4y+CJc9j3 fQ9i4k9mYy9zqSakAQtmhUG1XK54a+TRT4U7qvlvx4l09MVlMaVUF5lXSNiNS5mVFwwB 5T5VbaeM7YPqWK6wNCBhiXy2blq1jCL5sDnXjacYqT9EgQ0vepu/BRcewmJH5mkWS0RA I1pFNXh5lEzQyxXmOdb4t01qIJCUITcr5Y+it+9ARD5ac/u1T11ZfzXVahDdM5abCr1B Rn5w== X-Gm-Message-State: AOJu0YyhV+lq2nW0dgSrZI0+NaZcBqV8IDzDgUBNLx2GZ0AMRG35xOpz Jafz3Si1xlt+C7jDLKziuahzIY4yA+OCLMgdh7dTqnZxQ21pRhHUHoCZVA== X-Google-Smtp-Source: AGHT+IGatpiu1EJFt/gqniFkE5PemR58nc7FpD5aOrlYAU28YWdCJ74ROBZPfQMVop44H4Bh1Wzvdw== X-Received: by 2002:adf:f983:0:b0:354:e089:41ea with SMTP id ffacd0b85a97d-367757201fbmr2158665f8f.44.1719773669160; Sun, 30 Jun 2024 11:54:29 -0700 (PDT) Received: from localhost.localdomain ([91.247.175.110]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3675a0fb950sm8038047f8f.83.2024.06.30.11.54.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 30 Jun 2024 11:54:28 -0700 (PDT) From: Jorge Acereda To: guix-patches@gnu.org Subject: [PATCH] gnu: Add pharo. Date: Sun, 30 Jun 2024 20:53:33 +0200 Message-ID: <33ce0e5891298e45598489006595bd9bfc6d6685.1719773612.git.jacereda@gmail.com> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Content-Type: text/plain; charset=yes Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=jacereda@gmail.com; helo=mail-wr1-x435.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Jorge Acereda X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) I didn't realize there's already an ongoing issue (69918) by Daniel Ziltener, but I had a 10.2.1 version floating around and I've updated it to 0.13.0. I won't have much time to work on this for a while, so anyone, feel free to grab bits if this isn't in good shape and resubmit. To test the VM, download a suitable image and run with: pharo --interactive Thanks, Jorge Acereda * gnu/packages/patches/pharo-install.patch (pharo): New variable. Change-Id: I1618103786c6e1a8a5df924d1b1b1dea22db80cd --- gnu/packages/patches/pharo-install.patch | 81 ++++++++++++++++++++++++ gnu/packages/smalltalk.scm | 67 ++++++++++++++++++++ 2 files changed, 148 insertions(+) create mode 100644 gnu/packages/patches/pharo-install.patch diff --git a/gnu/packages/patches/pharo-install.patch b/gnu/packages/patches/pharo-install.patch new file mode 100644 index 0000000000..cc9ce44780 --- /dev/null +++ b/gnu/packages/patches/pharo-install.patch @@ -0,0 +1,81 @@ +This patch just tweaks the cmake scripts to simplify the packaging. +Probably not worth contributing. + + +diff --git a/cmake/Linux.cmake b/cmake/Linux.cmake +index 0b6b9d7c4..cedc1b743 100644 +--- a/cmake/Linux.cmake ++++ b/cmake/Linux.cmake +@@ -1,4 +1,3 @@ +-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wl,-rpath=.") + set(PHARO_BIN_LOCATION "default" CACHE STRING "The default location of the PHARO bin, used by the launch.sh.in") + + if(${PHARO_BIN_LOCATION} STREQUAL "default") +@@ -60,36 +59,29 @@ endmacro() + + + macro(configure_installables INSTALL_COMPONENT) +- set(CMAKE_INSTALL_PREFIX "${CMAKE_CURRENT_BINARY_DIR}/build/dist") +- configure_file(${CMAKE_CURRENT_SOURCE_DIR}/packaging/linux/launch.sh.in +- ${CMAKE_CURRENT_BINARY_DIR}/build/packaging/linux/${VM_EXECUTABLE_NAME} @ONLY) +- configure_file(${CMAKE_CURRENT_SOURCE_DIR}/packaging/linux/bin/launch.sh.in +- ${CMAKE_CURRENT_BINARY_DIR}/build/packaging/linux/bin/${VM_EXECUTABLE_NAME} @ONLY) +- +- + install( +- DIRECTORY "${CMAKE_BINARY_DIR}/build/packaging/linux/" +- DESTINATION "./" ++ DIRECTORY "${CMAKE_BINARY_DIR}/build/vm/" ++ DESTINATION "bin" + USE_SOURCE_PERMISSIONS +- COMPONENT ${INSTALL_COMPONENT}) ++ COMPONENT ${INSTALL_COMPONENT} ++ FILES_MATCHING PATTERN pharo) + install( + DIRECTORY "${CMAKE_BINARY_DIR}/build/vm/" + DESTINATION "lib" + USE_SOURCE_PERMISSIONS +- COMPONENT ${INSTALL_COMPONENT}) +- install( +- DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/build/libffi/install/lib/" +- DESTINATION "lib" +- USE_SOURCE_PERMISSIONS +- COMPONENT ${INSTALL_COMPONENT} +- FILES_MATCHING PATTERN ${DYLIB_EXT}) +- +- +- install( +- DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/extracted/vm/include/unix/" +- DESTINATION include/pharovm +- COMPONENT include +- FILES_MATCHING PATTERN *.h) ++ COMPONENT ${INSTALL_COMPONENT} ++ FILES_MATCHING PATTERN *.so) ++ install( ++ DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/build/libffi/install/lib/" ++ DESTINATION "lib" ++ USE_SOURCE_PERMISSIONS ++ COMPONENT ${INSTALL_COMPONENT} ++ FILES_MATCHING PATTERN ${DYLIB_EXT}) ++ install( ++ DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/extracted/vm/include/unix/" ++ DESTINATION include/pharovm ++ COMPONENT include ++ FILES_MATCHING PATTERN *.h) + endmacro() + + macro(add_required_libs_per_platform) +diff --git a/macros.cmake b/macros.cmake +index 811e49687..53bb9133b 100644 +--- a/macros.cmake ++++ b/macros.cmake +@@ -14,9 +14,6 @@ endmacro() + + # Include a loose-dependency library in the project, but do not link it to the main library + macro(addIndependentLibraryWithRPATH NAME) +- SET(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE) +- set(CMAKE_INSTALL_RPATH ${PHARO_LIBRARY_PATH}) +- + add_library(${NAME} SHARED ${ARGN}) + set_target_properties(${NAME} PROPERTIES MACOSX_RPATH ON) + set_target_properties(${NAME} PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${LIBRARY_OUTPUT_DIRECTORY}) diff --git a/gnu/packages/smalltalk.scm b/gnu/packages/smalltalk.scm index 64146813d1..49b93963d6 100644 --- a/gnu/packages/smalltalk.scm +++ b/gnu/packages/smalltalk.scm @@ -5,6 +5,7 @@ ;;; Copyright © 2016 Ludovic Courtès ;;; Copyright © 2018 Tobias Geerinckx-Rice ;;; Copyright © 2021 Maxime Devos +;;; Copyright © 2024 Jorge Acereda ;;; ;;; This file is part of GNU Guix. ;;; @@ -27,23 +28,89 @@ (define-module (gnu packages smalltalk) #:use-module (guix download) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) + #:use-module (guix gexp) #:use-module (gnu packages) #:use-module (gnu packages assembly) #:use-module (gnu packages audio) #:use-module (gnu packages autotools) #:use-module (gnu packages base) + #:use-module (gnu packages bash) #:use-module (gnu packages compression) #:use-module (gnu packages fontutils) #:use-module (gnu packages gl) #:use-module (gnu packages glib) + #:use-module (gnu packages gtk) + #:use-module (gnu packages image) #:use-module (gnu packages libffi) #:use-module (gnu packages libsigsegv) #:use-module (gnu packages linux) #:use-module (gnu packages multiprecision) #:use-module (gnu packages pkg-config) #:use-module (gnu packages pulseaudio) + #:use-module (gnu packages sdl) + #:use-module (gnu packages tls) + #:use-module (gnu packages version-control) + #:use-module (gnu packages xdisorg) #:use-module (gnu packages xorg)) +(define-public pharo + (package + (name "pharo") + (version "10.3.0-ce15171") + (synopsis "Clean and innovative Smalltalk-inspired environment") + (source + (origin + (method url-fetch) + (uri (string-append "https://files.pharo.org/vm/pharo-spur64-headless/" + "Linux-x86_64/source/PharoVM-" version + "-Linux-x86_64-c-src.tar.gz")) + (sha256 + (base32 "07pkxn0pl3mkbjcfskw94xc8vs74l5lmbslj57xlq6vpz1207ab0")) + (patches (search-patches "./pharo-install.patch")))) + (build-system cmake-build-system) + (inputs (list bash-minimal + cairo + freetype + libffi + libgit2 + libpng + openssl + pixman + sdl2)) + (home-page "https://pharo.org") + (arguments + (list + #:configure-flags #~(list "-DGENERATED_SOURCE_DIR=." + "-DALWAYS_INTERACTIVE=ON" + "-DBUILD_IS_RELEASE=ON" + "-DGENERATE_SOURCES=OFF" + "-DBUILD_BUNDLE=OFF" + "-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON" + (string-append "-DCMAKE_BUILD_RPATH=" + #$output "/lib") + (string-append "-DPHARO_BIN_LOCATION=" + #$output "/bin") + (string-append "-DPHARO_LIBRARY_PATH=" + #$output "/lib")) + #:phases #~(modify-phases %standard-phases + (add-after 'install 'wrapper + (lambda* (#:key inputs outputs #:allow-other-keys) + (wrap-program (string-append (assoc-ref outputs "out") + "/bin/pharo") + `("LD_LIBRARY_PATH" ":" prefix + ,(map (lambda (name) + (string-append (assoc-ref inputs name) + "/lib")) + '("sdl2" "libgit2" "freetype" "cairo" + "pixman"))))))) + #:tests? #f)) + (description + "Pharo's goal is to deliver a clean, innovative, free open-source +Smalltalk-inspired environment. By providing a stable and small core +system, excellent dev tools, and maintained releases, Pharo is an +attractive platform to build and deploy mission critical applications.") + (license license:expat))) + (define-public smalltalk (package (name "smalltalk") base-commit: f3689976da3d23b0a73cf1733da04add5e1035ee prerequisite-patch-id: 5fde795662902a8e1c89f32da3570827179fa814 -- 2.45.2 ------------=_1753852562-25936-1-- From unknown Fri Aug 08 15:18:41 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Brian Woodcox Subject: bug#36033: closed (Re: [bug#71862] [PATCH] gnu: Add pharo.) Message-ID: References: <87cy9i5keo.fsf@guixotic.coop> X-Gnu-PR-Message: they-closed 36033 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 36033@debbugs.gnu.org Date: Wed, 30 Jul 2025 05:16:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1753852562-25936-3" This is a multi-part message in MIME format... ------------=_1753852562-25936-3 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #71862: Add Smalltalk Pharo VM which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 36033@debbugs.gnu.org. --=20 71862: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D71862 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1753852562-25936-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 71862-done) by debbugs.gnu.org; 30 Jul 2025 05:15:48 +0000 Received: from localhost ([127.0.0.1]:38319 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ugzAJ-0006ID-Qp for submit@debbugs.gnu.org; Wed, 30 Jul 2025 01:15:48 -0400 Received: from mailtransmit04.runbox.com ([2a0c:5a00:149::25]:52512) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ugzAH-0005yC-01 for 71862-done@debbugs.gnu.org; Wed, 30 Jul 2025 01:15:45 -0400 Received: from mailtransmit02.runbox ([10.9.9.162] helo=aibo.runbox.com) by mailtransmit04.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1ugzAA-0099hr-Ti for 71862-done@debbugs.gnu.org; Wed, 30 Jul 2025 07:15:38 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=guixotic.coop; s=selector1; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From; bh=olVtlfeat47h8bsZYuIqbFtQJcqQ3C9N1zNutdId1V0=; b=n0v/WA5AUSRR6uPgk5JpIWKqXw N/ur+c106W+bNEDzFjZvFd65lBkeMQ8sVztgkuaqSjYvGraBloqBD1cEoulv3h1z4yxqI1wh+/GB8 VAMO+qOUBFBZ4Cqj26id1EstbWwUQwK18x065Caaz2V5kxCiyDjaiEbT4LmDYKKZS6G5uRFtWZJzn ImxgQomqt9zU3S3VBk0OONR5o6XVcn5poPinDwddwMlmvgq1mL79tyNxZcUStcd7cqCF8qwDGBk5s sOT4maaWS3828FoTeGw1b8wqDdjTNo28dFs1oqzl/QAIwS7YfeKtZ65uY3wrl97BHmTrZzY06WohM Eq8dK15g==; Received: from [10.9.9.74] (helo=submission03.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1ugzAA-0004hH-Ew; Wed, 30 Jul 2025 07:15:38 +0200 Received: by submission03.runbox with esmtpsa [Authenticated ID (1476852)] (TLS1.2:ECDHE_SECP256R1__RSA_SHA256__AES_256_GCM:256) (Exim 4.93) id 1ugzA2-00DuSq-SX; Wed, 30 Jul 2025 07:15:31 +0200 From: Maxim Cournoyer To: Jorge Acereda Subject: Re: [bug#71862] [PATCH] gnu: Add pharo. In-Reply-To: <33ce0e5891298e45598489006595bd9bfc6d6685.1719773612.git.jacereda@gmail.com> Organization: Guixotic References: <33ce0e5891298e45598489006595bd9bfc6d6685.1719773612.git.jacereda@gmail.com> Date: Wed, 30 Jul 2025 14:15:27 +0900 Message-ID: <87cy9i5keo.fsf@guixotic.coop> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 71862-done Cc: 71862-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello! I've use your original work as a basis for a new pharo-vm package submission, which you can see here: . I'm thus closing this ticket. -- Thanks, Maxim ------------=_1753852562-25936-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 31 May 2019 19:57:59 +0000 Received: from localhost ([127.0.0.1]:36319 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hWnf5-0001x2-Cu for submit@debbugs.gnu.org; Fri, 31 May 2019 15:57:59 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34783) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hWnf3-0001wk-5T for submit@debbugs.gnu.org; Fri, 31 May 2019 15:57:57 -0400 Received: from lists.gnu.org ([209.51.188.17]:48183) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hWnex-0005eJ-UV for submit@debbugs.gnu.org; Fri, 31 May 2019 15:57:52 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49163) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hWnew-0004hD-RU for guix-patches@gnu.org; Fri, 31 May 2019 15:57:51 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hWnev-0005by-Os for guix-patches@gnu.org; Fri, 31 May 2019 15:57:50 -0400 Received: from mail.inskydata.com ([184.68.229.6]:40036 helo=server.inskydata.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hWnev-0005Zq-Bc for guix-patches@gnu.org; Fri, 31 May 2019 15:57:49 -0400 Received: from [192.168.19.76] (unknown [192.168.19.76]) by server.inskydata.com (Postfix) with ESMTPSA id 85E1B49FAF23 for ; Fri, 31 May 2019 13:46:56 -0600 (MDT) From: Brian Woodcox Content-Type: multipart/mixed; boundary="Apple-Mail=_BD52526F-ED8B-4CE1-887C-FBC60ED8E97E" Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\)) Subject: Add Smalltalk Pharo VM Message-Id: Date: Fri, 31 May 2019 13:46:50 -0600 To: guix-patches@gnu.org X-Mailer: Apple Mail (2.3445.6.18) X-detected-operating-system: by eggs.gnu.org: Mac OS X 10.x X-Received-From: 184.68.229.6 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --Apple-Mail=_BD52526F-ED8B-4CE1-887C-FBC60ED8E97E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hello, I have added the Pharo Smalltalk VM package with this patch. After installing this package, a user can launch an image by executing = pharos-vm in the directory that contains the pharos-vm. To keep things consistent with the current Pharo release, I decided to = use the sdl2@2.0.7 and libgit2@0.25.1. If someone feels I should use = the latest releases of these packages, I can submit a new patch. Because of the way Pharo constructs the version and commit date for use = internally in the Pharo VM, it is necessary to add this information to = the package i.e. commit-info. This is my first package, so go easy on me. :) Cheers! --Apple-Mail=_BD52526F-ED8B-4CE1-887C-FBC60ED8E97E Content-Disposition: attachment; filename=0001-Add-pharo-vm-package.patch Content-Type: application/octet-stream; x-unix-mode=0644; name="0001-Add-pharo-vm-package.patch" Content-Transfer-Encoding: quoted-printable =46rom=2049683e04e51cd904571008fa7979a3f58ae0134c=20Mon=20Sep=2017=20= 00:00:00=202001=0AFrom:=20"Brian=20C.=20Woodcox"=20=0A= Date:=20Fri,=2031=20May=202019=2013:14:54=20-0600=0ASubject:=20[PATCH]=20= Add=20pharo-vm=20package=0A=0A---=0A=20gnu/packages/smalltalk.scm=20|=20= 206=20+++++++++++++++++++++++++++++++++++++=0A=201=20file=20changed,=20= 206=20insertions(+)=0A=0Adiff=20--git=20a/gnu/packages/smalltalk.scm=20= b/gnu/packages/smalltalk.scm=0Aindex=209b36d83a80..f46cdd229e=20100644=0A= ---=20a/gnu/packages/smalltalk.scm=0A+++=20b/gnu/packages/smalltalk.scm=0A= @@=20-4,6=20+4,7=20@@=0A=20;;;=20Copyright=20=C2=A9=202016=20Nicolas=20= Goaziou=20=0A=20;;;=20Copyright=20=C2=A9=202016=20= Ludovic=20Court=C3=A8s=20=0A=20;;;=20Copyright=20=C2=A9=20= 2018=20Tobias=20Geerinckx-Rice=20=0A+;;;=20Copyright=20=C2=A9= =202019=20Brian=20Woodcox=20=0A=20;;;=0A=20;;;=20This=20= file=20is=20part=20of=20GNU=20Guix.=0A=20;;;=0A@@=20-26,18=20+27,27=20@@=0A= =20=20=20#:use-module=20(guix=20download)=0A=20=20=20#:use-module=20= (guix=20build-system=20cmake)=0A=20=20=20#:use-module=20(guix=20= build-system=20gnu)=0A+=20=20#:use-module=20(guix=20git-download)=0A+=20=20= #:use-module=20(guix=20utils)=0A=20=20=20#:use-module=20(gnu=20packages=20= audio)=0A=20=20=20#:use-module=20(gnu=20packages=20autotools)=0A=20=20=20= #:use-module=20(gnu=20packages=20base)=0A+=20=20#:use-module=20(gnu=20= packages=20curl)=0A=20=20=20#:use-module=20(gnu=20packages=20= compression)=0A=20=20=20#:use-module=20(gnu=20packages=20fontutils)=0A=20= =20=20#:use-module=20(gnu=20packages=20gl)=0A=20=20=20#:use-module=20= (gnu=20packages=20glib)=0A+=20=20#:use-module=20(gnu=20packages=20gtk)=0A= =20=20=20#:use-module=20(gnu=20packages=20libffi)=0A=20=20=20= #:use-module=20(gnu=20packages=20libsigsegv)=0A=20=20=20#:use-module=20= (gnu=20packages=20linux)=0A=20=20=20#:use-module=20(gnu=20packages=20= pkg-config)=0A=20=20=20#:use-module=20(gnu=20packages=20pulseaudio)=0A+=20= =20#:use-module=20(gnu=20packages=20python)=0A+=20=20#:use-module=20(gnu=20= packages=20sdl)=0A+=20=20#:use-module=20(gnu=20packages=20ssh)=0A+=20=20= #:use-module=20(gnu=20packages=20tls)=0A+=20=20#:use-module=20(gnu=20= packages=20version-control)=0A=20=20=20#:use-module=20(gnu=20packages=20= xorg))=0A=20=0A=20(define-public=20smalltalk=0A@@=20-151,3=20+161,199=20= @@=20also=20includes=20a=20customisable=20framework=20for=20creating=20= dynamic=20HTTP=20servers=20and=0A=20interactively=20extensible=20Web=20= sites.")=0A=20=20=20=20=20(home-page=20"http://www.squeakvm.org")=0A=20=20= =20=20=20(license=20license:x11)))=0A+=0A+(define=20sdl2-for-pharo-vm=0A= +=20=20(package=0A+=20=20=20(inherit=20sdl2)=0A+=20=20=20(version=20= "2.0.7")=0A+=20=20=20(source=20(origin=0A+=20=20=20=20=20=20=20=20=20=20=20= =20(method=20url-fetch)=0A+=20=20=20=20=20=20=20=20=20=20=20=20(uri=20= (string-append=20"http://www.libsdl.org/release/SDL2-"=20version=20= ".tar.gz"))=0A+=20=20=20=20=20=20=20=20=20=20=20(sha256=0A+=20=20=20=20=20= =20=20=20=20=20=20=20(base32=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20= "0pjdpxla5kh1w1b0shxrx97a116vyy31njxi0jhyvqhk8d6cfdgf"))))))=0A+=0A= +(define=20libgit2-for-pharo-vm=0A+=20=20(package=0A+=20=20=20(name=20= "libgit2")=0A+=20=20=20(version=20"0.25.1")=0A+=20=20=20(source=20= (origin=0A+=20=20=20=20=20=20=20=20=20=20=20=20(method=20url-fetch)=0A+=20= =20=20=20=20=20=20=20=20=20=20=20(uri=20(string-append=20= "https://github.com/libgit2/libgit2/"=0A+=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= "archive/v"=20version=20".tar.gz"))=0A+=20=20=20=20=20=20=20=20=20=20=20=20= (file-name=20(string-append=20name=20"-"=20version=20".tar.gz"))=0A+=20=20= =20=20=20=20=20=20=20=20=20=20(sha256=0A+=20=20=20=20=20=20=20=20=20=20=20= =20=20(base32=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20= "0ywcxw1mwd56c8qc14hbx31bf198gxck3nja3laxyglv7l57qp26"))))=0A+=20=20=20= (build-system=20cmake-build-system)=0A+=20=20=20(arguments=0A+=20=20=20=20= `(#:phases=0A+=20=20=20=20=20=20(modify-phases=20%standard-phases=0A+=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20(add-after=20= 'unpack=20'fix-hardcoded-paths=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20(lambda=20_=0A+=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20(substitute*=20"tests/repo/init.c"=0A+=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20(("#!/bin/sh")=20= (string-append=20"#!"=20(which=20"sh"))))=0A+=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= (substitute*=20"tests/clar/fs.h"=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20(("/bin/cp")=20(which=20"cp"))=0A+=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20(("/bin/rm")=20= (which=20"rm")))=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20#t))=0A+=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20;;=20Run=20checks=20more=20= verbosely.=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20(replace=20'check=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20(lambda=20_=20(zero?=20(system*=20= "./libgit2_clar"=20"-v"=20"-Q")))))))=0A+=20=20=20=20=20=20=20=20=20=20=20= (inputs=0A+=20=20=20=20=20=20=20=20=20=20=20=20`(("libssh2"=20,libssh2)=0A= +=20=20=20=20=20=20=20=20=20=20=20=20=20=20("libcurl"=20,curl)=0A+=20=20=20= =20=20=20=20=20=20=20=20=20=20=20("python"=20,python)=0A+=20=20=20=20=20=20= =20=20=20=20=20=20=20=20("openssl"=20,openssl)))=0A+=20=20=20=20=20=20=20= =20=20=20=20(native-inputs=0A+=20=20=20=20=20=20=20=20=20=20=20=20= `(("pkg-config"=20,pkg-config)))=0A+=20=20=20=20=20=20=20=20=20=20=20= (home-page=20"http://libgit2.github.com/")=0A+=20=20=20=20=20=20=20=20=20= =20=20(synopsis=20"Library=20providing=20Git=20core=20methods")=0A+=20=20= =20=20=20=20=20=20=20=20=20(description=0A+=20=20=20=20=20=20=20=20=20=20= =20=20"Libgit2=20is=20a=20portable,=20pure=20C=20implementation=20of=20= the=20Git=20core=20methods=0A+provided=20as=20a=20re-entrant=20linkable=20= library=20with=20a=20solid=20API,=20allowing=20you=20to=0A+write=20= native=20speed=20custom=20Git=20applications=20in=20any=20language=20= with=20bindings.")=0A+=20=20=20=20=20=20=20=20=20=20=20(license=20= license:gpl2)))=0A+=0A+(define=20%commit=20= "5a38b3483dc5c82c7ecc85a590fdf1b095377a1f")=0A+=0A+(define=20= %pharo-vm-version=20"5.0")=0A+=0A+(define=20%url=20= "https://github.com/OpenSmalltalk/opensmalltalk-vm.git")=0A+=0A+;;=20Git=20= commit=20info=20i.e.=20version=20and=20commit=20date=0A+;;=20When=20a=20= new=20version=20of=20the=20pharo=20vm=20is=20released,=20the=20values=20= are=20contained=20in=0A+;;=20in=20the=20payload=20of=20the=20git=20= commit.=0A+=0A+(define=20commit-info=20'("201901172323"=20.=20"Fri=20Jan=20= 18=2000:23:50=202019=20+0100"))=0A+=0A+(define=20%version=20= (string-append=20%pharo-vm-version=20"-"=20(car=20commit-info)))=0A+=0A= +(define-public=20pharo-vm=0A+=20=20(package=0A+=20=20=20=20(name=20= "pharo-vm")=0A+=20=20=20=20(version=20%version)=0A+=20=20=20=20(source=20= (origin=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20(method=20= git-fetch)=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20(uri=20= (git-reference=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20(url=20%url)=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20(commit=20%commit)))=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20= (file-name=20(string-append=20name=20"-"=20%commit=20"-checkout"))=0A+=20= =20=20=20=20=20=20=20=20=20=20=20=20=20(sha256=0A+=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20(base32=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20"0idmviam289aqd8ldh8yv38av1b20ifas4n0jjx5vp3hrphqaav5"))))=0A+=20=20= =20=20(build-system=20gnu-build-system)=0A+=20=20=20=20(native-inputs=20= `(("python"=20,python)))=0A+=20=20=20=20(inputs=0A+=20=20=20=20=20= `(("mesa"=20,mesa)=0A+=20=20=20=20=20=20=20("cairo"=20,cairo)=0A+=20=20=20= =20=20=20=20("freetype"=20,freetype)=0A+=20=20=20=20=20=20=20("git"=20= ,git)=0A+=20=20=20=20=20=20=20("libcurl"=20,curl)=0A+=20=20=20=20=20=20=20= ("guile-curl",=20guile-curl)=0A+=20=20=20=20=20=20=20("openssl"=20= ,openssl)=0A+=20=20=20=20=20=20=20("libssh2"=20,libssh2)=0A+=20=20=20=20=20= =20=20("libgit2"=20,libgit2-for-pharo-vm)=0A+=20=20=20=20=20=20=20= ("sdl2"=20,sdl2-for-pharo-vm)))=0A+=20=20=20=20(arguments=0A+=20=20=20=20= =20`(#:tests?=20#f=20;;=20no=20tests=20available=0A+=20=20=20=20=20=20=20= #:configure-flags=20(list=20"--without-npsqueak"=0A+=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= (string-append=20"""--with-vmversion=3D"""=20,%pharo-vm-version)=0A+=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20"--with-src=3Dspur64src"=0A+=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= "TARGET_ARCH=3D-m64"=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20"CFLAGS=3D-g=20-O2=20-DNDEBUG=20= -DDEBUGVM=3D0=20-DPharoVM=20-msse2=20-DCOGMTVM=3D0"=0A+=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= (string-append=20"LDFLAGS=3D-Wl,-rpath=3D"=0A+=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20(assoc-ref=20%outputs=20"out")=0A+=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20"/lib"))=0A+=20= =20=20=20=20=20=20#:make-flags=20(list=20(string-append=20"prefix=3D"=20= (assoc-ref=20%outputs=20"out")))=0A+=20=20=20=20=20=20=20#:phases=0A+=20=20= =20=20=20=20=20(modify-phases=20%standard-phases=0A+=20=20=20=20=20=20=20= =20=20(add-after=20'patch-source-shebangs=20'chdir=0A+=20=20=20=20=20=20=20= =20=20=20=20(lambda=20_=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20(chdir=20= "build.linux64x64/pharo.cog.spur/build")=20#t))=0A+=20=20=20=20=20=20=20=20= =20(add-before=20'configure=20'pre-configure=0A+=20=20=20=20=20=20=20=20=20= =20=20(lambda=20_=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20(define=20= pharo-version=20(string-append=20"$Rev:=20"=20,(car=20commit-info)=20"=20= $"))=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20(define=20pharo-date=20= (string-append=20"$Date:=20"=20,(cdr=20commit-info)=20"=20$"))=0A+=20=20=20= =20=20=20=20=20=20=20=20=20=20(define=20pharo-url=20(string-append=20= "$URL:=20"=20,%url=20"=20$"))=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20= (define=20pharo-hash=20(string-append=20"$CommitHash:=20"=20(string-take=20= ,%commit=208)=20=20"=20$"))=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20= (copy-file=20"../plugins.int"=20"plugins.int")=0A+=20=20=20=20=20=20=20=20= =20=20=20=20=20(copy-file=20"../plugins.ext"=20"plugins.ext")=0A+=20=20=20= =20=20=20=20=20=20=20=20=20=20;;=20Fix=20version=20info=0A+=20=20=20=20=20= =20=20=20=20=20=20=20=20(substitute*=20= '("../../../platforms/Cross/plugins/sqPluginsSCCSVersion.h"=0A+=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= "../../../platforms/Cross/vm/sqSCCSVersion.h")=0A+=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20(("\\$Rev\\$")=20pharo-version)=0A+=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20(("\\$Date\\$")=20pharo-date)=0A+=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20(("\\$URL\\$")=20pharo-url)=0A+=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20(("\\$CommitHash\\$")=20pharo-hash))=0A= +=20=20=20=20=20=20=20=20=20=20=20=20=20;;=20Fix=20hard=20coded=20paths=0A= +=20=20=20=20=20=20=20=20=20=20=20=20=20(substitute*=20= '("../../../platforms/unix/config/squeak.sh.in"=0A+=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= "../../../platforms/unix/config/bin.squeak.sh.in")=0A+=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20(("/usr/bin/dirname")=20(which=20"dirname"))=0A+=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20(("/usr/bin/ldd")=20(which=20= "ldd"))=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20(("/bin/fgrep")=20= (which=20"fgrep")))=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20= (substitute*=20'("../../../platforms/unix/config/configure")=0A+=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20= (("SHELL=3D\\$\\{CONFIG_SHELL-/bin/sh\\}")=0A+=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20(string-append=20"SHELL=3D"=20(which=20"sh"))))=0A+=20= =20=20=20=20=20=20=20=20=20=20=20=20#t))=0A+=20=20=20=20=20=20=20=20=20= (replace=20'configure=0A+=20=20=20=20=20=20=20=20=20=20=20(lambda*=20= (#:key=20outputs=20(configure-flags=20'())=20#:allow-other-keys)=0A+=20=20= =20=20=20=20=20=20=20=20=20=20=20(substitute*=20= '("../../../platforms/unix/plugins/FT2Plugin/Makefile.in")=0A+=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20(("-I/usr/include/freetype2")=0A+=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20(string-append=20"-I"=20= (assoc-ref=20%build-inputs=20"freetype")=0A+=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= "/include/freetype2")))=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20(apply=20= invoke=20"../../../platforms/unix/config/configure"=0A+=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20(string-append=20"--prefix=3D"=20= (assoc-ref=20outputs=20"out"))=20configure-flags)=0A+=20=20=20=20=20=20=20= =20=20=20=20=20=20#t))=0A+=20=20=20=20=20=20=20=20=20(add-after=20= 'install=20'post-install=0A+=20=20=20=20=20=20=20=20=20=20=20(lambda*=20= (#:key=20outputs=20#:allow-other-keys)=0A+=20=20=20=20=20=20=20=20=20=20=20= =20=20;;=20Currently=20have=20to=20hard=20code=20version=0A+=20=20=20=20=20= =20=20=20=20=20=20=20=20(define=20pharo-version=20,%version)=0A+=20=20=20= =20=20=20=20=20=20=20=20=20=20(let=20((out=20(assoc-ref=20outputs=20= "out")))=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20;;=20rename=20= and=20replace=20in=20file=20with=20pharo=0A+=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20(let=20((src-file=20(string-append=20out=20"/squeak"))=0A= +=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= (dst-file=20(string-append=20out=20"/pharo")))=0A+=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20(unless=20(file-exists?=20dst-file)=0A+=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20(rename-file=20src-file=20= dst-file)=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= (substitute*=20dst-file=20(("squeak")=20"pharo"))))=0A+=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20;;=20rename=20and=20replace=20in=20file=20= with=20pharo=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20(let=20= ((src-file=20(string-append=20out=20"/bin/squeak"))=0A+=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20(dst-file=20(string-append=20= out=20"/bin/pharo")))=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20(unless=20(file-exists?=20dst-file)=0A+=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20(rename-file=20src-file=20dst-file)=0A+=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20(substitute*=20dst-file=20= (("squeak")=20"pharo"))))=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= ;;=20rename=20executable=20file=20to=20pharo=0A+=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20(let=20((src-file=20(string-append=20out=20= "/lib/squeak/"=20pharo-version=20"/squeak"))=0A+=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20(dst-file=20(string-append=20out=20= "/lib/squeak/"=20pharo-version=20"/pharo")))=0A+=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20(unless=20(file-exists?=20dst-file)=0A+=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20(rename-file=20src-file=20= dst-file)))=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20;;=20rename=20= folder=20to=20pharo=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20(let=20= ((src-folder=20(string-append=20out=20"/lib/squeak"))=0A+=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20(dst-folder=20= (string-append=20out=20"/lib/pharo")))=0A+=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20(unless=20(file-exists?=20dst-folder)=0A+=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20(copy-recursively=20= (string-append=20src-folder=20"/"=20pharo-version)=0A+=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20(string-append=20dst-folder=20"/"=20pharo-version)=0A+=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20#:keep-mtime?=20#t)=0A+=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20(delete-file-recursively=20= src-folder)))=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20;;=20= remove=20folders=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20(let=20= ((src-folder=20(string-append=20out=20"/doc")))=0A+=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20(if=20(file-exists?=20src-folder)=0A+=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= (delete-file-recursively=20src-folder)))=0A+=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20(let=20((src-folder=20(string-append=20out=20"/share")))=0A= +=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20(if=20(file-exists?=20= src-folder)=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20(delete-file-recursively=20src-folder)))=0A+=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20;;=20add=20symlinks=0A+=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20(symlink=20(string-append=20(assoc-ref=20%build-inputs=20= "libgit2")=20"/lib/libgit2.so")=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20(string-append=20out=20"/lib/pharo/"=20= pharo-version=20"/libgit2.so"))=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20(symlink=20(string-append=20(assoc-ref=20%build-inputs=20= "libssh2")=20"/lib/libssh2.so")=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20(string-append=20out=20"/lib/pharo/"=20= pharo-version=20"/libssh2.so"))=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20(symlink=20(string-append=20(assoc-ref=20%build-inputs=20= "openssl")=20"/lib/libssl.so")=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20(string-append=20out=20"/lib/pharo/"=20= pharo-version=20"/libssl.so"))=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20(symlink=20(string-append=20(assoc-ref=20%build-inputs=20= "freetype")"/lib/libfreetype.so.6")=0A+=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20(string-append=20out=20"/lib/pharo/"=20= pharo-version=20"/libfreetype.so.6")))=0A+=20=20=20=20=20=20=20=20=20=20=20= =20=20#t)))))=0A+=20=20=20=20(home-page=20= "https://github.com/OpenSmalltalk/opensmalltalk-vm")=0A+=20=20=20=20= (synopsis=20"Pharo=20Smalltalk=20virtual=20machine")=0A+=20=20=20=20= (description=0A+=20=20=20=20=20"The=20virtual=20machine=20below=20the=20= Pharo=20Smalltalk=20dialect")=0A+=20=20=20=20(license=20license:expat)))=0A= --=20=0A2.21.0=0A=0A= --Apple-Mail=_BD52526F-ED8B-4CE1-887C-FBC60ED8E97E-- ------------=_1753852562-25936-3-- From unknown Fri Aug 08 15:18:41 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Daniel Ziltener Subject: bug#69918: closed (Re: [bug#71862] [PATCH] gnu: Add pharo.) Message-ID: References: <87cy9i5keo.fsf@guixotic.coop> <163fe58d525795ccdb3f24960655f036@lyrion.ch> X-Gnu-PR-Message: they-closed 69918 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 69918@debbugs.gnu.org Date: Wed, 30 Jul 2025 05:16:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1753852563-25936-5" This is a multi-part message in MIME format... ------------=_1753852563-25936-5 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #71862: [PATCH] gnu: smalltalk: add pharo-vm 10.1.1. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 69918@debbugs.gnu.org. --=20 71862: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D71862 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1753852563-25936-5 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 71862-done) by debbugs.gnu.org; 30 Jul 2025 05:15:48 +0000 Received: from localhost ([127.0.0.1]:38319 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ugzAJ-0006ID-Qp for submit@debbugs.gnu.org; Wed, 30 Jul 2025 01:15:48 -0400 Received: from mailtransmit04.runbox.com ([2a0c:5a00:149::25]:52512) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ugzAH-0005yC-01 for 71862-done@debbugs.gnu.org; Wed, 30 Jul 2025 01:15:45 -0400 Received: from mailtransmit02.runbox ([10.9.9.162] helo=aibo.runbox.com) by mailtransmit04.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1ugzAA-0099hr-Ti for 71862-done@debbugs.gnu.org; Wed, 30 Jul 2025 07:15:38 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=guixotic.coop; s=selector1; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From; bh=olVtlfeat47h8bsZYuIqbFtQJcqQ3C9N1zNutdId1V0=; b=n0v/WA5AUSRR6uPgk5JpIWKqXw N/ur+c106W+bNEDzFjZvFd65lBkeMQ8sVztgkuaqSjYvGraBloqBD1cEoulv3h1z4yxqI1wh+/GB8 VAMO+qOUBFBZ4Cqj26id1EstbWwUQwK18x065Caaz2V5kxCiyDjaiEbT4LmDYKKZS6G5uRFtWZJzn ImxgQomqt9zU3S3VBk0OONR5o6XVcn5poPinDwddwMlmvgq1mL79tyNxZcUStcd7cqCF8qwDGBk5s sOT4maaWS3828FoTeGw1b8wqDdjTNo28dFs1oqzl/QAIwS7YfeKtZ65uY3wrl97BHmTrZzY06WohM Eq8dK15g==; Received: from [10.9.9.74] (helo=submission03.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1ugzAA-0004hH-Ew; Wed, 30 Jul 2025 07:15:38 +0200 Received: by submission03.runbox with esmtpsa [Authenticated ID (1476852)] (TLS1.2:ECDHE_SECP256R1__RSA_SHA256__AES_256_GCM:256) (Exim 4.93) id 1ugzA2-00DuSq-SX; Wed, 30 Jul 2025 07:15:31 +0200 From: Maxim Cournoyer To: Jorge Acereda Subject: Re: [bug#71862] [PATCH] gnu: Add pharo. In-Reply-To: <33ce0e5891298e45598489006595bd9bfc6d6685.1719773612.git.jacereda@gmail.com> Organization: Guixotic References: <33ce0e5891298e45598489006595bd9bfc6d6685.1719773612.git.jacereda@gmail.com> Date: Wed, 30 Jul 2025 14:15:27 +0900 Message-ID: <87cy9i5keo.fsf@guixotic.coop> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 71862-done Cc: 71862-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello! I've use your original work as a basis for a new pharo-vm package submission, which you can see here: . I'm thus closing this ticket. -- Thanks, Maxim ------------=_1753852563-25936-5 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 20 Mar 2024 16:35:07 +0000 Received: from localhost ([127.0.0.1]:49018 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmyu8-0001QQ-CP for submit@debbugs.gnu.org; Wed, 20 Mar 2024 12:35:07 -0400 Received: from lists.gnu.org ([209.51.188.17]:54898) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmyu4-0001Px-6D for submit@debbugs.gnu.org; Wed, 20 Mar 2024 12:35:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rmytQ-0000cB-7q for guix-patches@gnu.org; Wed, 20 Mar 2024 12:34:20 -0400 Received: from 195-15-241-199.dc3-a.pub1.etik-cloud.com ([195.15.241.199] helo=lyrion.ch) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rmytG-0006td-1O for guix-patches@gnu.org; Wed, 20 Mar 2024 12:34:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lyrion.ch; s=20230702; t=1710952443; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc; bh=S1lN2wn3uzydeF4weCdClhWJoU/8pEv/KQOaSyOL9io=; b=pXHV+En0tDZj/7NgUiYhd/juP9LbWvgu4x+C8igCuxCFTRCsjZwNFQHSqo1DiVVBLe7ZPi a27klcl9/vL4xGsFFLawLHX9eiHlrd78lmJa6iYre1xEGe5x57CqK6wbDZM/9xnRDs971E QK6rVP62lA0z4gAnPcQrnLiuBFAKy7dm1RBhKUYO9s1Ex71KUtmCHhoaq1UBRhrV9vLA+q 01mHO+mW2dT7yFFp4EWLPHlmVEBcu2jZ00lPC2rIAV2xHFl43LnigjZROSgXg8FmWDS7Vq 896GknQ5zUP1lLxgERhGLVd3quguuyDtXRe0lQ2Huunsu6xRJJqEkKkwJkQRJQ== Received: from localhost ( [2a00:1f:99c0:3c01:8fc9:e8ec:45e0:6cde]) by lyrion.ch (OpenSMTPD) with ESMTPSA id acbebad7 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 20 Mar 2024 16:34:03 +0000 (UTC) Message-ID: <163fe58d525795ccdb3f24960655f036@lyrion.ch> From: Daniel Ziltener Date: Wed, 20 Mar 2024 16:36:52 +0100 Subject: [PATCH] gnu: smalltalk: add pharo-vm 10.1.1. To: guix-patches@gnu.org Received-SPF: pass client-ip=195.15.241.199; envelope-from=dziltener@lyrion.ch; helo=lyrion.ch X-Spam_score_int: 3 X-Spam_score: 0.3 X-Spam_bar: / X-Spam_report: (0.3 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, FORGED_SPF_HELO=1, KHOP_HELO_FCRDNS=0.001, PP_MIME_FAKE_ASCII_TEXT=0.001, RDNS_DYNAMIC=0.982, SPF_HELO_PASS=-0.001, TVD_RCVD_IP=0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_TEMPERROR=0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: dziltener@lyrion.ch X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --- gnu/packages/smalltalk.scm | 66 +++++++++++++++++++++++++++++++++++++- 1 file changed, 65 insertions(+), 1 deletion(-) diff --git a/gnu/packages/smalltalk.scm b/gnu/packages/smalltalk.scm index 64146813d1..60e0cc5778 100644 --- a/gnu/packages/smalltalk.scm +++ b/gnu/packages/smalltalk.scm @@ -5,6 +5,7 @@ ;;; Copyright © 2016 Ludovic Courtès ;;; Copyright © 2018 Tobias Geerinckx-Rice ;;; Copyright © 2021 Maxime Devos +;;; Copyright © 2024 Daniel Ziltener ;;; ;;; This file is part of GNU Guix. ;;; @@ -36,13 +37,16 @@ (define-module (gnu packages smalltalk) #:use-module (gnu packages fontutils) #:use-module (gnu packages gl) #:use-module (gnu packages glib) + #:use-module (gnu packages image) #:use-module (gnu packages libffi) #:use-module (gnu packages libsigsegv) #:use-module (gnu packages linux) #:use-module (gnu packages multiprecision) #:use-module (gnu packages pkg-config) #:use-module (gnu packages pulseaudio) - #:use-module (gnu packages xorg)) + #:use-module (gnu packages version-control) + #:use-module (gnu packages xorg) + #:use-module (gnu packages xdisorg)) (define-public smalltalk (package @@ -184,3 +188,63 @@ (define-public squeak-vm interactively extensible Web sites.") (home-page "http://squeakvm.org/") (license license:x11))) + +(define-public pharo-vm + (package + (name "pharo-vm") + (version "10.1.1") + (source + (origin + (method url-fetch) + (uri (string-append "http://files.pharo.org/vm/pharo-spur64-headless/Linux-x86_64/source/PharoVM-" version "-32b2be5-Linux-x86_64-c-src.tar.gz")) + (sha256 + (base32 + "1hbkvfrw57sz5nw48z64789yjcry9l1am4hmkndy9dd6i06n2c2n")))) + (build-system cmake-build-system) + (arguments + (list + #:configure-flags + #~(list + (string-append "-DPHARO_LIBRARY_PATH=" + (assoc-ref %outputs "out") "/lib") + "-DGENERATED_SOURCE_DIR=." + "-DALWAYS_INTERACTIVE=on" + "-DBUILD_IS_RELEASE=on" + "-DGENERATE_SOURCES=off" + "-DBUILD_BUNDLE=off") + #:phases + #~(modify-phases %standard-phases + (delete 'check) + (delete 'validate-runpath) + (add-after 'install 'really-install + (lambda _ + (let ((bin (string-append #$output "/bin")) + (lib (string-append #$output "/lib"))) + (mkdir-p bin) + (mkdir-p lib) + (copy-recursively "./build/vm/pharo" + (string-append bin "/pharo")) + (for-each (lambda (file) + (let ((inode (string-append "./build/vm/" file))) + (copy-recursively + inode + (string-append lib "/" file)))) + (with-directory-excursion + "./build/vm" + (find-files "." + (lambda (file stat) + (string-contains file ".so"))))) + (wrap-program (string-append bin "/pharo") + `("LD_LIBRARY_PATH" prefix (,lib))))))))) + (inputs + (list libffi + libgit2 + cairo + freetype + pixman + libpng + util-linux)) + (synopsis "This is the VM used by Pharo") + (home-page "https://www.pharo.org") + (description "This is the VM used by Pharo.") + (license license:expat))) -- 2.41.0 ------------=_1753852563-25936-5--