From unknown Thu Jun 19 14:04:37 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#78070 <78070@debbugs.gnu.org> To: bug#78070 <78070@debbugs.gnu.org> Subject: Status: [WIP/HELP] [PATCH] gnu: smalltalk: Enable all features. Reply-To: bug#78070 <78070@debbugs.gnu.org> Date: Thu, 19 Jun 2025 21:04:37 +0000 retitle 78070 [WIP/HELP] [PATCH] gnu: smalltalk: Enable all features. reassign 78070 guix-patches submitter 78070 Andrew Wong severity 78070 normal tag 78070 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 25 21:34:00 2025 Received: (at submit) by debbugs.gnu.org; 26 Apr 2025 01:34:00 +0000 Received: from localhost ([127.0.0.1]:55637 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u8UQW-00040o-EX for submit@debbugs.gnu.org; Fri, 25 Apr 2025 21:34:00 -0400 Received: from lists.gnu.org ([2001:470:142::17]:53712) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u8UQP-00040C-Qi for submit@debbugs.gnu.org; Fri, 25 Apr 2025 21:33:53 -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 1u8UQH-0000BD-Ow for guix-patches@gnu.org; Fri, 25 Apr 2025 21:33:41 -0400 Received: from p-east3-cluster6-host3-snip4-1.eps.apple.com ([57.103.85.152] helo=outbound.qs.icloud.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u8UQF-0001xu-QM for guix-patches@gnu.org; Fri, 25 Apr 2025 21:33:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; bh=Tk+qmtbJNxsCIrdeoF6lwSqkTGjPhJ2n4AQpopPMgpc=; h=From:To:Subject:Date:Message-ID:MIME-Version:x-icloud-hme; b=nPSxdg7clftMS/nr/YHlfzulwflnuenZNDseflDByhyLGZ3/tWZxs/PmoyGQMuBCC LTexjpTzNbiOXOiVq3WMlUQz2X+CzvJBoWlB/EqvkBiy5I47GAFggIeGV0nztIcVTI F5Cak/dfpFDMxpBLAH7c1+Pp6E7vKUmCG5eQv8z5a776P8qhnOmZvEIRqrNFagfwJl f+pAqWAX4MZt9E1Aebwa6cTLgOJAVmV70zygMWAn8LUUgAIc2mW1AywyQj6n4AIG4z OWBIUCpszCqyfrPrHoIrsGuitba/pOVS5um3eVUIdCGGOOXrb8j2KHtCTssdWsTbi+ D/048goI0NXew== Received: from wongworks.lan (unknown [17.57.155.37]) by outbound.qs.icloud.com (Postfix) with ESMTPSA id B68331800176; Sat, 26 Apr 2025 01:33:33 +0000 (UTC) From: Andrew Wong To: guix-patches@gnu.org Subject: [WIP/HELP] [PATCH] gnu: smalltalk: Enable all features. Date: Fri, 25 Apr 2025 21:23:54 -0400 Message-ID: X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Proofpoint-GUID: lib4B8Pd3jCDWCE1BEHBIw8h1S5Kuw-2 X-Proofpoint-ORIG-GUID: lib4B8Pd3jCDWCE1BEHBIw8h1S5Kuw-2 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.0.736,FMLib:17.12.80.40 definitions=2025-04-25_07,2025-04-24_02,2025-02-21_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 clxscore=1015 malwarescore=0 bulkscore=0 mlxlogscore=936 adultscore=0 suspectscore=0 phishscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.22.0-2503100000 definitions=main-2504260010 Received-SPF: pass client-ip=57.103.85.152; envelope-from=wongandj@icloud.com; helo=outbound.qs.icloud.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_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit Cc: Andrew Wong 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: -0.0 (/) * gnu/packages/smalltalk.scm(smalltalk): Enable all features. Change-Id: I9514526b6313c0240e1f206f0c8b9b94ed9f2553 --- I've been trying to enable the rest of GNU Smalltalk's features and libraries--specifically, the 'gst-browser' feature--so that it can get full use as an educational tool. However, I've hit some roadblocks in development. In particular, although I've gotten the GTK library to build, it seems to have missing symbols; Also, the build process cannot find Tk, even when it is in the inputs. This leaves the software without any GUI libraries. Would anyone with more knowledge/experience regarding the gnu build system, autotools, or smalltalk be able to take a look at what's going on? I am aware that enabling all of the features will bloat the closure size, as was warned, but after enabling them I hope to split the package up into multiple outputs to bring it back down. Any insight or advice is appreciated! gnu/packages/smalltalk.scm | 49 +++++++++++++++++++++++++------------- 1 file changed, 33 insertions(+), 16 deletions(-) diff --git a/gnu/packages/smalltalk.scm b/gnu/packages/smalltalk.scm index 5c5b93236a..25f824a689 100644 --- a/gnu/packages/smalltalk.scm +++ b/gnu/packages/smalltalk.scm @@ -58,6 +58,13 @@ (define-public smalltalk (sha256 (base32 "1zb2h5cbz1cwybqjl24lflw359lwj7sjvvhwb4x6miypzhwq4qh0")) + (modules '((guix build utils))) + (snippet '(begin + ;; This stops an error where this script fails on line 70 when it + ;; tries to print to stdout. This may be the reason why the browser + ;; is broken, but the same function uses `print` to print error + ;; messages, so it may be something else. + (substitute* "packages/gtk/mkorder.awk" (("^.+print.+$") "")))) ;; XXX: To be removed with the next release of Smalltalk. (patches (search-patches "smalltalk-multiplication-overflow.patch")))) (build-system gnu-build-system) @@ -68,24 +75,34 @@ (define-public smalltalk autoconf automake libtool - zip)) - ;; TODO: These optional dependencies raise the closure size to ~1 GiB - ;; from the current ~100 MiB, although some of them might be very - ;; useful for end users: - ;; - freeglut - ;; - glib - ;; - gobject-introspection - ;; - gtk+-2 - ;; - tcl/tk - ;; - SDL (sdl-union) - ;; - sqlite - ;; - zlib + zip + (@ (gnu packages emacs) emacs-minimal) ;for comint.el + ;; (@ (gnu packages gettext) gettext) + )) (inputs - (list gmp libffi libltdl libsigsegv lightning)) + (list gmp libffi libltdl libsigsegv lightning + (@ (gnu packages readline) readline) + (@ (gnu packages tls) gnutls) + (@ (gnu packages tcl) tcl) ;for Tcl/Tk and tclsh + ;; (@ (gnu packages tcl) tk) ;this is not detected, so no BloxTK + (@ (gnu packages sqlite) sqlite) + (@ (gnu packages dbm) gdbm) + (@ (gnu packages gtk) cairo) + (@ (gnu packages glib) glib) + (@ (gnu packages glib) gobject-introspection) + (@ (gnu packages gtk) gtk+-2) + (@ (gnu packages xorg) libx11) + (@ (gnu packages gl) mesa) ;for gl.h + (@ (gnu packages gl) freeglut) + (@ (gnu packages sdl) sdl12-compat) + (@ (gnu packages sdl) sdl-image) + (@ (gnu packages sdl) sdl-mixer) + ;; there is no sdl-sound + (@ (gnu packages sdl) sdl-ttf) + (@ (gnu packages xml) expat) ;xml parser + (@ (gnu packages compression) zlib))) (arguments - `(;; FIXME: Tests fail on x86-64 in the build container, but they pass - ;; in a regular shell. - #:tests? ,(not (target-x86-64?)) + `(#:tests? #t ;old note says tests fail for x86-64; works on my machine #:phases (modify-phases %standard-phases ;; XXX: To be removed with the next release of Smalltalk. base-commit: f7c41ab31f5023023385500f6eb9083d23dd1ccb -- 2.49.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 07 13:15:52 2025 Received: (at control) by debbugs.gnu.org; 7 Jun 2025 17:15:52 +0000 Received: from localhost ([127.0.0.1]:49450 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uNx96-0001hL-08 for submit@debbugs.gnu.org; Sat, 07 Jun 2025 13:15:52 -0400 Received: from mail-qk1-x729.google.com ([2607:f8b0:4864:20::729]:42339) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1uNx93-0001h3-11 for control@debbugs.gnu.org; Sat, 07 Jun 2025 13:15:49 -0400 Received: by mail-qk1-x729.google.com with SMTP id af79cd13be357-7d0a0bcd3f3so340993885a.1 for ; Sat, 07 Jun 2025 10:15:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1749316543; x=1749921343; darn=debbugs.gnu.org; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=bb+bCJrt2UKxOXKPJNexm/oDXOmF9I/AD6yWcjes3Kk=; b=Ih5LLrinj3jOxLF3NoZR06RXFgpAe8oO4Tbe++i7R7O10s9BxOksxERByVX5rS4Cmo 41qtsmSMPhz4HnbhzAY6rvJzm/xBxWcosLkSItm/o7OMNv57HdBuaFwKtg/tmT21X5SS R4WEdIWvKmuNdut1HsUpeUfJW9gvpvC4cLDJevkNg57/5zZU6DYHyOCIugm49hNODm9H b0GkZ73PcVg4M3Wyg6dSYS3ji4bmTf6+ipro9JqqrYjrERseOLMLQw1O30bkDatuch1F +EGVkFF1QaUMmX71oSVkn+eRw5zMV1LLXrij0XhuW5c7SqohiMbwgR3RxJvxGlI7Jbm5 NZLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1749316543; x=1749921343; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=bb+bCJrt2UKxOXKPJNexm/oDXOmF9I/AD6yWcjes3Kk=; b=PuzecXdx49UD4wYZpgmAohEc69XfpxYIYjkwbt2zwqw6T2hEcdifYoxCKmJxW3KBcG enHPujge9rjS/NYCH3r+7UvzezjyS6oZorrX4Nxt5a8CmaT0te5LBVr3LQetauRhzJXa EZeaclOrr0n2azXg/EBprW3p3W1D8eTHudpSuQy4vfYUA1blnl/fTJsvg/ENzmYdBUVH AJdiWNSCpi0hUViftaZ3LybweHBR1MIC/vvJvqCKefrrQzgR/ZJGUNV6tVSW32YHIEGg QXvP0Yh/ROsAU9E2FBvwN2Adct8k6uDhZTL7JNYZPNkloo4UsyS+SN4THmr8JIu+PPc7 DbLA== X-Gm-Message-State: AOJu0YykMIHBnm+ehxj7iP1l1GCpBLYFCqvmUplnvcVQmbIZJKmWQW5c oMUirHCYemgNsZGOa28O6vn1bxTP/y/2OtKwc0FBNOlTZZNW8BKZxnpeOaG65g== X-Gm-Gg: ASbGnctvqbP1xwz+Z7ReOq1RQWpfahCkTqvsiq+JHf7jIYCU3eJ5z1cGt2XDYv4OxzD TOVmyjOb0+VUZPZjSbTNLW+xtIyzi00oe69kYdiwNEjHH5QETzTj0zR9XHKDU9xlrlQt6RU4FAt wql5wc0DnBxGurFCfvomGN/esZAb1WuMqD1BPFDyrWvEzCbKB3dd397B2Wxt4pAgQwJjvvJhmO8 Sn0FLtjplO6gtcU/Nz9hOFKfQGD5ihU2ia1tdgq4V04Hc9PzZU4XSPtABwtORMXHX6JKv0Y7Tn1 aVt+ZIjAhMJ+/NLFrD37Bg1Kt3dQGDrIJKVkJCE9Ykohv+B+SJA0Wg== X-Google-Smtp-Source: AGHT+IF0m1wmzSmfsheC+j13tE3hHv0+AQ/2Rx2awoTbYmHABVjCtxlEnk9hxqKq7hWQwZMYSDINIA== X-Received: by 2002:a05:620a:c50:b0:7ce:b799:8eaf with SMTP id af79cd13be357-7d229fa653dmr1008935385a.3.1749316542985; Sat, 07 Jun 2025 10:15:42 -0700 (PDT) Received: from [192.168.86.109] ([64.25.7.198]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7d25a60a1dbsm324681985a.56.2025.06.07.10.15.41 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 07 Jun 2025 10:15:42 -0700 (PDT) Message-ID: Date: Sat, 7 Jun 2025 13:15:41 -0400 MIME-Version: 1.0 User-Agent: Icedove Daily Content-Language: en-US To: control@debbugs.gnu.org From: Andrew Wong Subject: Close Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) 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.0 (-) close 75856 close 78070