From nobody Fri Nov 24 08:19:35 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Sc7F41StPz519rg; Fri, 24 Nov 2023 08:19:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Sc7F4141vz3Pl9; Fri, 24 Nov 2023 08:19:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700813976; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=PEKKXoGnjEJv82BXwC2hLms8MTSXh2FwcLbJzXCko9c=; b=iPDJ6O6k1w9SSFOES+7v+3kiWPSx/4vtVAtBFy0VzdmdcNq3vUx6fOCqQiVpgI5yeEb9an +u6u+nWzkmbC3W7DeosS0Kzu0iEO2VYeEI3x1KxHTlF+LT6LhR8rQym8EGW8+g6pJoBz5l ydJRtP6JNBPuuX0uDjSHMCz3nFCWWlmjMSlhiumGoVf7ZWpc2o6MK3L+/UkDhu593qkwH0 555tbHFh/5vF/VWgf4UmGw3WQdA7/UsJyCxGdsYjQYR7a/f6946dAGmx559MXXLdcJRD9Z iinV2eOV0Glpk55h8j3GmZ/+Xvq2JRTa5t3EHyyPaAVR4yBimmgHC22I0AQmrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700813976; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=PEKKXoGnjEJv82BXwC2hLms8MTSXh2FwcLbJzXCko9c=; b=N7VOGuDQrD9+t+SCFpL7+8R2mCeEAgCg2I4GiTaavSVzRQkRG6XzJhPF7aSQZ+eGFrpYoO fKZrNUYaU8yAA4wtsZgo5VVIpkCk7onJWH+U+LUgVKQkmQ2qt1z9LApw2HAoX/uI2OR/XP 1zYYFfJ2gM2x9pN5feH9haIBNBC/bKPqqJFT+T3iHQglLWm3TsoFyySzNJkMRPgLz/O2YB 1uGXj3sk5xaFkpMC9/koR7yCMVFIOXPpKcOnVJj4/W+HdCd3phx7ybHOL4gkagywVOt9lm i6QdsjGFqkUX8mJuaYBi3PFJ3aWU5V4y2LJe8mkbf1jUk9JFz3+0KrpyqAeR8A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700813976; a=rsa-sha256; cv=none; b=NrUYfdkDkuqPFIGfif0lwZi4sdDgmC8Jt547tzYRNqhGfNs+wlQKorYdbWTEvpqBi2f0WF r+fZP+mhhE1o80OCtp4wcTTMfJnbbMKwAiVg520hslzxJWSVE/VO4sWleg056BlfEw8YdM uoh7URRVnEjPPuLX3ww5lPXFha/8ETdyPnHE7rt7mWabCJ4G5gXfu+Pmd0alqJOaiBFsQg gPoffz3Olz1nwuoEWnhHdSga08HrxxPw3nJWP97B5WNgHo/fzte95hTaYc9RKnVHxsf47v 04FTyZ7a/uXRXqnIwUJYO6AUJ8b4e1lm6FYXwmel4ec74r1OusPUvzQURI9tUA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Sc7F406YRzckW; Fri, 24 Nov 2023 08:19:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3AO8JZEB030473; Fri, 24 Nov 2023 08:19:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3AO8JZuc030470; Fri, 24 Nov 2023 08:19:35 GMT (envelope-from git) Date: Fri, 24 Nov 2023 08:19:35 GMT Message-Id: <202311240819.3AO8JZuc030470@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Fernando =?utf-8?Q?Apestegu=C3=ADa?= Subject: git: 0f02c6466c45 - main - lang/pharo: update to 10.0.8 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fernape X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0f02c6466c455f20b81db359aa433ba2555a1b82 Auto-Submitted: auto-generated The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=0f02c6466c455f20b81db359aa433ba2555a1b82 commit 0f02c6466c455f20b81db359aa433ba2555a1b82 Author: Daniel Ziltener AuthorDate: 2023-11-23 09:05:15 +0000 Commit: Fernando ApesteguĂ­a CommitDate: 2023-11-24 08:19:14 +0000 lang/pharo: update to 10.0.8 PR: 274973 Reported by: dziltener@lyrion.ch --- lang/pharo/Makefile | 56 +++++++++++++--------- lang/pharo/distinfo | 5 +- .../files/patch-packaging_linux_bin_launch.sh.in | 18 +++++++ lang/pharo/pkg-descr | 2 - lang/pharo/pkg-plist | 20 ++++++++ 5 files changed, 74 insertions(+), 27 deletions(-) diff --git a/lang/pharo/Makefile b/lang/pharo/Makefile index c17b31547514..70e73e9da54f 100644 --- a/lang/pharo/Makefile +++ b/lang/pharo/Makefile @@ -1,37 +1,47 @@ PORTNAME= pharo -DISTVERSION= 1.4 -PORTREVISION= 3 +DISTVERSION= 10.0.9 +DISTVERSIONSUFFIX= de76067 CATEGORIES= lang -MASTER_SITES= https://gforge.inria.fr/frs/download.php/30620/ -DISTNAME= Pharo-${DISTVERSION}-${SVNVERSION} -EXTRACT_ONLY= Pharo-${DISTVERSION}-${SVNVERSION}.zip +MASTER_SITES= http://files.pharo.org/vm/pharo-spur64-headless/Linux-x86_64/source/ +DISTNAME= PharoVM-${DISTVERSION}-${DISTVERSIONSUFFIX}-Linux-x86_64-c-src MAINTAINER= ports@FreeBSD.org COMMENT= Smalltalk-inspired language and environment -WWW= http://www.pharo-project.org/ +WWW= http://www.pharo.org/ -LICENSE= APACHE20 MIT -LICENSE_COMB= multi +LICENSE= MIT -RUN_DEPENDS= squeak:lang/squeak +LIB_DEPENDS= libffi.so:devel/libffi \ + libgit2.so:devel/libgit2 \ + libcairo.so:graphics/cairo \ + libfreetype.so:print/freetype2 \ + libssl.so:security/openssl \ + libpixman-1.so:x11/pixman \ + libpng.so:graphics/png \ + libuuid.so:misc/e2fsprogs-libuuid -SVNVERSION= 14438 +USES= cmake +CMAKE_ARGS= -DFLAVOUR=CoInterpreter \ + -DPHARO_BIN_LOCATION=${PREFIX}/libexec/pharo10 \ + -DGENERATED_SOURCE_DIR=. +CMAKE_ON= ALWAYS_INTERACTIVE BUILD_IS_RELEASE +CMAKE_OFF= GENERATE_SOURCES BUILD_BUNDLE -NO_BUILD= yes -USES= zip +WRKSRC= ${WRKDIR}/pharo-vm -DIST_SUBDIR= squeak - -FILES_DIR= ${WRKDIR}/Pharo-${DISTVERSION}-${SVNVERSION}/ -FILES_TO_INSTALL=Pharo-${DISTVERSION}.image \ - Pharo-${DISTVERSION}.changes \ - PharoV10.sources -PLIST_FILES= lib/squeak/Pharo-${DISTVERSION}.image \ - lib/squeak/Pharo-${DISTVERSION}.changes \ - lib/squeak/PharoV10.sources +USE_HCC= yes +USE_SDL= sdl image do-install: - @${MKDIR} ${STAGEDIR}${PREFIX}/lib/squeak - ${INSTALL_DATA} ${FILES_TO_INSTALL:S,^,${FILES_DIR}/,} ${STAGEDIR}${PREFIX}/lib/squeak + ${MKDIR} ${STAGEDIR}${PREFIX}/libexec/pharo10 + ${MKDIR} ${STAGEDIR}${PREFIX}/lib/pharo10 + cd ${WRKDIR}/.build/build/packaging/linux/bin && \ + ${INSTALL_SCRIPT} pharo ${STAGEDIR}${PREFIX}/bin/pharo10 + cd ${WRKDIR}/.build/build/vm && \ + ${INSTALL_PROGRAM} pharo ${STAGEDIR}${PREFIX}/libexec/pharo10/pharo + cd ${WRKDIR}/.build/build/vm && \ + ${FIND} . -type f -name "*.so" | while read file; do \ + ${INSTALL_LIB} $$file ${STAGEDIR}${PREFIX}/lib/pharo10/$$file; \ + done .include diff --git a/lang/pharo/distinfo b/lang/pharo/distinfo index 336094d99abe..14e34b18d7af 100644 --- a/lang/pharo/distinfo +++ b/lang/pharo/distinfo @@ -1,2 +1,3 @@ -SHA256 (squeak/Pharo-1.4-14438.zip) = 7f1a3fa43f44f3f4d05955cd1b1191abcdb8f3ee9692eeb55d67ef0122324f1d -SIZE (squeak/Pharo-1.4-14438.zip) = 13324537 +TIMESTAMP = 1700701195 +SHA256 (PharoVM-10.0.9-de76067-Linux-x86_64-c-src.tar.gz) = e797b3b00be38fbd158ffba732d175307fe9928421529e1f5b96a9e553f018bf +SIZE (PharoVM-10.0.9-de76067-Linux-x86_64-c-src.tar.gz) = 3875300 diff --git a/lang/pharo/files/patch-packaging_linux_bin_launch.sh.in b/lang/pharo/files/patch-packaging_linux_bin_launch.sh.in new file mode 100644 index 000000000000..0a2ff8e1e85e --- /dev/null +++ b/lang/pharo/files/patch-packaging_linux_bin_launch.sh.in @@ -0,0 +1,18 @@ +--- packaging/linux/bin/launch.sh.in.orig 2023-11-23 00:48:34 UTC ++++ packaging/linux/bin/launch.sh.in +@@ -27,13 +27,13 @@ fi + # and so it should take precedence over /lib libc. This is done by setting + # LD_LIBRARY_PATH appropriately, based on ldd's idea of the libc use by the VM. + #Try extracting Libc +-LIBC_SO="`/usr/bin/ldd "$BIN/@VM_EXECUTABLE_NAME@" | /bin/fgrep /libc. | sed 's/^.*=> \([^ ]*\).*/\1/'`" ++LIBC_SO="`ldd "$BIN/@VM_EXECUTABLE_NAME@" | grep /libc. | sed 's/^.*=> \([^ ]*\).*/\1/'`" + PLATFORMLIBDIR=`expr "$LIBC_SO" : '\(.*\)/libc.*'` + + #If empty try extracting Musl + if [ "$PLATFORMLIBDIR" = "" ]; then + { +- LIBC_SO="`/usr/bin/ldd "$BIN/@VM_EXECUTABLE_NAME@" | /bin/fgrep libc. | sed 's/^.*=> \([^ ]*\).*/\1/'`" ++ LIBC_SO="`ldd "$BIN/@VM_EXECUTABLE_NAME@" | grep libc. | sed 's/^.*=> \([^ ]*\).*/\1/'`" + PLATFORMLIBDIR=`expr "$LIBC_SO" : '\(.*\)/ld-musl.*'` + } + fi diff --git a/lang/pharo/pkg-descr b/lang/pharo/pkg-descr index d7ffa82e509d..a27244ad3208 100644 --- a/lang/pharo/pkg-descr +++ b/lang/pharo/pkg-descr @@ -5,5 +5,3 @@ Pharo is a clean, innovative, open-source Smalltalk-inspired environment. - a clean look and feel - good developer tools - low memory footprint - -It runs under squeak virtual machine. diff --git a/lang/pharo/pkg-plist b/lang/pharo/pkg-plist new file mode 100644 index 000000000000..056860634b74 --- /dev/null +++ b/lang/pharo/pkg-plist @@ -0,0 +1,20 @@ +bin/pharo10 +lib/pharo10/libB2DPlugin.so +lib/pharo10/libBitBltPlugin.so +lib/pharo10/libDSAPrims.so +lib/pharo10/libFileAttributesPlugin.so +lib/pharo10/libFilePlugin.so +lib/pharo10/libFloatArrayPlugin.so +lib/pharo10/libJPEGReadWriter2Plugin.so +lib/pharo10/libJPEGReaderPlugin.so +lib/pharo10/libLargeIntegers.so +lib/pharo10/libLocalePlugin.so +lib/pharo10/libMiscPrimitivePlugin.so +lib/pharo10/libPharoVMCore.so +lib/pharo10/libSocketPlugin.so +lib/pharo10/libSqueakSSL.so +lib/pharo10/libSurfacePlugin.so +lib/pharo10/libTestLibrary.so +lib/pharo10/libUUIDPlugin.so +lib/pharo10/libUnixOSProcessPlugin.so +libexec/pharo10/pharo