8 Commits

Author SHA256 Message Date
12aa9dd075 Accepting request 1321446 from devel:languages:misc
- Update to 9.0.
  * Racket supports parallel threads. For more information see the new
    blog post on the topic.
  * Parallel threads can be created using the #:pool argument to
    thread creation.
  * Threads created with #:keep set to 'results will record their
    results for later retrieval with thread-wait.
  * The black-box wrapper prevents the optimizing compiler from
    optimizing away certain computations entirely. This can be helpful
    in ensuring that benchmarks are accurate.
  * The decompile-linklet function can map linklets back to
    s-expressions.
  * When using BC Racket, the processor-count function is changed to
    always return the parallel count.
  * We now distribute "natipkg" packages for AArch64, useful for
    package-build and package-testing infrastructure.
  * Check Syntax tracks identifiers more deeply nested in the "origin"
    field of syntax objects.
  * The math library includes Weibull distributions.
  * There are many other repairs and documentation improvements!

OBS-URL: https://build.opensuse.org/request/show/1321446
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/racket?expand=0&rev=38
2025-12-08 10:55:57 +00:00
Fred Fu
49693ac6b2 - Update to 9.0.
* Racket supports parallel threads. For more information see the new
    blog post on the topic.
  * Parallel threads can be created using the #:pool argument to
    thread creation.
  * Threads created with #:keep set to 'results will record their
    results for later retrieval with thread-wait.
  * The black-box wrapper prevents the optimizing compiler from
    optimizing away certain computations entirely. This can be helpful
    in ensuring that benchmarks are accurate.
  * The decompile-linklet function can map linklets back to
    s-expressions.
  * When using BC Racket, the processor-count function is changed to
    always return the parallel count.
  * We now distribute "natipkg" packages for AArch64, useful for
    package-build and package-testing infrastructure.
  * Check Syntax tracks identifiers more deeply nested in the "origin"
    field of syntax objects.
  * The math library includes Weibull distributions.
  * There are many other repairs and documentation improvements!

OBS-URL: https://build.opensuse.org/package/show/devel:languages:misc/racket?expand=0&rev=101
2025-12-07 15:02:11 +00:00
56e02393aa Accepting request 1304564 from devel:languages:misc
OBS-URL: https://build.opensuse.org/request/show/1304564
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/racket?expand=0&rev=37
2025-09-14 16:49:51 +00:00
Fred Fu
055f95b055 - Set _configure to ../configure: allow calling configure outside
the current directory.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:misc/racket?expand=0&rev=99
2025-09-13 14:39:34 +00:00
Fred Fu
6156a57c26 - Refresh patch:
* racket-fortify.patch
- Update to 8.18.
  * The racket-lang.org website no longer distributes Racket BC
    bundles, but it includes pre-built bundles for two flavors of ARM
    linux, AArch64 and 32-bit ARMv6 VFP.
  * XML structures are serializable.
  * Scribble's HTML generation conforms better to modern standards.
  * Racket uses Unicode 16.0 for character and string operations.
  * The redex-check default generation strategy always uses random
    generation to supplement the enumerator.
  * DrRacket supports the use of shift-tab to go backward to previous
    indentation positions.
  * The macro stepper supports the string-constants library, allowing
    internationalization of the stepper itself.
  * The struct form supports #:properties prop-list-expr, making it
    more convenient to attach multiple property values to a structure
    type.
  * Build-system improvements support containers registered at Docker
    Hub to build for all platforms that have downloads from the main
    Racket download site; improvements also support Unix-style builds
    for Mac OS in the style of MacPorts.
  * The expt function produces a more accurate result when its first
    argument is a flonum and its second argument is an exact integer
    that has no equivalent flonum representation than it did in prior
    versions.
  * TCP ports use SO_KEEPALIVE correctly.
  * Unsafe code can use “uninterruptible mode” instead of “atomic
    mode” to allow futures to run concurrently while preventing

OBS-URL: https://build.opensuse.org/package/show/devel:languages:misc/racket?expand=0&rev=98
2025-09-05 14:43:11 +00:00
424cc8fcf3 Accepting request 1288713 from devel:languages:misc
OBS-URL: https://build.opensuse.org/request/show/1288713
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/racket?expand=0&rev=36
2025-06-27 21:01:12 +00:00
Fred Fu
6f05dfd581 update to 8.17
OBS-URL: https://build.opensuse.org/package/show/devel:languages:misc/racket?expand=0&rev=96
2025-06-26 15:23:14 +00:00
Fred Fu
ec7866bac5 update to 8.17
OBS-URL: https://build.opensuse.org/package/show/devel:languages:misc/racket?expand=0&rev=95
2025-06-25 17:35:06 +00:00
5 changed files with 136 additions and 23 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b233a968f4a561f7b005ce06f2c4c29428562f308c1a04d28e2e2286f6b945c3
size 34287199

3
racket-9.0-src.tgz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a05f54103789477da8e6facabb777049477c4c3998c5865c0d7ce285d3577411
size 34537197

View File

@@ -3,8 +3,10 @@
src/start/ustart.c | 5 +++--
2 files changed, 6 insertions(+), 3 deletions(-)
--- src/rktio/rktio_fs.c
+++ src/rktio/rktio_fs.c 2024-06-18 12:25:03.035413375 +0000
Index: src/rktio/rktio_fs.c
===================================================================
--- src/rktio/rktio_fs.c.orig
+++ src/rktio/rktio_fs.c
@@ -1,6 +1,7 @@
#include "rktio.h"
#include "rktio_private.h"
@@ -13,7 +15,7 @@
#include <stdio.h>
#include <string.h>
#include <sys/stat.h>
@@ -1092,7 +1093,8 @@ char *rktio_readlink(rktio_t *rktio, con
@@ -1130,7 +1131,8 @@ char *rktio_readlink(rktio_t *rktio, con
return NULL;
}
#else
@@ -23,8 +25,10 @@
char *buffer = malloc(buf_len);
while (1) {
--- src/start/ustart.c
+++ src/start/ustart.c 2024-06-18 12:25:13.635224103 +0000
Index: src/start/ustart.c
===================================================================
--- src/start/ustart.c.orig
+++ src/start/ustart.c
@@ -10,6 +10,7 @@
#include <string.h>
#include <fcntl.h>
@@ -33,15 +37,6 @@
#include <stdio.h>
#if defined(__GNUC__)
@@ -266,7 +267,7 @@ int main(int argc, char **argv)
char *exe_path, *lib_path, *dll_path;
int start, decl_end, prog_end, end, count, fd, v, en, x11;
int argpos, inpos, collcount = 1, fix_argv;
- int bufsize = 127;
+ size_t bufsize = PATH_MAX;
if (config[7] == '[') {
write_str(2, argv[0]);
@@ -280,7 +281,7 @@ int main(int argc, char **argv)
/* resolve soft links */

View File

@@ -1,3 +1,121 @@
-------------------------------------------------------------------
Wed Nov 26 19:10:01 UTC 2025 - Martin Schreiner <martin.schreiner@suse.com>
- Update to 9.0.
* Racket supports parallel threads. For more information see the new
blog post on the topic.
* Parallel threads can be created using the #:pool argument to
thread creation.
* Threads created with #:keep set to 'results will record their
results for later retrieval with thread-wait.
* The black-box wrapper prevents the optimizing compiler from
optimizing away certain computations entirely. This can be helpful
in ensuring that benchmarks are accurate.
* The decompile-linklet function can map linklets back to
s-expressions.
* When using BC Racket, the processor-count function is changed to
always return the parallel count.
* We now distribute "natipkg" packages for AArch64, useful for
package-build and package-testing infrastructure.
* Check Syntax tracks identifiers more deeply nested in the "origin"
field of syntax objects.
* The math library includes Weibull distributions.
* There are many other repairs and documentation improvements!
-------------------------------------------------------------------
Mon Sep 8 14:59:02 UTC 2025 - Dominique Leuenberger <dimstar@opensuse.org>
- Set _configure to ../configure: allow calling configure outside
the current directory.
-------------------------------------------------------------------
Tue Sep 2 09:48:37 UTC 2025 - Martin Schreiner <martin.schreiner@suse.com>
- Refresh patch:
* racket-fortify.patch
- Update to 8.18.
* The racket-lang.org website no longer distributes Racket BC
bundles, but it includes pre-built bundles for two flavors of ARM
linux, AArch64 and 32-bit ARMv6 VFP.
* XML structures are serializable.
* Scribble's HTML generation conforms better to modern standards.
* Racket uses Unicode 16.0 for character and string operations.
* The redex-check default generation strategy always uses random
generation to supplement the enumerator.
* DrRacket supports the use of shift-tab to go backward to previous
indentation positions.
* The macro stepper supports the string-constants library, allowing
internationalization of the stepper itself.
* The struct form supports #:properties prop-list-expr, making it
more convenient to attach multiple property values to a structure
type.
* Build-system improvements support containers registered at Docker
Hub to build for all platforms that have downloads from the main
Racket download site; improvements also support Unix-style builds
for Mac OS in the style of MacPorts.
* The expt function produces a more accurate result when its first
argument is a flonum and its second argument is an exact integer
that has no equivalent flonum representation than it did in prior
versions.
* TCP ports use SO_KEEPALIVE correctly.
* Unsafe code can use “uninterruptible mode” instead of “atomic
mode” to allow futures to run concurrently while preventing
interruptions from other threads.
* The net/imap library supports IMAP's move operation.
- Can no longer leverage the %configure macro, lest it fail to build.
----------------------------------------------------------------------------
Wed Jun 25 15:05:05 UTC 2025 - Fred Fu <moonsolo@gmail.com>
- update the path of drracket.png
- update to 8.14
* The new `drracket-core` package provides a version of DrRacket
with a smaller set of dependencies.
* Typed Racket has support for treelists.
* The package manager computes checksums for packages when
required, allowing the use and automatic upgrade of packages
without them.
* The `bitwise-first-bit-set` function returns the smallest bit
that is set in the two's-complement representation of the given
number.
* The updated `dynamic-require` function makes it easier to use
syntax bindings by allowing a `syntax-thunk` (or `'eval`) to be
used for them.
* The `error-module-path->string-handler` parameter allows
customization of the display of module paths in error messages.
* Precision of certain numeric functions (`sin`, `cos`, and
others) is improved on Windows platforms by using the
MSVCRT/UCRT libraries.
* The `string-append` function has improved performance and
reduced memory use for long lists of strings in the Racket CS
implementation. Differences are clearly noticeable for lists of
length 1 million.
* TCP ports use `SO_KEEPALIVE`, instructing the kernel to send
periodic messages while waiting for data to check whether the
connection is still responsive.
* Racket code using a terminal in Windows can receive mouse
events as virtual terminal characters after using
`SetConsoleMode`. (This is also already possible on macOS and
Linux.) See the `tui-term` package for related example code.
* The `#:replace-malformed-surrogate?` keyword can be used to
specify a replacement for malformed Unicode surrogates in JSON
input.
* The `http-client` module no longer sends `Content-Length: 0`
for requests without a body.
* The demodularizer (`compiler/demod`) can prune more unused
assignments.
* Several judgment rendering forms in Redex are replaced by
functions, allowing more convenient abstraction.
* When a distribution includes no teaching languages, DrRackets
language-dialog configuration moves into the preferences dialog
and the “Language” menu disappears.
* The math library has better support for block-diagonal
matrices, including both Racket and Typed Racket.
* The math library contains improved implementations of `acos`
and `matrix-(cos-)angle`.
* The stepper again works for `big-bang` programs.
* There are many other repairs and documentation improvements!
-------------------------------------------------------------------
Fri Mar 7 14:55:35 UTC 2025 - Martin Schreiner <martin.schreiner@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package racket
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
# Copyright (c) 2012, 2013 Togan Muftuoglu toganm@opensuse.org
#
# All modifications and additions to the file contributed by third parties
@@ -17,9 +17,8 @@
#
%global _configure ../configure
Name: racket
Version: 8.16
Version: 9.0
Release: 0
Summary: Scheme implementation with teaching tools
License: Apache-2.0 OR MIT
@@ -146,6 +145,7 @@ echo "int main () { return !(((union {unsigned int x; unsigned char c; }){1}).c)
rm -f test64 testendianess
mach=tpb${wide}${endianess}
unset wide endianess
%define configure ../configure
%configure \
--prefix="%{_prefix}" \
--exec-prefix="%{_prefix}" \
@@ -236,7 +236,7 @@ done
# Bash completion
install -Dm 644 %{SOURCE2} %{buildroot}%{_datadir}/bash_completion/completions/%{name}
install -Dm 644 %{_builddir}/%{name}-%{version}/share/pkgs/drracket/drracket/drracket.png %{buildroot}%{_datadir}/pixmaps/drracket.png
install -Dm 644 %{_builddir}/%{name}-%{version}/share/pkgs/drracket-core-lib/drracket/drracket.png %{buildroot}%{_datadir}/pixmaps/drracket.png
# rewrite path in .desktop files
%suse_update_desktop_file -c drracket "DrRacket" "DrRacket is an interactive, integrated, graphical programming environment for the Racket programming languages" "%{_bindir}/drracket" "drracket" Development IDE
@@ -315,8 +315,8 @@ popd
%verify(not md5 size mtime) %{_datadir}/%{name}/*.rktd
%verify(not md5 size mtime) %{_datadir}/%{name}/pkgs/*.rktd
%{_datadir}/%{name}/*
%dir %{_sysconfdir}/%{name}
%config %{_sysconfdir}/%{name}/config.rktd
%dir %{_usr}/etc/%{name}
%{_usr}/etc/%{name}/*
%files doc
%doc %{_docdir}/%{name}/*