Commit Graph

364 Commits

Author SHA1 Message Date
Satadru Pramanik, DO, MPH, MEng
fc43ffde1e fixup install.sh path insertion, Adds fixup section to crew to run during crew update. (#8807)
* fixup install.sh path insertion

* Add version to path env.d file

* add fixups.rb

* add more verbose comment

* change require to load

* change fixup path

* change fixup path

* bump version

* add more verbose message to fixup.rb

* fix escaping

* bump version

* add crew version check in fixup

* fixup

* fixup

* fixup

* Make LD_LIBRARY_PATH setting i686 only

* remove musl path from installer

* suggested changes

* suggested changes
2023-10-19 21:35:05 -05:00
Maximilian Downey Twiss
75bebc2312 Remove redundant postinstalls for gnome packages (#8771) 2023-10-13 07:44:17 -04:00
Maximilian Downey Twiss
a08df3431f Detect rebuilds via changes in binary_sha256 when updating (#8531) 2023-08-04 00:26:03 -05:00
Ed Reel
d2728648a2 Xzutils 5.4.3 => 5.4.4 (#8532) 2023-08-03 06:59:06 -04:00
SupeChicken666
15ce1cc93b crew: Add manifest support to crew files, remove crew updatefiles command (#8415)
* crew: Add manifest support to `crew files`, remove `crew updatefiles` command

* const: Bump version

* const: Cleanup

* Update crew

* Fix bugs

* Fix bugs

* Make linter happy

* ARCH => USER_SPACE_ARCH

* Suggested changes

* Suggested changes

---------

Co-authored-by: Ed Reel <edreel@gmail.com>
2023-07-03 11:28:26 -04:00
Satadru Pramanik, DO, MPH, MEng
42c68b25a0 Add CREW_ARCHIVE_DEST constant for use during builds (#8446)
* Add CREW_ARCHIVE_DEST constant for use during builds

* make buildsystems _options messages more verbose

* add configure_options message

* lint buildsystems files and add filefix to autotools

* change crew_archive_dest to CREW_ARCHIVE_DEST

* Revert "change crew_archive_dest to CREW_ARCHIVE_DEST"

bin/crew:1620:19: F: Lint/Syntax: formal argument cannot be a constant
(Using Ruby 3.1 parser; configure using TargetRubyVersion parameter, under AllCops)
def build_package(CREW_ARCHIVE_DEST)

This reverts commit 1f7a128d32.

* expand autotools
2023-06-27 14:30:48 -05:00
Satadru Pramanik, DO, MPH, MEng
d5d2d5551e Add no_lto (#8436)
* Add no_lto

* add xorg_proto update

* update libepoxy as no_lto example

* add no_lto to packages

* move no_lto
2023-06-22 15:03:21 -05:00
Satadru Pramanik, DO, MPH, MEng
e91463ec30 compiler rework (#8391)
* initial llvm16 rework

* update openmp

* start i686 builds

* fix getrealdeps grep with multiple exclusions

* fix crew conflicts handling _build packages, fix getrealdeps handling _build packages

* add more libs to gcc_lib

* update libssp

* add armv7 builds

* add builds

* suggested changes

* update rubocop
2023-06-15 10:22:41 -05:00
c53112f5f0 fix https://github.com/chromebrew/chromebrew/issues/8327 (#8386)
untested. I found `no ACLs` in my rsync version output
2023-06-14 07:29:25 -04:00
Satadru Pramanik, DO, MPH, MEng
0aa7f11842 Do not remove files in other packages during package removal. (#8377)
* Do not remove files in other packages during package removal.

* fix color

* remove debug code

* suggested changes

* suggested changes
2023-06-13 10:43:25 -05:00
Satadru Pramanik, DO, MPH, MEng
ccc88e44ba Repackaging gcc -> gcc_lib and gcc_dev (#8335)
* gcc -> libs and dev

* update deps

* adjust deps in install.sh

* update gcc dep in core

* cleanup

* add gcc_build

* update gcc deps in llvm packages

* adjust conflicts command to exclude _build package filelists

* remove conflicts_ok from compiler packages
2023-06-06 10:21:11 -05:00
Satadru Pramanik, DO, MPH, MEng
90bf43f850 crew: check for rsync ACLs support. (#8322)
* crew: check for rsync ACLs support.

* bump version
2023-06-01 10:58:43 -05:00
Satadru Pramanik, DO, MPH, MEng
913f923bc1 crew prepare_package: sort filelist, use CREW_DEST_MAN_PREFIX, CREW_LOCAL_MANIFEST_PATH writable check (#8274)
* prepare_package: sort filelist, use CREW_DEST_MAN_PREFIX

* bump version

* write filelist to CREW_LOCAL_MANIFEST_PATH if writable

* Fix spacing, add abort condition for CREW_LOCAL_MANIFEST_PATH not being writable during builds.

* change default container linux headers to 5.10

* update logic, add updated figlet

* add fixed wol package
2023-05-18 22:02:40 -05:00
Ed Reel
368d03744d Clean up crew updatefiles (#8271)
Co-authored-by: chronos <noreply@github.com>
2023-05-17 19:55:49 -04:00
Satadru Pramanik, DO, MPH, MEng
404bb68816 add rescue for EROFS r/o fs error, updatefiles: only extract ARCH specific manifest files, only delete manifest specific files (#8270)
* add rescue for EROFS r/o fs error

* add another error class

* add more explanation

* Only extract ARCH-specific manifest files

* be more careful in crew updatefiles

* lint

* delete empty folders in CREW_MANIFEST_CACHE_DIR too.

* simplify

* use error var
2023-05-17 18:26:50 -05:00
Satadru Pramanik, DO, MPH, MEng
31e4036c9f Arch manifests! (#8262)
* Use ARCH for manifest file locations

* update logic for CREW_TESTING_ACCOUNT setting

* add core manifests for all architectures

* move updatefiles check

* update updatefiles check logic

* make sure dir exists before copying filelist

* fix local builds without CREW_LOCAL_MANIFEST_PATH

* add some manifests

* bump crew version

* only use CREW_TESTING_ACCOUNT logic for https://github.com URLs
2023-05-16 15:42:17 -05:00
Ed Reel
97a033dfb3 Fix CREW_LOCAL_MANIFEST_PATH discovery logic (#8260)
If CREW_LOCAL_MANIFEST_PATH is not found, abort prior to the build process

Change CREW_TESTING conditional to execute 'crew updatefiles' correctly

Co-authored-by: chronos <noreply@github.com>
2023-05-15 22:30:55 -04:00
Ed Reel
5241235efb Update crew whatprovides to include packages not installed (#8226)
* Update crew whatprovides to include pacakges not installed

Shellcheck compliance

* Update package_db.sh

* Add manifest files

Add constants for manifest file processing

Add crew updatefiles command to update the files cache

Remove package_db.sh and filelist_all.gz

Add crew updatefiles command to README.md

Add additional constants

Set up for testing

---------

Co-authored-by: chronos <noreply@github.com>
2023-05-15 19:37:21 -04:00
Satadru Pramanik, DO, MPH, MEng
756bc61bce OpenSSL 3.0.8 updates & rebuilds, plus update PAGER logic, pagers... (#8236)
* OpenSSL 3.0.8 updates & rebuilds

* Add OpenSSl 3.0.8/OpenSSl 1.1.1t combined build

* adjust trousers deps

* update/rebuild mold

* update librhash

* rebuild libarchive

* update libunbound

* update gnutls

* crew special case for openssl upgrade

* adjust crew message

* Just move OpenSSL to the front of the upgrade list.

* update trousers as well

* add comment

* remove debug code

* lint

* use crew prefix

* suggested changes

* lint

* Add working less update

* update less config

* add pager selection to crew_profile_base

* add tagged crew_profile_base

* Add tagged less version 633

* update most

* update slang, rebuild most with new slang
2023-05-03 23:28:04 -05:00
Satadru Pramanik, DO, MPH, MEng
fb1be20951 more rebuilds for libtiff2 update (#8089)
* rebuild gtk4

* update gemacs and r

* update tracker3

* add libdecor

* update libsdl2

* update gspell

* update fuse3, gvfs

* rebuild wxwidgets30

* libadwaita => 1.3.1

* update vte

* update gnome_terminal

* update libhandy

* fixup

* update nautilus

* update gnome_console

* update gnome_autorar

* wxwidgets31 rebuild

* wxwidgets rebuild

* add libjxl update

* update aalib to debian version

* update shadow

* libtiff rebuild for i686

* crew_mvdir rebuild for armv7l

* add editorconfig_core_c

* rebuild of R

* update gnome_text_editor

* disable crew_mvdir by default

* add gnome to gnome_autorar
2023-03-22 10:39:34 -05:00
supechicken
0b82701a98 crew_mvdir: Fix moving across different filesystems (#8096)
* crew_mvdir: Fix moving across different filesystems

* Fix typo

* Disable zstd as this is a bootstrap package

* Add prebuilt binary

* Bump version
2023-03-21 11:24:03 -05:00
Satadru Pramanik, DO, MPH, MEng
e195a66e58 crew_mvdir workaround until it gets fixed (#8074)
* Default disable CREW_MVDIR

* fix logic

* simplify logic

* lint
2023-03-15 15:01:30 -05:00
Satadru Pramanik, DO, MPH, MEng
b5fe486578 Disable patchelf during builds (#8053)
* Disable patchelf during builds

* lint

* comment out use of patchelf function

* use .yellow

* put warning message elsewhere

* add more documentation
2023-03-08 11:29:38 -06:00
Satadru Pramanik, DO, MPH, MEng
f674495d2a gtk3 => 3.24.37 (#8051)
* gtk3 => 3.24.37

* Make sommelier postinstall happen last

* update binaries
2023-03-07 22:09:41 -06:00
supechicken
52d645b676 crew: Use rename() syscall to install files from destdir for faster speed (#7751)
* crew: Move files instead of copying+deleting

* adjust logic

* Adjust build command

* Disable upx

* Update comment

* mvdir: use PATH_MAX

* Update comment

* Switch to chromebrew repo

* Add `crew_mvdir` to core

* Remove mvdir.c

* Update package file

* Fix filename

* Re-add `mkdir`

* Add binaries

* Make rubocop happy

* Suggested changes

* change crew-mvdir description

* fewer fasters

* add crew-mvdir to packages.yaml

* bump version

* suggested changes

---------

Co-authored-by: Satadru Pramanik <satadru@gmail.com>
2023-03-02 22:15:33 -06:00
Ed Reel
ea8b332a86 Add preremove package function (#7988)
Add preremove to transmission package

Co-authored-by: chronos <noreply@github.com>
2023-02-24 20:31:21 -05:00
Satadru Pramanik, DO, MPH, MEng
b615e4ddc4 crew: fix cached build extraction (#7986)
* crew: fix cached build extraction

* Also backup sha256 file from cached build when replacing.
2023-02-24 14:04:32 -06:00
Satadru Pramanik, DO, MPH, MEng
6db6b0357b Crew remove: Do not remove outside CREW_PREFIX hierarchy (#7943)
* crew remove: do not remove directories outside CREW_PREFIX

* Do not remove files outside CREW_PREFIX

* Only store files in CREW_PREFIX when building packages
2023-02-15 14:23:07 -06:00
Satadru Pramanik, DO, MPH, MEng
f46eafba30 fix cached zstd git dir extraction (#7928) 2023-02-12 21:21:07 -06:00
Satadru Pramanik, DO, MPH, MEng
e5c16bafe6 Zstd crew fix (#7926)
* Fix zstd check logic

* bump version
2023-02-12 11:48:37 -06:00
Satadru Pramanik, DO, MPH, MEng
7c7457a5e0 zstd => 1.5.4 (#7918)
* zstd => 1.5.4

* lint

* suggested changes

* Also use zstd to compress cached git repos
2023-02-10 15:57:05 -06:00
Ruth
67e41d1a65 Bug update list of commands (#7862)
* add license and version commands

* Update install.sh

* update version and license commands

* bump version

Co-authored-by: Ruth Waiganjo <ruthwaiganjo@Ruths-MacBook-Pro.local>
Co-authored-by: Satadru Pramanik, DO, MPH, MEng <satadru@gmail.com>
2023-01-24 09:54:25 -05:00
Satadru Pramanik
61cf13e39b fixup prompts (#7813)
* fixup prompts

* default for no doesn't have ''
2023-01-05 13:00:16 -06:00
Ed Reel
adbc2e9863 Add 'crew prop' command and supporting help. (#7793)
* Add 'crew prop' command and supporting help.

* Update README.md

Co-authored-by: chronos <no-reply@github.com>
2023-01-02 22:26:03 -05:00
Satadru Pramanik
ffd81171dc Crew strip fix (#7790)
* fix crew strip

* clean up and add better documentation.
2022-12-31 13:31:41 +08:00
Ed Reel
7cf8e7840b Fix crew build issue (#7785)
Co-authored-by: chronos <no-reply@github.com>
2022-12-30 18:11:55 +08:00
Ed Reel
3b90676fe3 Fix FHS3 compliance bug (#7783)
Co-authored-by: chronos <no-reply@github.com>
2022-12-30 17:05:15 +08:00
Satadru Pramanik
729ef3ab2c Handle upgrade requests for uninstalled packages. (#7781)
* Handle upgrade requests for uninstalled packages.

* lint
2022-12-29 11:14:20 -06:00
Ed Reel
02d6b51c19 Add no_links property and CREW_NOT_LINKS environment variable (#7779) 2022-12-29 10:59:07 -05:00
supechicken
88044edd1c crew: Simplify syntax (#7773)
* crew: Simplify + cleanup

* Bump version

* Fix bugs

* Express newlines in a more clear way

* Remove CREW_LA_RENAME_ENABLED logic completely

* Fix typo

* Add no_shrink to xwayland

* Add no_shrink to sommelier

* Use rmtree in lieu of rmdir

* Add crew change from ruby 3.2 PR.

* Need Dir.exist? in lieu of Dir.empty since dir may not exist

* rmdir is fine since we are checking for the dir, also check for empty dir before deleting the dir

* Make rubocop happy

* Handle SKIP package install failure

* merge conditionals

* Rubocop changes

* Allow for only ruby getting upgraded when it is in the upgrade list

* Revert filelist generation change as it creates a filelist with "/filelist" for empty packages like ruby_mdl

* remove trailing space

* Adjust messages when ruby is upgraded.

Co-authored-by: Satadru Pramanik <satadru@gmail.com>
2022-12-27 16:48:01 -06:00
supechicken
d060ba2c0a crew: Add support for dependency version ranges (#7725)
* crew: Add support for dependency version ranges

* Fix errors

* Fix typos

* Update error message

* Fix logic

* Add suggested changes
2022-12-10 10:13:01 -06:00
Satadru Pramanik
6df679a5ef initial attempt at functionalizing replaces in python3 package (#7708)
* initial attempt at functionalizing replaces in python3 package

* remove commented code

* preinstall now forces device.json reload; run crew remove only once

* bump version

* linted
2022-12-03 00:02:30 -06:00
Cassandra Watergate
b8dec32208 Change a comment (tiny) (#7679) 2022-11-25 08:20:49 -05:00
Satadru Pramanik
b952bb61ce Use zstd to compress man pages during package builds (#7656) 2022-11-19 12:27:49 -06:00
Satadru Pramanik
47838138db crew: Add cflags for armv7l, add some CREW_ constants (#7585)
* Add armv7l cflags and CREW_KERNEL_VERSION const

* Adjust package code which uses kernel version

* rework logic

* adjust logic

* debugging

* add CREW_IN_CONTAINER

* Use CREW_IN_CONTAINER in packages.

* Add CREW_IS_AMD and CREW_IS_INTEL

* suggested changes

* test new cpu logic

* cleanup cpu logic

* add CREW_CPU_VENDOR

* fix cpu detection on x86

* lint

* fix package dynamic versioning

* lint changes

* update for non-x86, and make linuxheaders a one-shot deal

* add 5.10 x86_64 binaries for linuxheaders

* lint

* suggested changes

* fix musl_linuxheaders

* show container info in sysinfo

* Use CREW_KERNEL_VERSION

* add markdown interpretation code

* refactor markdown code

* modify issue template to get markdown code for crew sysinfo

* attempt to change the issue template to the newer github yaml format

* move issue template to yaml file

* update Linters logic

* lint crew

* update linter.rb too

* bump linter.rb version
2022-11-08 16:18:09 -06:00
supechicken
ba0beb9e09 Fix crew sysinfo, add more info (#7604)
* Fix `crew sysinfo`, add new info

* Collapse message in markdown

* Fix layout
2022-11-07 16:17:40 -05:00
Satadru Pramanik
194b87b188 Gnome43/Libjpeg_turbo/ICU72.1 (#7508)
* crew: cache builds

* Initial Gnome43/Libjpeg_turbo/ICU72 commits squashed

* fix lint error

* update packages.yaml

* Vulkan packages -> 1.3.231

* add packages to packages.yaml

* add more to packages.yaml

* update libxshmfence

* pixman -> 0.42.0

* libpciaccess -> 0.17.0

* update libxau

* update libxfont2

* update libxcb

* many updates

* updates

* baobab updates

* add libshumate

* update gnome_calculator

* update dfonf_editor

* update evince

* add libpanel

* update libpeas

* update libgweather

* update libgudev gnome_maps

* update upower and libxfixes

* style update

* update gnome_session

* update gnome_settings_daemon

* temporary partial webkit2gtk upload

* update packages.yaml

* fix ruby file perms

* update folks

* move webkit2gtk_4 back to 2.38.0

* update icu4c, change webkit2gtk build

* add updated webkit2gtk_5 file

* update js102

* add x86 builds for webkit2gtk_4

* add mozjs exclusion to icu4c postinstall

* add builds for evolution_data_server

* update gemacs

* update webkit2gtk packages

* update emacs

* add folks fix

* loosen icu4c postinstall check

* rebuild libportal with gtk3

* update epiphany

* openssh -> 9.1

* add x86 webkit2gtk_4 binaries

* add postinstall to webkit2gtk_4

* update svt_av1

* update libavif

* linting fix

* curl -> 7.86.0

* git -> 2.38.1

* add postinstall to gnome_console

* add gcc10 for armv7l

* add gcc10 binaries

* lint gcc10

* rebase fix

* Add WIP webkit2gtk builds

* add back postintall to gnome_maps

* gstreamer version change

* cleanup geocode_glib, and fix gnome_maps depend

* s/@_ver.to_s/@_ver/

* add mpv build and gtk4 -> 4.8.2

* bump curl version to 7.86.0

* remove other version binaries from webkit2gtk builds

* add i686 build

* adjust compatibility for gemacs... for now.

* Add code to sommelier to adjust for whether scripts are sourced or run.

* make -> 4.4

* bump version
2022-11-01 12:23:38 -05:00
Satadru Pramanik
042a3a616b crew: cache builds (#7544)
* crew: cache builds

* make linter suggestions

* remove debug code

* Tear out some musl_zstd code

* use a dir higher up for the build cache archive

* fixup extraction dir for cached builds

* save backup of build cache instead of overwriting

* change int signal handler

* remove debug code

* Add checks for cachefile sha256 hash files

* suggested changes; change all File.exists to File.file

* bump minorversion

* change error message to informational orange
2022-10-25 10:46:12 -05:00
supechicken
f20e2b6d1e lib/color: Refactor color.rb, add more colors (#7484)
* lib/color: Refactor `color.rb`, add more colors

* Update color.rb

* Fix color detection

* Update crew

* Remove trailing space

* Make rubocop happy

* Bump version
2022-10-14 11:14:11 -05:00
supechicken
e4c0ab162f crew: Rewrite def upgrade (#7493)
* crew: Rewrite `def upgrade`

* Fix typo

* Should be `load_package`

* Should be a hash

* Make rubocop happy

* Bump version
2022-10-14 10:53:17 -05:00