SHA256
1
0
forked from pool/racket

7 Commits

Author SHA256 Message Date
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
beaf4757f1 Accepting request 1251422 from devel:languages:misc
OBS-URL: https://build.opensuse.org/request/show/1251422
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/racket?expand=0&rev=35
2025-03-08 16:53:08 +00:00
Fred Fu
e08e36f048 - Refresh patch:
* racket-doc.patch
- Update to 8.16. Changes down below:
  * Racket has expanded support for immutable and mutable treelists:
    - A variety of new treelist utility functions are available:
      treelist-filter, treelist-flatten, et cetera.
    - The mutable-treelist-prepend! function allows prepending to
      mutable treelists.
    - Mutable treelists are serializable.
  * The serialize-structs module allows the minimization of
    dependencies by providing only a handful of core forms.
  * The flbit-field function allows access to the binary
    representation of IEEE floating-point numbers.
  * The top-left search box in the documentation works once more.
  * The XML reader is 2-3x faster on inputs with long CDATA and
  * comments, and avoids some internal contract checks to obtain a 25%
  * speedup on large documents generally.
  * The pregexp syntax includes "\X" to match a grapheme cluster),
  * following Perl and PCRE.
  * The read-json* and write-json* functions allow customization of
    the Racket representation of JSON elements, eliminating the need for
    a separate "translation" pass.
  * Racket has new port I/O functions:
    - The open-input-nowhere function creates an empty input port.
    - The pipe-port? function makes it possible to determine whether a
      port is created by make-pipe.
    - The port-file-stat function allows gathering information about the
      file that is the source or target of a file-stream port.
  * A revised representation of pointers improves the performance of
    foreign function calls. As a result, ptr-ref and ptr-set! are

OBS-URL: https://build.opensuse.org/package/show/devel:languages:misc/racket?expand=0&rev=93
2025-03-08 14:35:27 +00:00
a7014bda28 Accepting request 1227603 from devel:languages:misc
OBS-URL: https://build.opensuse.org/request/show/1227603
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/racket?expand=0&rev=34
2024-12-02 15:58:58 +00:00
Fred Fu
47e8c5195b - Update to 8.15. Changes down below:
* Documentation search results are ordered, with visual cues
    indicating what their source is (core, main-distribution, etc.).
  * DrRacket offers to restore previously open files when starting,
    which can be made the default.
  * In DrRacket, Picts can be saved by right-clicking.
    raco pkg introduces the uninstall command as the opposite of
    install. The remove name for this functionality is retained for
    compatibility.
  * raco pkg improves the handling of --clone and --unclone.
  * iOS is a compilation target, distinct from macOS.
  * Racket supports falling back to IPv4 during hostname resolution when IPv6 fails.
  * Memory allocated using the ffi/unsafe library can be initially zeroed,
    using the 'zeroed-atomic and 'zeroed-atomic-interior flags.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:misc/racket?expand=0&rev=91
2024-12-01 15:12:56 +00:00
5 changed files with 138 additions and 15 deletions

View File

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

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

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

View File

@@ -2,15 +2,18 @@
share/pkgs/scribble-lib/help/search.rkt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- share/pkgs/scribble-lib/help/search.rkt
Index: share/pkgs/scribble-lib/help/search.rkt
===================================================================
--- share/pkgs/scribble-lib/help/search.rkt.orig
+++ share/pkgs/scribble-lib/help/search.rkt
@@ -47,7 +47,8 @@
;; Doesn't exist, but notify and then fall back below:
@@ -45,7 +45,9 @@
(build-path (find-doc-dir) sub)))
(notify path)
- (if (file-exists? path)
+ (if (and (file-exists? path)
+ (file-exists? (build-path (find-doc-dir) "docindex.sqlite")))
(send-url/file path #:fragment fragment #:query query)
(let ([part (lambda (pfx x) (if x (string-append pfx x) ""))])
(send-url (string-append
(cond
- [(file-exists? path) (send-url/file path #:fragment fragment #:query query)]
+ [(and (file-exists? path)
+ (file-exists? (build-path (find-doc-dir) "docindex.sqlite")))
+ (send-url/file path #:fragment fragment #:query query)]
[else
(define (part pfx x)
(if x (string-append pfx x) ""))

View File

@@ -1,3 +1,123 @@
----------------------------------------------------------------------------
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>
- Refresh patch:
* racket-doc.patch
- Update to 8.16. Changes down below:
* Racket has expanded support for immutable and mutable treelists:
- A variety of new treelist utility functions are available:
treelist-filter, treelist-flatten, et cetera.
- The mutable-treelist-prepend! function allows prepending to
mutable treelists.
- Mutable treelists are serializable.
* The serialize-structs module allows the minimization of
dependencies by providing only a handful of core forms.
* The flbit-field function allows access to the binary
representation of IEEE floating-point numbers.
* The top-left search box in the documentation works once more.
* The XML reader is 2-3x faster on inputs with long CDATA and
* comments, and avoids some internal contract checks to obtain a 25%
* speedup on large documents generally.
* The pregexp syntax includes "\X" to match a grapheme cluster),
* following Perl and PCRE.
* The read-json* and write-json* functions allow customization of
the Racket representation of JSON elements, eliminating the need for
a separate "translation" pass.
* Racket has new port I/O functions:
- The open-input-nowhere function creates an empty input port.
- The pipe-port? function makes it possible to determine whether a
port is created by make-pipe.
- The port-file-stat function allows gathering information about the
file that is the source or target of a file-stream port.
* A revised representation of pointers improves the performance of
foreign function calls. As a result, ptr-ref and ptr-set! are
substantially faster.
* In anticipation of the fifteenth RacketCon, the fifteenth function
returns the fifteenth element of a list.
* Racket has an improved multi-line convention for error messages.
* The db library allows prepare on virtual statements.
* The student-t distribution is part of the math/distributions
library.
* Expeditor supports customizing the prompt, using the #:prompt
keyword argument to call-with-expeditor.
* There is a guide to adding internationalization for a new (human)
language.
* Optimizations to racket/profile improve asymptotic speed for very
large call graphs.
* The #lang htdp/asl language incorporates Graphical Debugger
support.
* There is lots of new documentation, and many defects repaired!
-------------------------------------------------------------------
Thu Nov 28 20:01:06 UTC 2024 - Martin Schreiner <martin.schreiner@suse.com>
- Update to 8.15. Changes down below:
* Documentation search results are ordered, with visual cues
indicating what their source is (core, main-distribution, etc.).
* DrRacket offers to restore previously open files when starting,
which can be made the default.
* In DrRacket, Picts can be saved by right-clicking.
raco pkg introduces the uninstall command as the opposite of
install. The remove name for this functionality is retained for
compatibility.
* raco pkg improves the handling of --clone and --unclone.
* iOS is a compilation target, distinct from macOS.
* Racket supports falling back to IPv4 during hostname resolution when IPv6 fails.
* Memory allocated using the ffi/unsafe library can be initially zeroed,
using the 'zeroed-atomic and 'zeroed-atomic-interior flags.
-------------------------------------------------------------------
Mon Aug 26 18:25:45 UTC 2024 - Martin Schreiner <martin.schreiner@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package racket
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2012, 2013 Togan Muftuoglu toganm@opensuse.org
#
# All modifications and additions to the file contributed by third parties
@@ -19,7 +19,7 @@
%global _configure ../configure
Name: racket
Version: 8.14
Version: 8.17
Release: 0
Summary: Scheme implementation with teaching tools
License: Apache-2.0 OR MIT
@@ -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