From nobody Tue Mar 1 15:11:04 2022 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 1C93119E6B97; Tue, 1 Mar 2022 15:11:05 +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 4K7LL06ZMQz3jhN; Tue, 1 Mar 2022 15:11:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646147465; 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=ZvBVLLjfUDHmd6uA5scJe0o67W+jtY/YwaM23jvppg8=; b=h4falP0UrX/syWiIW8gBcN2LTo6aT72PlXT2dWgbSt8Z9qvpIJLdxa20h0Q7Fxspxj76j4 tngLXepnwo8975wu/tOgbzufe5LWCG8eUtMrz4EZu3Wny/vDkQt8PXgSmIuuke8prfat91 tWTba6X76mNafAdDHol+GQZVSYYj6eTIhKgH/+VVzs78fByBf4YK/fd3lqL7nD82VcdycD HY3Wz3CbArl9rVnl/Wou+ZRmiZeL6/sXW8kmhBoVo5lZ8m0/gtednOPrukxcUA/YMamgLb QiOZip+BWxFHNZVcMrHtfZ9+f/Eil0L2ZXVHwyKktBRrkcy5yJg/m+ca8VAnJw== 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 AB8E311EA4; Tue, 1 Mar 2022 15:11:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 221FB4GZ088815; Tue, 1 Mar 2022 15:11:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 221FB4BQ088814; Tue, 1 Mar 2022 15:11:04 GMT (envelope-from git) Date: Tue, 1 Mar 2022 15:11:04 GMT Message-Id: <202203011511.221FB4BQ088814@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Pietro Cerutti Subject: git: fbc7d9e005d9 - main - lang/seed7: update to 05_20220130 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: gahr X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fbc7d9e005d9211359f9f26c6acf0ffc8f1c4678 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646147465; 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=ZvBVLLjfUDHmd6uA5scJe0o67W+jtY/YwaM23jvppg8=; b=eQu4EjRPJ7cQaOnZCflVSf9DmQhRA2VwBLFKEq/gnOwGP0cHjsU+ZKmtrMhpvsH+KamqXR fsYotnReL4As04kDOHiGUcndtgBI0uF+xu4F09NfoLNtvh4bhqz31mHwaf019lrnuHMWju OEPwML3QgDGqkt2jMhcIJckU0gegXELXA9AIxLZEzaqqNiWYBURinwnNuQGvtgGFTfqMRh qmgEkorL7QEs6+D5g3S/5f3j/Ez1eHiNd+8hvAxTRDzVH12460MKe/l8/HkaA1hg9ixu0M VPBCKobFxkBZTcGUDNZV2xDU0SdxzrThYk0FdJR1O2fXFY9nMGIuPwAjxP9L8Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1646147465; a=rsa-sha256; cv=none; b=h2aatjciT8tctZWcGP/ezMuckp/JwBTXlUrPnz0/D2XcSu16SB2pvoK+Rbo0S/rllpM7CD dYfsuRbVwsLK6Q5ujnmHlBeDJvF/v6lfuw+w+n1Qxfa5TIRfxBUeTyTkMR7qt73aMO0p52 SZjpYC/69NNFvD+fAsjGVqgM0PGixeckayQn7aQpnRGHPL7698Pk9dvtxPhuvlN4hr0eDG ZvCSPauM3K/6yvwnzH6EiS7cBGQyeppnTTvPqFGCewG4ROSbPW5gPUiQ5yFB47CGtXVCJt QJGmBxhCCwFRHbQWu36JDS8wJp4FkFt+SnpLnnsATCpZttzI2+RZv819E7+KAA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by gahr: URL: https://cgit.FreeBSD.org/ports/commit/?id=fbc7d9e005d9211359f9f26c6acf0ffc8f1c4678 commit fbc7d9e005d9211359f9f26c6acf0ffc8f1c4678 Author: Pietro Cerutti AuthorDate: 2022-03-01 15:08:30 +0000 Commit: Pietro Cerutti CommitDate: 2022-03-01 15:10:59 +0000 lang/seed7: update to 05_20220130 20220130: - An arc() function (to draw an arc) with a width (thickness) parameter has been added to the draw.s7i library. Many thanks to Zachary Menzies for pointing out that it was missing. - The new library tiff.s7i has been added. This library supports the TIFF image file format. - The new library ccittfax.s7i has been added. This library supports CCITT fax decoding as it is used in TIFF files. - The library zip.s7i has been improved to support reading zip64 archives. - A chapter about the type 'process' has been added to the manual. The chapter about case statements and other chapters of the manual have been improved as well. - Bit streams have been introduced and the huffman decoding has been improved. The run-time to extract a gzipped Seed7 archive with tar7 has been reduced to 46% (measured with gcc and valgrind). Other usages of the inflate algorithm (PNG, ZIP, etc.) also benefit from the improvements. - The compiler has been improved to: - Optimize overflow checks away for shift operations. - Optimize index checks for string operations. - Write an error message if an unsupported option is used. - Inline the string tail function. - Use parentheses to reduce C compiler warnings. - Improve optimizations of the bytes2Int() function. - Improve checking of division by zero. - The statistics of the Seed7 compiler (s7c.sd7) has been improved to count inlined functions, optimized index checks and optimized overflow checks. - In bitdata.s7i, the types bitStream, lsbBitStream and msbBitStream have been introduced. These types support the functions getBit(), getBits(), peekBits(), skipBits() and gets(). - In bitdata.s7i, the functions openLsbBitStream() and openMsbBitStream() have been introduced to create lsbBitStream and msbBitStream values. With these functions, bit streams can be created with a file or a string as data source. - In bitdata.s7i the functions getBitLsb(), getBitsLsb(), peekBitsLsb(), skipBitsLsb(), getBitMsb(), getBitsMsb(), peekBitsMsb() and skipBitsMsb() with string als parameters are deprecated now. The functions with the types lsbBitStream and msbBitStream should be used instead. - In huffman.s7i the functions getHuffmanSymbolMsb(string, ...) and getHuffmanSymbolLsb(string, ...) are deprecated. The functions getHuffmanSymbol(msbBitStream, ...) and getHuffmanSymbol(lsbBitStream, ...) should be used instead. - Tests for getBit(), getBits(), peekBits(), skipBits() and gets() have been added to chkbitdata.sd7. This refers to tests with lsbBitStream and msbBitStream. - The program chk_all.sd7 has been adjusted to the changes in chkbitdata.sd7. - The functions in inflate.s7i have been improved to use lsbBitStream as parameter instead of the previous combination of string, bytePos and bitPos. - The library inflatefile.s7i has been removed. The functions from inflate.s7i can be used instead. - The library cpio.s7i has been improved to check if a CPIO header is the correct size. - The library bytedata.s7i has been improved to raise RANGE_ERROR if an empty byte string is converted to integer or bigInteger. - The library gzip.s7i has been improved to use lsbBitStream and the new functions from inflate.s7i. - The library imagefile.s7i has been improved to support TIFF images. - The library jpeg.s7i has been improved to use getHuffmanSymbol(msbBitStream) instead of getHuffmanSymbolMsb(stri, bytePos, bitPos, ...). - The library lzw.s7i has been improved to support the functions lzwDecompress(lsbBitStream, ...), lzwDecompress(msbBitStream, ...), lzwDecompressEarlyChange(msbBitStream, codeSize), lzwDecompressEarlyChange(msbBitStream, codeSize, requestedLength) and lzwDecompressMsbEarlyChange(string, codeSize, requestedLength). - The files bitdata.s7i, gzip.s7i, inflate.s7i, jpeg.s7i, zstd.s7i and chkbitdata.sd7 have been refactored to avoid 'bitStream' as variable name. The name 'bitStream' is now used as interface type in bitdata.s7i. - The Seed7 compiler has been improved in comp/arr_act.s7i, comp/bin_act.s7i, comp/bst_act.s7i, comp/const.s7i, comp/flt_act.s7i, comp/int_act.s7i, comp/intrange.s7i, comp/literal.s7i, comp/prc_act.s7i, comp/rfl_act.s7i, comp/set_act.s7i, comp/stat.s7i, comp/str_act.s7i and s7c.sd7. - Checks for bytes(), bytes2Int(), the right shift operator and division by zero have been added to chkint.sd7. - Checks for bin64 shift operations have been added to chkbin.sd7. - Checks for index access to an empty array have been added to chkarr.sd7. - Checks for bytes2BigInt() have been added to chkbig.sd7. - In array.s7i the declaration of the times operator has been simplified. - The program pv7.sd7 has been improved to support TIFF files. - Casts have been added to dll_win.c and libpath.c to reduce C compiler warnings. - In error.c the error message for a failed declaration has been improved. - In str_rtl.c the performance of strHeadSlice() has been improved. - Unused variables have been removed in several files of the compiler. - In int_rtl.c the functions intBytesBe2Int(), intBytesBe2UInt(), intBytesLe2Int() and intBytesLe2UInt() have been changed to raise RANGE_ERROR if the string is empty. - In big_rtl.c and big_gmp.c the functions bigFromByteBufferBe() and bigFromByteBufferLe() have been changed to raise RANGE_ERROR if the size is zero (the buffer is empty). - The files drw_win.c, drw_x11.c, drw_drv.h, drwlib.c, drwlib.h and primitiv.c have been changed to support the action DRW_PFARC. - Definitions for the function XSetLineAttributes() have been added to fwd_x11.c and x11_x.h. - In the program chkccomp.c the detection of the division by zero behavior and the remainder by zero behavior has been improved. - Documentation comments have been improved in bstring.s7i, bytedata.s7i, bitdata.s7i, null_file.s7i, process.s7i, strifile.s7i and biglib.c. --- lang/seed7/Makefile | 2 +- lang/seed7/distinfo | 6 +++--- lang/seed7/files/patch-fwd__x11.c | 23 +++++++++++++++++++++++ lang/seed7/pkg-plist | 3 ++- 4 files changed, 29 insertions(+), 5 deletions(-) diff --git a/lang/seed7/Makefile b/lang/seed7/Makefile index 018815d78462..1d49c0a1e524 100644 --- a/lang/seed7/Makefile +++ b/lang/seed7/Makefile @@ -1,7 +1,7 @@ # Created by: gahr PORTNAME= seed7 -DISTVERSION= 05_20211225 +DISTVERSION= 05_20220130 PORTREVISION= 0 CATEGORIES= lang MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTNAME}/ diff --git a/lang/seed7/distinfo b/lang/seed7/distinfo index b62cfaf0e6e7..bd9b48620c95 100644 --- a/lang/seed7/distinfo +++ b/lang/seed7/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1640606968 -SHA256 (seed7_05_20211225.tgz) = f933aed2138aa5f6aaf4cc1073d7cde0b6981f8fe607e3fb6f859bb06f7b68f2 -SIZE (seed7_05_20211225.tgz) = 3669660 +TIMESTAMP = 1646141399 +SHA256 (seed7_05_20220130.tgz) = 442dddbf979a5af8784bf8155cd70937f277f10949ce0dec9ebea4d5c1e7f10e +SIZE (seed7_05_20220130.tgz) = 3712052 diff --git a/lang/seed7/files/patch-fwd__x11.c b/lang/seed7/files/patch-fwd__x11.c new file mode 100644 index 000000000000..da8e744abbfb --- /dev/null +++ b/lang/seed7/files/patch-fwd__x11.c @@ -0,0 +1,23 @@ +--- fwd_x11.c.orig 2022-03-01 13:41:18 UTC ++++ fwd_x11.c +@@ -398,7 +398,7 @@ static boolType setupX11Dll (const char *dllName) + (ptr_XSetClipOrigin = (tp_XSetClipOrigin) dllFunc(x11Dll, "XSetClipOrigin")) == NULL || + (ptr_XSetForeground = (tp_XSetForeground) dllFunc(x11Dll, "XSetForeground")) == NULL || + (ptr_XSetFunction = (tp_XSetFunction) dllFunc(x11Dll, "XSetFunction")) == NULL || +- (ptr_XSetLineAttributes = (tp_XSetLineAttributes dllFunc(x11Dll, "XSetLineAttributes")) == NULL || ++ (ptr_XSetLineAttributes = (tp_XSetLineAttributes) dllFunc(x11Dll, "XSetLineAttributes")) == NULL || + (ptr_XSetStandardProperties = (tp_XSetStandardProperties) dllFunc(x11Dll, "XSetStandardProperties")) == NULL || + (ptr_XSetWMHints = (tp_XSetWMHints) dllFunc(x11Dll, "XSetWMHints")) == NULL || + (ptr_XSetWMProtocols = (tp_XSetWMProtocols) dllFunc(x11Dll, "XSetWMProtocols")) == NULL || +@@ -1609,9 +1609,9 @@ int XSetLineAttributes (Display *display, GC gc, unsig + logFunction(printf("XSetLineAttributes(" FMT_U_MEM ", " FMT_U_MEM + ", %u, %d, &d, %d)\n", + (memSizeType) display, (memSizeType) gc, +- line_width, line_style, cap_stype, join_style);); ++ line_width, line_style, cap_style, join_style);); + funcResult = ptr_XSetLineAttributes(display, gc, line_width, +- line_style, cap_stype, join_style); ++ line_style, cap_style, join_style); + logFunction(printf("XSetLineAttributes --> %d\n", funcResult);); + return funcResult; + } /* XSetLineAttributes */ diff --git a/lang/seed7/pkg-plist b/lang/seed7/pkg-plist index 1f328bfbb287..6617561e2dd2 100644 --- a/lang/seed7/pkg-plist +++ b/lang/seed7/pkg-plist @@ -30,6 +30,7 @@ lib/seed7/lib/bytedata.s7i lib/seed7/lib/cards.s7i lib/seed7/lib/category.s7i lib/seed7/lib/cc_conf.s7i +lib/seed7/lib/ccittfax.s7i lib/seed7/lib/cgi.s7i lib/seed7/lib/cgidialog.s7i lib/seed7/lib/char.s7i @@ -142,7 +143,6 @@ lib/seed7/lib/idxarray.s7i lib/seed7/lib/image.s7i lib/seed7/lib/imagefile.s7i lib/seed7/lib/inflate.s7i -lib/seed7/lib/inflatefile.s7i lib/seed7/lib/inifile.s7i lib/seed7/lib/integer.s7i lib/seed7/lib/iobuffer.s7i @@ -218,6 +218,7 @@ lib/seed7/lib/tar.s7i lib/seed7/lib/tdes.s7i lib/seed7/lib/tee.s7i lib/seed7/lib/text.s7i +lib/seed7/lib/tiff.s7i lib/seed7/lib/time.s7i lib/seed7/lib/tls.s7i lib/seed7/lib/unicode.s7i