Files
chromebrew/tools
satmandu 2b10b9843a 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
2021-05-11 17:33:20 -05:00
..
2021-04-14 23:13:47 -04:00
2021-04-18 12:46:34 +08:00
2018-10-19 07:01:08 -04:00
2017-08-28 12:10:53 +09:00
2021-04-14 23:13:47 -04:00

list of all tools

Tools to build pre-build binary easy.

  • Makefile
  • build.sh
  • genpkgname.sh

Tools to upload and update URL in package files.

  • chkfrog.sh
  • upfrog.sh
  • upload_github_release.sh

Tools to check URL or SHA stuff from packages files.

  • create_sha_list.sh
  • create_url_list.sh

Obsolete tools to create package. Now, we use crew build.

  • create_package.sh

Usage of Makefile

Make working directory on your Chromebook and copy files there. Then, performs make there.

$ mkdir /usr/local/work
$ cd /usr/local/work
$ cp your-path-for-original-tool-directory/{Makefile,build.sh,genpkgname.sh} .
$ make -k

Usage of upfrog.sh

First, compile jfrog CLI from https://www.jfrog.com/getcli/. Then, set it up. After that, copy compiled pre-built binary to release/$ARCH.

$ ./tools/upfrog.sh pango-1.40.9
[Info] Verifying repository chromebrew exists...
[Info] Verifying package pango exists...
[Info] Verifying version 1.40.9 exists...
[Info] Creating version...
[Info] Created version 1.40.9.
[Info] Collecting files for upload:. Done.
[Info] [Thread 2] Uploading artifact: release/x86_64/pango-1.40.9-chromeos-x86_64.tar.xz
[Info] [Thread 0] Uploading artifact: release/armv7l/pango-1.40.9-chromeos-armv7l.tar.xz
[Info] [Thread 1] Uploading artifact: release/i686/pango-1.40.9-chromeos-i686.tar.xz
[Info] Uploaded 3 artifacts.
[Info] Publishing version...
[Info] Published version 1.40.9, details:
{
  "files": 3
}

Usage of chkfrog.sh

Copy compiled pre-built binary's SHA256 files to release/$ARCH.

$ ./tools/chkfrog.sh pango
pango 1.40.9
https://dl.bintray.com/chromebrew/chromebrew/pango-1.40.9-chromeos-x86_64.tar.xz : c90a74dcba01ac1731aca5879b5b54dc9e1c49c3f61ec5f2861384db2bafa4eb
https://dl.bintray.com/chromebrew/chromebrew/pango-1.40.9-chromeos-i686.tar.xz : c24290af6d40c9fe1b9797942941e5a181533574188678b8f1f6f6a9ea319ba4
https://dl.bintray.com/chromebrew/chromebrew/pango-1.40.9-chromeos-armv7l.tar.xz : 60fb01a75558724abfbd879cef6877fca2ca17d802abeca7c487bb9d8b75a08c