perl -> 5.32.1, gcc -> 11.1, llvm -> 12.0.0, add pixz to core (#5665)

* perl -> 5.32.1

* fix url

* perl rebuild with lto, adjustment of conflicts

* texinfo rebuild

* working version on all architectures

* simply logic

* Cleanup, backport of gcc11 package changes

* more cleanup

* restore some depends

* Use specific revision for mpfr patchset

* Update links to release links

* Replace gcc10 with libssp in install.sh

* Change links to gcc10.3.0 release links

* install not a dependency libssp when installing gcc10 to avoid breaking any libssp dependent packages.

* Adjust gcc10 postinstall logic

* preinstall and postinstall changes for gcc 10.3.0

* Add gcc uninstall message

* Add ruby require for gcc10 package file

* libssp => gcc11.1

* Initial add of gcc 11.1

* change buildessential to use gcc11 instead of gcc10

* x86_64 workaround still needed

* Still need PATH_MAX patching

* add libssp 11.1.0 binaries

* add gcc11 binaries

* convert gcc10 to an is_fake package requiring libssp

* Update gcc_tools with new libssp & gcc11

* revert gcc_tools update

* update to gitlab links

* switch to gitlab links

* use gitlab links

* use gitlab links

* move to gitlab, add more symlinks

* change to gitlab

* switch to gitlab take 2

* use nproc

* New binary packages

* use gnumirror

* Add llvm 12.0.0

* remove lld dep

* finish merge

* switch to gcc11 as primary

* update stow

* fix stow

* replace lzma with current xz-utils

* add po4a build dep to xzutils

* file conflict fix

* initial perl 5.32.1 fixes

* add stow

* deal with conflict

* deal with conflict take 2

* work crew modifications

* have crew delete conflict files from crew module builds

* move delete packfile function to crew

* remove need for po4a

* Add xzutils, pixz

* is_fake doesn't need source_url

* add pixz tpxz format support to crew

* add more perl 5.32.1 binaries

* modify pixz settings

* pixz changes

* tpxz fixes

* crew debugging

* crew debugging

* crew debugging

* crew debugging

* crew debugging

* crew debugging

* crew debugging

* crew debugging

* crew debugging

* fix gcc10 gcc11 packages

* Add xzutils to pixz deps

* Add pixz if not installed.

* change pixz logic

* pixz changes

* xzutils is a runtime dep for pixz

* grammar fix

* Keep crew from crashing on reading malformed package files

* clean up

* don't show duplicate error for syntax error

* don't show duplicate error for syntax error

* Fix comparison

* Use  safe navigation operator.

* Use same fix for list compatible

* refactor compatibility

* bump

* add binary_url to package.rb

* cleanup empty space

* minimal rubocop suggested cleanup

* requested changes

* revert code changes which don't work in ruby

* simplify list compatible

* requested changes...

* hide message behind debug flag.

* libdrm -> 2.4.105

* add mesa 21.1.0

* make full gcc11 package

* replace stow with perl_stow and update gcc10 to full package

* gcc11 hash update

* Add pixz to core

* remove libgcc_s1

* libgcc_s1 -> dummy package

* cleanup perl package files

* requested changes

* remove libgcc_s1.rb

* gcc changes

* rubocop changes

* modify crew to use PIXZ by default

* enable pixz in install.sh

* move postinstall to install

* bump gcc versions

* fix gcc10 url

* make gcc_version logic changes

* Add new gcc10 binaries

* add new gcc11 and libssp armv7l binaries, bump const.rb version

* modify already installed logic

* install.sh and crew bump

* back out core_packages.txt install changes
This commit is contained in:
satmandu
2021-05-11 18:33:20 -04:00
committed by GitHub
parent e0bc330e34
commit 2b10b9843a
40 changed files with 1197 additions and 648 deletions

View File

@@ -1,36 +1,34 @@
require 'package'
class Perl_sgmls < Package
description 'a set of Perl5 routines for processing the output from the onsgmls SGML parsers.'
homepage 'http://search.cpan.org/dist/SGMLSpm/'
compatibility 'all'
version '1.1-2'
license 'GPL-1+ or Artistic'
version '1.1-1'
compatibility 'all'
source_url 'https://cpan.metacpan.org/authors/id/R/RA/RAAB/SGMLSpm-1.1.tar.gz'
source_sha256 '550c9245291c8df2242f7e88f7921a0f636c7eec92c644418e7d89cfea70b2bd'
binary_url ({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/perl_sgmls/1.1-1_armv7l/perl_sgmls-1.1-1-chromeos-armv7l.tar.xz',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/perl_sgmls/1.1-1_armv7l/perl_sgmls-1.1-1-chromeos-armv7l.tar.xz',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/perl_sgmls/1.1-1_i686/perl_sgmls-1.1-1-chromeos-i686.tar.xz',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/perl_sgmls/1.1-1_x86_64/perl_sgmls-1.1-1-chromeos-x86_64.tar.xz',
binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/perl_sgmls/1.1-2_armv7l/perl_sgmls-1.1-2-chromeos-armv7l.tar.xz',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/perl_sgmls/1.1-2_armv7l/perl_sgmls-1.1-2-chromeos-armv7l.tar.xz',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/perl_sgmls/1.1-2_i686/perl_sgmls-1.1-2-chromeos-i686.tar.xz',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/perl_sgmls/1.1-2_x86_64/perl_sgmls-1.1-2-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: '6ab37b70516fc82b41caf4f2fb4d41840cdb25d05ff370f3ac6f61b70352d0d9',
armv7l: '6ab37b70516fc82b41caf4f2fb4d41840cdb25d05ff370f3ac6f61b70352d0d9',
i686: 'e2affa6d9cb0e2b5ce47e782c04d18fd1cbd0cb7236ed081c0e2bc75ac5238dc',
x86_64: 'c04a99f872685d663b89e99ea435e1e62971b234889cc78880d1cb811202e5bd',
binary_sha256({
aarch64: 'bd2e6e4160a9ba8357f88c438641eb2d9147c0346467a046a0434a41ee391d7b',
armv7l: 'bd2e6e4160a9ba8357f88c438641eb2d9147c0346467a046a0434a41ee391d7b',
i686: 'c5d9783e0d0394548a6fbf6ee2f34e14dd3c5c4cd696f6b9ae36e1af268077d7',
x86_64: 'a11acbe5d5f8ccb9da8eb99144e199253b71d8798f886bb8c1652a2a359b64ad'
})
depends_on 'perl_module_build'
def self.build
end
def self.build; end
def self.install
# install files to build directory
system 'cpanm', '-l', 'build', '.' # remove '--self-contained' here, since it will build module_build again.
system 'cpanm', '-l', 'build', '.' # remove '--self-contained' here, since it will build module_build again.
# install lib
libdir = CREW_DEST_DIR + `perl -e 'require Config; print $Config::Config{'"'installsitelib'"'};'`
@@ -42,6 +40,5 @@ class Perl_sgmls < Package
system "(cd build/man; tar cf - .) | (cd #{CREW_DEST_MAN_PREFIX}; tar xfp -)"
end
def self.check
end
def self.check; end
end