diff --git a/.github/workflows/Rubocop.yml b/.github/workflows/Rubocop.yml index 5e7333958..9dff1f862 100644 --- a/.github/workflows/Rubocop.yml +++ b/.github/workflows/Rubocop.yml @@ -8,9 +8,10 @@ jobs: - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: - ruby-version: '3.2' + ruby-version: '3.3' - name: Rubocop uses: reviewdog/action-rubocop@v2 with: + reporter: github-pr-review fail_on_error: true filter_mode: nofilter diff --git a/bin/crew b/bin/crew index 71bd2419e..e192fc036 100755 --- a/bin/crew +++ b/bin/crew @@ -883,7 +883,7 @@ def prepare_package(destdir) abort 'Exiting due to above errors.'.lightred if errors # Make sure the package file has runtime dependencies added properly. - system "#{CREW_LIB_PATH}/tools/getrealdeps.rb --use-crew-dest-dir #{@pkg.name}", exception: true unless @pkg.no_compile_needed? + system "#{CREW_LIB_PATH}/tools/getrealdeps.rb --use-crew-dest-dir #{@pkg.name}", exception: true if Kernel.system('which gawk', %i[out err] => File::NULL) && Kernel.system('which upx', %i[out err] => File::NULL) && !@pkg.no_compile_needed? # create directory list # Remove CREW_PREFIX and HOME from the generated directorylist. crew_prefix_escaped = CREW_PREFIX.gsub('/', '\/') diff --git a/lib/buildsystems/autotools.rb b/lib/buildsystems/autotools.rb index 7d933bbf9..3295db4d2 100644 --- a/lib/buildsystems/autotools.rb +++ b/lib/buildsystems/autotools.rb @@ -27,12 +27,12 @@ class Autotools < Package system "#{@pre_configure_options} #{@mold_linker_prefix_cmd}./configure #{CREW_CONFIGURE_OPTIONS} #{@configure_options}" end system 'make' - @build_extras&.call + @configure_build_extras&.call end def self.install system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install' - @install_extras&.call + @configure_install_extras&.call end def self.check diff --git a/lib/const.rb b/lib/const.rb index 454d297f5..9f53a0a96 100644 --- a/lib/const.rb +++ b/lib/const.rb @@ -3,7 +3,7 @@ require 'etc' OLD_CREW_VERSION ||= defined?(CREW_VERSION) ? CREW_VERSION : '1.0' -CREW_VERSION ||= '1.54.2' unless defined?(CREW_VERSION) && CREW_VERSION == OLD_CREW_VERSION +CREW_VERSION ||= '1.54.3' unless defined?(CREW_VERSION) && CREW_VERSION == OLD_CREW_VERSION # Kernel architecture. KERN_ARCH ||= Etc.uname[:machine] diff --git a/manifest/armv7l/a/autoconf_archive.filelist b/manifest/armv7l/a/autoconf_archive.filelist index d3eb92a21..6bb5d945f 100644 --- a/manifest/armv7l/a/autoconf_archive.filelist +++ b/manifest/armv7l/a/autoconf_archive.filelist @@ -59,6 +59,7 @@ /usr/local/share/aclocal/ax_c_float_words_bigendian.m4 /usr/local/share/aclocal/ax_c_long_long.m4 /usr/local/share/aclocal/ax_c_referenceable_passed_va_list.m4 +/usr/local/share/aclocal/ax_c_restrict.m4 /usr/local/share/aclocal/ax_c_var_func.m4 /usr/local/share/aclocal/ax_cache_size.m4 /usr/local/share/aclocal/ax_caolan_check_package.m4 @@ -583,8 +584,8 @@ /usr/local/share/doc/autoconf-archive/COPYING /usr/local/share/doc/autoconf-archive/COPYING.EXCEPTION /usr/local/share/doc/autoconf-archive/README -/usr/local/share/info/autoconf-archive.info-1.gz -/usr/local/share/info/autoconf-archive.info-2.gz -/usr/local/share/info/autoconf-archive.info-3.gz -/usr/local/share/info/autoconf-archive.info-4.gz -/usr/local/share/info/autoconf-archive.info.gz +/usr/local/share/info/autoconf-archive.info-1.zst +/usr/local/share/info/autoconf-archive.info-2.zst +/usr/local/share/info/autoconf-archive.info-3.zst +/usr/local/share/info/autoconf-archive.info-4.zst +/usr/local/share/info/autoconf-archive.info.zst diff --git a/manifest/armv7l/g/gawk.filelist b/manifest/armv7l/g/gawk.filelist index e71e4f3fd..4e17cd1fa 100644 --- a/manifest/armv7l/g/gawk.filelist +++ b/manifest/armv7l/g/gawk.filelist @@ -1,5 +1,5 @@ /usr/local/bin/gawk -/usr/local/bin/gawk-5.3.0 +/usr/local/bin/gawk-5.3.1 /usr/local/bin/gawkbug /usr/local/etc/profile.d/gawk.csh /usr/local/etc/profile.d/gawk.sh @@ -68,6 +68,7 @@ /usr/local/share/locale/id/LC_MESSAGES/gawk.mo /usr/local/share/locale/it/LC_MESSAGES/gawk.mo /usr/local/share/locale/ja/LC_MESSAGES/gawk.mo +/usr/local/share/locale/ka/LC_MESSAGES/gawk.mo /usr/local/share/locale/ko/LC_MESSAGES/gawk.mo /usr/local/share/locale/ms/LC_MESSAGES/gawk.mo /usr/local/share/locale/nl/LC_MESSAGES/gawk.mo diff --git a/manifest/armv7l/m/mpc.filelist b/manifest/armv7l/m/mpc.filelist index 9699f20c6..f28dcd022 100644 --- a/manifest/armv7l/m/mpc.filelist +++ b/manifest/armv7l/m/mpc.filelist @@ -3,5 +3,5 @@ /usr/local/lib/libmpc.la /usr/local/lib/libmpc.so /usr/local/lib/libmpc.so.3 -/usr/local/lib/libmpc.so.3.2.1 -/usr/local/share/info/mpc.info.gz +/usr/local/lib/libmpc.so.3.3.1 +/usr/local/share/info/mpc.info.zst diff --git a/manifest/armv7l/m/mpfr.filelist b/manifest/armv7l/m/mpfr.filelist index d56e1c27a..4bf440cb5 100644 --- a/manifest/armv7l/m/mpfr.filelist +++ b/manifest/armv7l/m/mpfr.filelist @@ -3,9 +3,8 @@ /usr/local/lib/libmpfr.a /usr/local/lib/libmpfr.la /usr/local/lib/libmpfr.so -/usr/local/lib/libmpfr.so.4 /usr/local/lib/libmpfr.so.6 -/usr/local/lib/libmpfr.so.6.1.0 +/usr/local/lib/libmpfr.so.6.2.1 /usr/local/lib/pkgconfig/mpfr.pc /usr/local/share/doc/mpfr/AUTHORS /usr/local/share/doc/mpfr/BUGS @@ -21,4 +20,4 @@ /usr/local/share/doc/mpfr/examples/sample.c /usr/local/share/doc/mpfr/examples/threads.c /usr/local/share/doc/mpfr/examples/version.c -/usr/local/share/info/mpfr.info.gz +/usr/local/share/info/mpfr.info.zst diff --git a/manifest/armv7l/s/sphinx.filelist b/manifest/armv7l/s/sphinx.filelist index 50eb7cc3b..47e114e25 100644 --- a/manifest/armv7l/s/sphinx.filelist +++ b/manifest/armv7l/s/sphinx.filelist @@ -2,13 +2,13 @@ /usr/local/bin/sphinx-autogen /usr/local/bin/sphinx-build /usr/local/bin/sphinx-quickstart -/usr/local/lib/python3.13/site-packages/sphinx-8.1.1.dist-info/INSTALLER -/usr/local/lib/python3.13/site-packages/sphinx-8.1.1.dist-info/LICENSE.rst -/usr/local/lib/python3.13/site-packages/sphinx-8.1.1.dist-info/METADATA -/usr/local/lib/python3.13/site-packages/sphinx-8.1.1.dist-info/RECORD -/usr/local/lib/python3.13/site-packages/sphinx-8.1.1.dist-info/REQUESTED -/usr/local/lib/python3.13/site-packages/sphinx-8.1.1.dist-info/WHEEL -/usr/local/lib/python3.13/site-packages/sphinx-8.1.1.dist-info/entry_points.txt +/usr/local/lib/python3.13/site-packages/sphinx-8.1.2.dist-info/INSTALLER +/usr/local/lib/python3.13/site-packages/sphinx-8.1.2.dist-info/LICENSE.rst +/usr/local/lib/python3.13/site-packages/sphinx-8.1.2.dist-info/METADATA +/usr/local/lib/python3.13/site-packages/sphinx-8.1.2.dist-info/RECORD +/usr/local/lib/python3.13/site-packages/sphinx-8.1.2.dist-info/REQUESTED +/usr/local/lib/python3.13/site-packages/sphinx-8.1.2.dist-info/WHEEL +/usr/local/lib/python3.13/site-packages/sphinx-8.1.2.dist-info/entry_points.txt /usr/local/lib/python3.13/site-packages/sphinx/__init__.py /usr/local/lib/python3.13/site-packages/sphinx/__main__.py /usr/local/lib/python3.13/site-packages/sphinx/__pycache__/__init__.cpython-313.pyc diff --git a/manifest/i686/a/autoconf_archive.filelist b/manifest/i686/a/autoconf_archive.filelist index d3eb92a21..6bb5d945f 100644 --- a/manifest/i686/a/autoconf_archive.filelist +++ b/manifest/i686/a/autoconf_archive.filelist @@ -59,6 +59,7 @@ /usr/local/share/aclocal/ax_c_float_words_bigendian.m4 /usr/local/share/aclocal/ax_c_long_long.m4 /usr/local/share/aclocal/ax_c_referenceable_passed_va_list.m4 +/usr/local/share/aclocal/ax_c_restrict.m4 /usr/local/share/aclocal/ax_c_var_func.m4 /usr/local/share/aclocal/ax_cache_size.m4 /usr/local/share/aclocal/ax_caolan_check_package.m4 @@ -583,8 +584,8 @@ /usr/local/share/doc/autoconf-archive/COPYING /usr/local/share/doc/autoconf-archive/COPYING.EXCEPTION /usr/local/share/doc/autoconf-archive/README -/usr/local/share/info/autoconf-archive.info-1.gz -/usr/local/share/info/autoconf-archive.info-2.gz -/usr/local/share/info/autoconf-archive.info-3.gz -/usr/local/share/info/autoconf-archive.info-4.gz -/usr/local/share/info/autoconf-archive.info.gz +/usr/local/share/info/autoconf-archive.info-1.zst +/usr/local/share/info/autoconf-archive.info-2.zst +/usr/local/share/info/autoconf-archive.info-3.zst +/usr/local/share/info/autoconf-archive.info-4.zst +/usr/local/share/info/autoconf-archive.info.zst diff --git a/manifest/i686/g/gawk.filelist b/manifest/i686/g/gawk.filelist index e71e4f3fd..4e17cd1fa 100644 --- a/manifest/i686/g/gawk.filelist +++ b/manifest/i686/g/gawk.filelist @@ -1,5 +1,5 @@ /usr/local/bin/gawk -/usr/local/bin/gawk-5.3.0 +/usr/local/bin/gawk-5.3.1 /usr/local/bin/gawkbug /usr/local/etc/profile.d/gawk.csh /usr/local/etc/profile.d/gawk.sh @@ -68,6 +68,7 @@ /usr/local/share/locale/id/LC_MESSAGES/gawk.mo /usr/local/share/locale/it/LC_MESSAGES/gawk.mo /usr/local/share/locale/ja/LC_MESSAGES/gawk.mo +/usr/local/share/locale/ka/LC_MESSAGES/gawk.mo /usr/local/share/locale/ko/LC_MESSAGES/gawk.mo /usr/local/share/locale/ms/LC_MESSAGES/gawk.mo /usr/local/share/locale/nl/LC_MESSAGES/gawk.mo diff --git a/manifest/i686/m/mpc.filelist b/manifest/i686/m/mpc.filelist index 9699f20c6..f28dcd022 100644 --- a/manifest/i686/m/mpc.filelist +++ b/manifest/i686/m/mpc.filelist @@ -3,5 +3,5 @@ /usr/local/lib/libmpc.la /usr/local/lib/libmpc.so /usr/local/lib/libmpc.so.3 -/usr/local/lib/libmpc.so.3.2.1 -/usr/local/share/info/mpc.info.gz +/usr/local/lib/libmpc.so.3.3.1 +/usr/local/share/info/mpc.info.zst diff --git a/manifest/i686/m/mpfr.filelist b/manifest/i686/m/mpfr.filelist index d56e1c27a..4bf440cb5 100644 --- a/manifest/i686/m/mpfr.filelist +++ b/manifest/i686/m/mpfr.filelist @@ -3,9 +3,8 @@ /usr/local/lib/libmpfr.a /usr/local/lib/libmpfr.la /usr/local/lib/libmpfr.so -/usr/local/lib/libmpfr.so.4 /usr/local/lib/libmpfr.so.6 -/usr/local/lib/libmpfr.so.6.1.0 +/usr/local/lib/libmpfr.so.6.2.1 /usr/local/lib/pkgconfig/mpfr.pc /usr/local/share/doc/mpfr/AUTHORS /usr/local/share/doc/mpfr/BUGS @@ -21,4 +20,4 @@ /usr/local/share/doc/mpfr/examples/sample.c /usr/local/share/doc/mpfr/examples/threads.c /usr/local/share/doc/mpfr/examples/version.c -/usr/local/share/info/mpfr.info.gz +/usr/local/share/info/mpfr.info.zst diff --git a/manifest/i686/s/sphinx.filelist b/manifest/i686/s/sphinx.filelist index 50eb7cc3b..47e114e25 100644 --- a/manifest/i686/s/sphinx.filelist +++ b/manifest/i686/s/sphinx.filelist @@ -2,13 +2,13 @@ /usr/local/bin/sphinx-autogen /usr/local/bin/sphinx-build /usr/local/bin/sphinx-quickstart -/usr/local/lib/python3.13/site-packages/sphinx-8.1.1.dist-info/INSTALLER -/usr/local/lib/python3.13/site-packages/sphinx-8.1.1.dist-info/LICENSE.rst -/usr/local/lib/python3.13/site-packages/sphinx-8.1.1.dist-info/METADATA -/usr/local/lib/python3.13/site-packages/sphinx-8.1.1.dist-info/RECORD -/usr/local/lib/python3.13/site-packages/sphinx-8.1.1.dist-info/REQUESTED -/usr/local/lib/python3.13/site-packages/sphinx-8.1.1.dist-info/WHEEL -/usr/local/lib/python3.13/site-packages/sphinx-8.1.1.dist-info/entry_points.txt +/usr/local/lib/python3.13/site-packages/sphinx-8.1.2.dist-info/INSTALLER +/usr/local/lib/python3.13/site-packages/sphinx-8.1.2.dist-info/LICENSE.rst +/usr/local/lib/python3.13/site-packages/sphinx-8.1.2.dist-info/METADATA +/usr/local/lib/python3.13/site-packages/sphinx-8.1.2.dist-info/RECORD +/usr/local/lib/python3.13/site-packages/sphinx-8.1.2.dist-info/REQUESTED +/usr/local/lib/python3.13/site-packages/sphinx-8.1.2.dist-info/WHEEL +/usr/local/lib/python3.13/site-packages/sphinx-8.1.2.dist-info/entry_points.txt /usr/local/lib/python3.13/site-packages/sphinx/__init__.py /usr/local/lib/python3.13/site-packages/sphinx/__main__.py /usr/local/lib/python3.13/site-packages/sphinx/__pycache__/__init__.cpython-313.pyc diff --git a/manifest/x86_64/a/autoconf_archive.filelist b/manifest/x86_64/a/autoconf_archive.filelist index d3eb92a21..6bb5d945f 100644 --- a/manifest/x86_64/a/autoconf_archive.filelist +++ b/manifest/x86_64/a/autoconf_archive.filelist @@ -59,6 +59,7 @@ /usr/local/share/aclocal/ax_c_float_words_bigendian.m4 /usr/local/share/aclocal/ax_c_long_long.m4 /usr/local/share/aclocal/ax_c_referenceable_passed_va_list.m4 +/usr/local/share/aclocal/ax_c_restrict.m4 /usr/local/share/aclocal/ax_c_var_func.m4 /usr/local/share/aclocal/ax_cache_size.m4 /usr/local/share/aclocal/ax_caolan_check_package.m4 @@ -583,8 +584,8 @@ /usr/local/share/doc/autoconf-archive/COPYING /usr/local/share/doc/autoconf-archive/COPYING.EXCEPTION /usr/local/share/doc/autoconf-archive/README -/usr/local/share/info/autoconf-archive.info-1.gz -/usr/local/share/info/autoconf-archive.info-2.gz -/usr/local/share/info/autoconf-archive.info-3.gz -/usr/local/share/info/autoconf-archive.info-4.gz -/usr/local/share/info/autoconf-archive.info.gz +/usr/local/share/info/autoconf-archive.info-1.zst +/usr/local/share/info/autoconf-archive.info-2.zst +/usr/local/share/info/autoconf-archive.info-3.zst +/usr/local/share/info/autoconf-archive.info-4.zst +/usr/local/share/info/autoconf-archive.info.zst diff --git a/manifest/x86_64/g/gawk.filelist b/manifest/x86_64/g/gawk.filelist index 394b7a4d9..174f239aa 100644 --- a/manifest/x86_64/g/gawk.filelist +++ b/manifest/x86_64/g/gawk.filelist @@ -1,5 +1,5 @@ /usr/local/bin/gawk -/usr/local/bin/gawk-5.3.0 +/usr/local/bin/gawk-5.3.1 /usr/local/bin/gawkbug /usr/local/etc/profile.d/gawk.csh /usr/local/etc/profile.d/gawk.sh @@ -68,6 +68,7 @@ /usr/local/share/locale/id/LC_MESSAGES/gawk.mo /usr/local/share/locale/it/LC_MESSAGES/gawk.mo /usr/local/share/locale/ja/LC_MESSAGES/gawk.mo +/usr/local/share/locale/ka/LC_MESSAGES/gawk.mo /usr/local/share/locale/ko/LC_MESSAGES/gawk.mo /usr/local/share/locale/ms/LC_MESSAGES/gawk.mo /usr/local/share/locale/nl/LC_MESSAGES/gawk.mo diff --git a/manifest/x86_64/m/mpc.filelist b/manifest/x86_64/m/mpc.filelist index 7d04a8b3c..d24c5c71a 100644 --- a/manifest/x86_64/m/mpc.filelist +++ b/manifest/x86_64/m/mpc.filelist @@ -3,5 +3,5 @@ /usr/local/lib64/libmpc.la /usr/local/lib64/libmpc.so /usr/local/lib64/libmpc.so.3 -/usr/local/lib64/libmpc.so.3.2.1 -/usr/local/share/info/mpc.info.gz +/usr/local/lib64/libmpc.so.3.3.1 +/usr/local/share/info/mpc.info.zst diff --git a/manifest/x86_64/m/mpfr.filelist b/manifest/x86_64/m/mpfr.filelist index 15912c3bd..f2f31d9d8 100644 --- a/manifest/x86_64/m/mpfr.filelist +++ b/manifest/x86_64/m/mpfr.filelist @@ -3,9 +3,8 @@ /usr/local/lib64/libmpfr.a /usr/local/lib64/libmpfr.la /usr/local/lib64/libmpfr.so -/usr/local/lib64/libmpfr.so.4 /usr/local/lib64/libmpfr.so.6 -/usr/local/lib64/libmpfr.so.6.1.0 +/usr/local/lib64/libmpfr.so.6.2.1 /usr/local/lib64/pkgconfig/mpfr.pc /usr/local/share/doc/mpfr/AUTHORS /usr/local/share/doc/mpfr/BUGS @@ -21,4 +20,4 @@ /usr/local/share/doc/mpfr/examples/sample.c /usr/local/share/doc/mpfr/examples/threads.c /usr/local/share/doc/mpfr/examples/version.c -/usr/local/share/info/mpfr.info.gz +/usr/local/share/info/mpfr.info.zst diff --git a/manifest/x86_64/s/sphinx.filelist b/manifest/x86_64/s/sphinx.filelist index 50eb7cc3b..47e114e25 100644 --- a/manifest/x86_64/s/sphinx.filelist +++ b/manifest/x86_64/s/sphinx.filelist @@ -2,13 +2,13 @@ /usr/local/bin/sphinx-autogen /usr/local/bin/sphinx-build /usr/local/bin/sphinx-quickstart -/usr/local/lib/python3.13/site-packages/sphinx-8.1.1.dist-info/INSTALLER -/usr/local/lib/python3.13/site-packages/sphinx-8.1.1.dist-info/LICENSE.rst -/usr/local/lib/python3.13/site-packages/sphinx-8.1.1.dist-info/METADATA -/usr/local/lib/python3.13/site-packages/sphinx-8.1.1.dist-info/RECORD -/usr/local/lib/python3.13/site-packages/sphinx-8.1.1.dist-info/REQUESTED -/usr/local/lib/python3.13/site-packages/sphinx-8.1.1.dist-info/WHEEL -/usr/local/lib/python3.13/site-packages/sphinx-8.1.1.dist-info/entry_points.txt +/usr/local/lib/python3.13/site-packages/sphinx-8.1.2.dist-info/INSTALLER +/usr/local/lib/python3.13/site-packages/sphinx-8.1.2.dist-info/LICENSE.rst +/usr/local/lib/python3.13/site-packages/sphinx-8.1.2.dist-info/METADATA +/usr/local/lib/python3.13/site-packages/sphinx-8.1.2.dist-info/RECORD +/usr/local/lib/python3.13/site-packages/sphinx-8.1.2.dist-info/REQUESTED +/usr/local/lib/python3.13/site-packages/sphinx-8.1.2.dist-info/WHEEL +/usr/local/lib/python3.13/site-packages/sphinx-8.1.2.dist-info/entry_points.txt /usr/local/lib/python3.13/site-packages/sphinx/__init__.py /usr/local/lib/python3.13/site-packages/sphinx/__main__.py /usr/local/lib/python3.13/site-packages/sphinx/__pycache__/__init__.cpython-313.pyc diff --git a/packages/autoconf_archive.rb b/packages/autoconf_archive.rb index 9b525a45c..479f17aaf 100644 --- a/packages/autoconf_archive.rb +++ b/packages/autoconf_archive.rb @@ -1,28 +1,19 @@ -require 'package' +require 'buildsystems/autotools' -class Autoconf_archive < Package +class Autoconf_archive < Autotools description 'GNU Autoconf Archive is a collection of freely re-usable Autoconf macros.' homepage 'https://www.gnu.org/software/autoconf-archive/' - version '2022.09.13' + version '2023.02.20' license 'GPL-3' compatibility 'all' - source_url 'https://ftpmirror.gnu.org/autoconf-archive/autoconf-archive-2022.09.03.tar.xz' + source_url "https://ftpmirror.gnu.org/autoconf-archive/autoconf-archive-#{version}.tar.xz" source_sha256 'e07454f00d8cae7907bed42d0747798927809947684d94c37207a4d63a32f423' binary_compression 'tar.zst' binary_sha256({ - aarch64: '20358b2576af31e463bcfbaa6f99470729cf1eb483531079b9e534c691648594', - armv7l: '20358b2576af31e463bcfbaa6f99470729cf1eb483531079b9e534c691648594', - i686: 'a9daa783895ede3d7b2b3fcbc75fd35257414eb612477fbac6389502138fba7b', - x86_64: '812f12231da8f71a5bf358cd70564975e6709e54fbcd06d6a9c58cb6d662aec8' + aarch64: '538076c9589edd796a25e62ddce771d92169db79179ed32755dc2eee0717ea3d', + armv7l: '538076c9589edd796a25e62ddce771d92169db79179ed32755dc2eee0717ea3d', + i686: '9c0c8fc457fe4d79ca1e5d12f51122c984ac5c3c2dfa07a8ef06bc0df32623be', + x86_64: '7729228006a55364e4dad960a9ff78e32cd3675cbdbde1960fe6f676b06f5846' }) - - def self.build - system "./configure #{CREW_CONFIGURE_OPTIONS}" - system 'make' - end - - def self.install - system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install' - end end diff --git a/packages/gawk.rb b/packages/gawk.rb index 927e81a5b..4bf297520 100644 --- a/packages/gawk.rb +++ b/packages/gawk.rb @@ -1,20 +1,20 @@ -require 'package' +require 'buildsystems/autotools' -class Gawk < Package +class Gawk < Autotools description 'The gawk utility interprets a special-purpose programming language that makes it possible to handle simple data-reformatting jobs with just a few lines of code.' homepage 'https://www.gnu.org/software/gawk/' - version '5.3.0' + version '5.3.1' license 'GPL-2' compatibility 'all' - source_url 'https://ftpmirror.gnu.org/gawk/gawk-5.3.0.tar.xz' - source_sha256 'ca9c16d3d11d0ff8c69d79dc0b47267e1329a69b39b799895604ed447d3ca90b' + source_url "https://ftpmirror.gnu.org/gawk/gawk-#{version}.tar.xz" + source_sha256 '694db764812a6236423d4ff40ceb7b6c4c441301b72ad502bb5c27e00cd56f78' binary_compression 'tar.zst' binary_sha256({ - aarch64: 'f1b44733f046da402351e65dc672cd21e355d0719b7ac152ad27d7a23302a175', - armv7l: 'f1b44733f046da402351e65dc672cd21e355d0719b7ac152ad27d7a23302a175', - i686: 'cfecbdfd324d06675809a7d651659655c2e249134594af1f9dac998e679eb1d6', - x86_64: 'ce0eb10edf6f35098e654487b3daf8839048179d34098dc90aed4730feb1c086' + aarch64: '2fd73496950cf2482815e4fb21a0e652f0b726be8fc5f7f16009d7dd3df2faa0', + armv7l: '2fd73496950cf2482815e4fb21a0e652f0b726be8fc5f7f16009d7dd3df2faa0', + i686: '71d84a28ad6d27b6a8c394592130fceaab5c7d4d62643daad9963aad6a129c58', + x86_64: '177e43ad886fca0a2701f42564d5ff084ee0efa3a3fb85319405a869641335bf' }) depends_on 'glibc' # R @@ -24,18 +24,12 @@ class Gawk < Package depends_on 'ncurses' => :build depends_on 'readline' # R - def self.build - system "./configure #{CREW_CONFIGURE_OPTIONS} \ - --without-libsigsegv-prefix" - system 'make' - end + # Tests on i686 run out of memory. + run_tests unless ARCH == 'i686' - def self.check - system 'make', 'check' - end + configure_options '--without-libsigsegv-prefix' - def self.install - system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install' + configure_install_extras do # Remove conflict with #{CREW_PREFIX}/bin/awk from mawk package FileUtils.rm "#{CREW_DEST_PREFIX}/bin/awk" end diff --git a/packages/mpc.rb b/packages/mpc.rb index 071fb9d25..f60d16947 100644 --- a/packages/mpc.rb +++ b/packages/mpc.rb @@ -1,35 +1,26 @@ -require 'package' +require 'buildsystems/autotools' -class Mpc < Package +class Mpc < Autotools description 'Gnu Mpc is a C library for the arithmetic of complex numbers with arbitrarily high precision and correct rounding of the result.' homepage 'https://www.multiprecision.org' - version '1.2.1' + version '1.3.1' license 'LGPL-2.1' compatibility 'all' - source_url 'https://ftpmirror.gnu.org/mpc/mpc-1.2.1.tar.gz' + source_url "https://ftpmirror.gnu.org/mpc/mpc-#{version}.tar.gz" source_sha256 '17503d2c395dfcf106b622dc142683c1199431d095367c6aacba6eec30340459' - binary_compression 'tar.xz' + binary_compression 'tar.zst' binary_sha256({ - aarch64: '51f7b0de3567634f42cb4e563520243cd6c9eca00b8efb1add25fbae97b286ce', - armv7l: '51f7b0de3567634f42cb4e563520243cd6c9eca00b8efb1add25fbae97b286ce', - i686: '63b012cdf4a7c8e1e948ceff325ea6dd476e2a4330462d1ce4b2778b51529ca9', - x86_64: '57276bec912dabfed4d65d5edb3e18788c168056727057ee0c91aa8484eebdba' + aarch64: 'e2083196d2ce35edf739c9a324f3fb73474de7bff8a8c9446d05b0d53f465b9b', + armv7l: 'e2083196d2ce35edf739c9a324f3fb73474de7bff8a8c9446d05b0d53f465b9b', + i686: 'a9ffe02042d34189cee4e4015be7ab3c3541c0db15ad4c7e27ee57bd0314cbe4', + x86_64: '57493dcf7256ec86735f554da1bdb1255c7c46329cf4d52cbbd44cd74f6326c3' }) depends_on 'glibc' # R depends_on 'gmp' # R depends_on 'mpfr' # R - def self.build - system "./configure \ - #{CREW_CONFIGURE_OPTIONS} \ - --disable-maintainer-mode \ - --enable-shared" - system 'make' - end - - def self.install - system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install' - end + configure_options '--disable-maintainer-mode \ + --enable-shared' end diff --git a/packages/mpfr.rb b/packages/mpfr.rb index d9a5d23ba..df4d020b6 100644 --- a/packages/mpfr.rb +++ b/packages/mpfr.rb @@ -1,51 +1,29 @@ -require 'package' +require 'buildsystems/autotools' -class Mpfr < Package +class Mpfr < Autotools description 'The MPFR library is a C library for multiple-precision floating-point computations with correct rounding.' homepage 'https://www.mpfr.org/' - version '4.1.0' + version '4.2.1' license 'LGPL-2.1' compatibility 'all' - source_url 'https://www.mpfr.org/mpfr-current/mpfr-4.1.0.tar.xz' - source_sha256 '0c98a3f1732ff6ca4ea690552079da9c597872d30e96ec28414ee23c95558a7f' - binary_compression 'tar.xz' + source_url "https://www.mpfr.org/mpfr-current/mpfr-#{version}.tar.xz" + source_sha256 '277807353a6726978996945af13e52829e3abd7a9a5b7fb2793894e18f1fcbb2' + binary_compression 'tar.zst' binary_sha256({ - aarch64: '02fc4dce2dfade4e7cb7ca539ddcf8142c1cb8839c9a1f83e5362e8f00f7a1e8', - armv7l: '02fc4dce2dfade4e7cb7ca539ddcf8142c1cb8839c9a1f83e5362e8f00f7a1e8', - i686: '2950b94cbcbcb11b0bb34a6e31d7e6e9982eb74d37edd73a17a3700c2b6abe41', - x86_64: 'a7e0a584a6d54b852d4869ef3ba8f9fdb076f48d6d3f2cb1f46842bc8975583a' + aarch64: '0a8fbf432ec14ab1641c76bbe4d152ebf4382870c85214fc3dd62dd57207f8e4', + armv7l: '0a8fbf432ec14ab1641c76bbe4d152ebf4382870c85214fc3dd62dd57207f8e4', + i686: '4d8c9dc1b2d8b6161554bb3b63e919ac76cc5edbfd828b2dfd301dc61603c06e', + x86_64: 'c9f4ba6d151d330702384bd29b3cf080b357dbf8da6be06597f57f00d21750a0' }) depends_on 'autoconf_archive' => :build - depends_on 'hashpipe' => :build depends_on 'glibc' # R depends_on 'gmp' # R - def self.patch - puts 'Applying current rolling patchset. See https://www.mpfr.org/mpfr-current/#bugs' - puts 'for more information.' - system 'curl -Ls "https://gforge.inria.fr/scm/viewvc.php/mpfr/misc/www/mpfr-4.1.0/allpatches?revision=14491&view=co" | \ - hashpipe sha256 dfa7d8a14ec7cb3b344cb81cfd7bd7e22aba62379941cc9110759f11172ac013 | patch -NZp1 --binary' - end - - def self.build - system 'filefix' - system 'autoreconf -fiv' - system "./configure \ - #{CREW_CONFIGURE_OPTIONS} \ - --enable-shared" - system 'make' - end - - def self.install - system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install' - system "mkdir -p #{CREW_DEST_LIB_PREFIX}" - system "ln -s #{CREW_LIB_PREFIX}/libmpfr.so.6 #{CREW_DEST_LIB_PREFIX}/libmpfr.so.4" - end + configure_options '--enable-shared' def self.check - # Check only works after an install on x86_64 system "LD_LIBRARY_PATH=\$(pwd)/src/.libs:\$LD_LIBRARY_PATH make check" end end diff --git a/packages/sphinx.rb b/packages/sphinx.rb index 4567e33df..b6334a19b 100644 --- a/packages/sphinx.rb +++ b/packages/sphinx.rb @@ -3,17 +3,17 @@ require 'buildsystems/pip' class Sphinx < Pip description 'Sphinx is a tool that makes it easy to create intelligent and beautiful documentation.' homepage 'https://www.sphinx-doc.org/' - version "8.1.1-#{CREW_PY_VER}" + version "8.1.2-#{CREW_PY_VER}" license 'BSD' compatibility 'all' source_url 'SKIP' binary_compression 'tar.zst' binary_sha256({ - aarch64: '4ef7e2827df80311cd3e12e46566a5811d241d1880704e2801ec96233b052f27', - armv7l: '4ef7e2827df80311cd3e12e46566a5811d241d1880704e2801ec96233b052f27', - i686: '592f2fb67298de19629243483ddbdcc150fc24023b50ceb75e257ccd454ce742', - x86_64: 'cd0d75d42209f11c214cc1bc556be7dd3e083533021706a31673269ceb91e00b' + aarch64: 'ffda35faf2c0f673e924249e24020d9f16f43b3a14f311c6f3cb405c3b5a8eca', + armv7l: 'ffda35faf2c0f673e924249e24020d9f16f43b3a14f311c6f3cb405c3b5a8eca', + i686: 'ad0c52b5f828c085976ba15dfed53e5b32ba2b6476ef74e0ef472e65b6664ebb', + x86_64: '587b358149371b4d5047ae7136a52d06835ee978358aa991d9880fc255353031' }) depends_on 'py3_jinja2' diff --git a/yes b/yes deleted file mode 100644 index e69de29bb..000000000