379 Commits

Author SHA1 Message Date
Juma7C9
59944a9d3a Add warnings for Grunt (AMD StoneyRidge) devices (#8945)
* Add warnings for Grunt (AMD StoneyRidge) devices

* Fix Ruby linting issues

* Cleaned up code
2023-11-16 13:45:04 -05:00
SupeChicken666
a538e77e9b crew: Remove .tpxz support (#8916)
* crew: Remove tpxz support

* Fix bugs
2023-11-10 07:48:24 -05:00
SupeChicken666
d6c5ce79e6 Remove redundant use of .to_s (#8917) 2023-11-10 07:44:50 -05:00
SupeChicken666
9f77502974 Reimplementing #8890 (lib/const: Simplify + cleanup) (#8901)
* lib/const: Simplify + cleanup

* Fix nil issue

* Update const.rb

* Always convert result to boolean

* Always convert result to boolean

* Use File.join to prevent duplicate slashes

* rubocop: Disable `Lint/RedundantSafeNavigation` rule

* ruby_rubocop: Update checksum

* Fix logic

* Change `CREW_DLL_PREFIX` to `CREW_WINE_PREFIX`

* Use `&&` to concatenate commands

* Update const.rb

* Remove redundant `nil`

* Bump version

* Align + more cleanup

* Don't use ENV.fetch when default value is not needed

---------

Co-authored-by: Satadru Pramanik, DO, MPH, MEng <satadru@gmail.com>
2023-11-08 10:24:46 -05:00
Satadru Pramanik, DO, MPH, MEng
2b946f5561 Crew update should exit if it fails (#8909)
* make failed crew update cause non-zero errorstatus, update github action

* bump version

* adjust github action

* adjust github action

* intentionally break crew update

* fix crew update

* Add remove package to github action
2023-11-08 09:19:08 -06:00
Satadru Pramanik, DO, MPH, MEng
efb05d5516 print_source_bashrc should be last (#8902) 2023-11-07 02:28:21 -06:00
Satadru Pramanik, DO, MPH, MEng
ded56e955c Use same ExitMessage for all packages asking to source ~/.bashrc (#8900)
* Use same ExitMessage for all packages asking to source ~/.bashrc

* refactor reload_source

* update mold

* add extra space

* fix msg

* rename macro

* change name of macro again, run rubocop on package.rb

* update mold => 2.3.2
2023-11-06 18:46:40 -06:00
Satadru Pramanik, DO, MPH, MEng
389371c51f Add exit code to crew. (#8899)
* Add error code to crew exit

* bump version
2023-11-06 12:36:43 -06:00
Ed Reel
21f11675dd Revert "lib/const: Simplify + cleanup (#8890)" (#8895)
This reverts commit f3a58c9492.

Fixes `crew install vim` and `crew install cantarell_fonts`.
2023-11-05 17:49:42 -05:00
SupeChicken666
f3a58c9492 lib/const: Simplify + cleanup (#8890)
* lib/const: Simplify + cleanup

* Fix nil issue

* Update const.rb

* Always convert result to boolean

* Always convert result to boolean

* Use File.join to prevent duplicate slashes

* rubocop: Disable `Lint/RedundantSafeNavigation` rule

* ruby_rubocop: Update checksum

* Fix logic

* Change `CREW_DLL_PREFIX` to `CREW_WINE_PREFIX`

* Use `&&` to concatenate commands

* Update const.rb

* Remove redundant `nil`

* Bump version

* Align + more cleanup

* Don't use ENV.fetch when default value is not needed
2023-11-05 10:12:41 -06:00
Satadru Pramanik, DO, MPH, MEng
051c070453 Installation changes for newer Milestones. (#8849)
* install.sh changes for newer Milestones that disable sudo in crosh

* rebuild lzip without musl

* adjust fixup.rb path in crew

* simplify the repo_root logic

* simplify newer milestone install messages

* revert change in crew

* Remove sudo from install.sh

* rebuild tar w/o musl

* adjust CREW_LOCAL_REPO_ROOT

* revert repo_root changes

* remove more sudo usage

* more cleanup, but not TOO much cleanup

* bump version

* suggested changes
2023-10-30 12:29:22 -05:00
Satadru Pramanik, DO, MPH, MEng
a87dcb305d Add exitmessages (#8851)
* Add exitmessages

* bump version

* Use ExitMessage.new in fixup.rb

* Use ExitMessage.new in sommelier.rb

* use color for message

* style adjustment

* change to @supechicken suggested code

* bump version back
2023-10-30 12:19:19 -05:00
Ed Reel
33f2c663e1 Add download source option (#8828) 2023-10-24 07:39:38 -04:00
Satadru Pramanik, DO, MPH, MEng
9ce8a50720 qt => qt5_, add package rename and old package deletion functionality. (#8803)
* qt => qt5 renames

* update qt5 => qt5_

* update packages

* change more deps

* change gstreamer deps

* more name changes and cleanups

* add binaries for qt5_declarative

* fixup qtfm

* add qt5_wayland binary

* cleanup

* add some binaries

* add qt5_base binary

* add binaries

* add logic for reporting packages needing cleanup

* add color

* update qt5_webengine package file

* add more qt5 binaries

* Add back qtcreator

* add binaries for qt5_wayland

* update version of qtcreator

* Use CREW_LINKER during qmake

* mold, fileutils adjustments

* Add initial code for renaming packages

* more verbose messages

* add help comment

* testing writing fixed up device.json

* more fixup adjustments, remove gnome_icon_theme dep... this takes forever to install

* suggested changes

* suggested changes

* update adwaita_icon_theme

* add x86_64 binary for qt5_webengine

* add jellyfin_media_player build

* Add comments field to pkg fixup data array

* Add deprecated package removal code

* use pkgName not @pkg.name in remove

* capitalize and adjust rescue code

* fix pkg deprecation check logic

* add qt rename message

* print comment for renaming

* adjust coloring, move rename message to after rename succeeds

* add spacing

* use lightcyan

* use lightpurple

* bumping major version

* add other qbittorrent deps

* add arm binaries for qt5_webengine

* adjust some deps

* add jellyfin_media_player build

* suggested changes

* suggested changes, add qmake to buildsystems
2023-10-23 16:28:32 -05:00
Maximilian Downey Twiss
84792a5a5e Rework CREW_TESTING_* variables and crew update process (#8809)
* Rework CREW_TESTING_* variables and crew update process

* Remove unused CREW_GITHUB_* variables
2023-10-20 12:15:11 -04:00
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