Commit Graph

432 Commits

Author SHA1 Message Date
Ed Reel
72c9ab195e Add install_extras properties to buildsystems (#9101) 2023-12-19 09:13:19 -05:00
Ed Reel
abcd5618d3 Add min_glibc property and include in applicable packages (#9096) 2023-12-16 11:51:54 -05:00
Satadru Pramanik, DO, MPH, MEng
ab010757bb add slash after CREW_CACHE_DIR usage in crew (#9088)
* add slash after CREW_CACHE_DIR usage in crew

* bump version
2023-12-14 12:59:20 -06:00
Maximilian Downey Twiss
d105a9c058 Run Rubocop 1.58 on tree (#9041) 2023-12-03 19:35:18 -05:00
Satadru Pramanik, DO, MPH, MEng
d3af5eaa4d remove trailing slashes from const.rb (#9016)
* remove trailing slash from CREW_DEST_DIR

* remove trailing slash from CREW_META_PATH

* remove trailing slash from CREW_MAN_PREFIX

* remove trailing slash from CREW_PACKAGES_PATH

* remove trailing slash from CREW_LIB_PATH

* remove trailing slash from CREW_CONFIG_PATH

* remove trailing slash from CREW_BREW_DIR

* remove trailing slash from CREW_WINE_PREFIX

* fixup

* suggested changes
2023-11-29 16:00:40 -06:00
Satadru Pramanik, DO, MPH, MEng
aaae6715fb Crew updates (#9013)
* fix CREW_DEST_HOME

* run find command only if dir exists

* bump version
2023-11-29 10:30:26 -06:00
Satadru Pramanik, DO, MPH, MEng
59d8515823 Prepare package fix (#9005)
* crew: fix filelist for prepare_package, add more documentation

* Add findutils to buildessential

* Rebuild weston

* fix dlist generation

* abstract dir names
2023-11-28 13:53:13 -06:00
Satadru Pramanik, DO, MPH, MEng
36d6888962 weston => 13 (#9003)
* weston => 13

* Weston => 13.0, fix crew prepare_package
2023-11-28 10:04:07 -06:00
SupeChicken666
3bd1341346 crew: Fix --source usage (#8985)
* crew: Fix `--source`

* bump version

---------

Co-authored-by: Satadru Pramanik <satadru@gmail.com>
2023-11-26 20:46:05 -06:00
Satadru Pramanik, DO, MPH, MEng
c583f2eca3 Add perl buildsystem (#8994)
* Add perl buildsystem

* avoid conflict between perl and buildsystem

* build perl_xml_parser

* rebuild remaining perl packages with files in 5.38.0 dir

* bump version

* suggested changes

* suggested changes
2023-11-26 20:39:23 -06:00
Maximilian Downey Twiss
37380bf7d5 Add tests to sparse-checkout in bin/crew (#8993) 2023-11-26 20:35:27 -05:00
Ed Reel
2780b49ca8 Bypass dependency check for incompatible package builds (#8986) 2023-11-26 07:16:33 -05:00
Satadru Pramanik, DO, MPH, MEng
0b13bf72c4 use quotes in pip (#8950)
* use quotes in pip

* bump version
2023-11-17 08:58:03 +11:00
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
Satadru Pramanik, DO, MPH, MEng
d9ca5d8e1d rebuild bison,sed, anagram, openjpeg, libjxl, gegl, gimp; update cpio, strace, putty, gpgme, tre, elinks, libgudev, upower, libdeflate, openexr, R, graphviz, gdal, imagemagick7, openblas, mold (#8920)
* rebuild bison,sed; update cpio

* add strace

* expand comment

* add gpgme, putty

* update tre

* update elinks

* deprecate js91

* rebuild anagram, update libgudev & upower

* rebuild openjpeg

* update libdeflate

* update openexr

* remove ilmbase deps (replaced by openexr)

* deprecate ilmbase

* rebuild gegl with newer openexr

* update R

* libjxl rebuild

* graphviz => 9

* update gdal

* imagemagick7 update

* gimp rebuild

* suggested changes

* Add pre_ options to cmake and meson buildsystems

* suggested changes

* reversion gegl

* update gdal url

* redo versions

* update py3_numpy

* update openblas, mold

* remove 'pre_' empty? checks in buildsystems

* rebuild rust to fix binary issues on x86_64

* fixup missing rust completions
2023-11-16 00:33:52 +08:00
Maximilian Downey Twiss
24d086cf29 Merge pull request #8933 from satmandu/mercurial 2023-11-15 13:46:44 +11:00
Maximilian Downey Twiss
86a7814bda Convert workflows to use reviewdog, run rubocop on tree (#8939) 2023-11-13 02:46:43 -05:00
Satadru Pramanik
31528db11e Mercurial => py3_mercurial 2023-11-13 00:41:10 -05:00
SupeChicken666
d6c5ce79e6 Remove redundant use of .to_s (#8917) 2023-11-10 07:44:50 -05:00
Satadru Pramanik, DO, MPH, MEng
ea6e711e36 Fix Github Action Handoff linter tests (#8913)
* remove unit tests from handoff.yml

* lint yaml

* lint yaml

* rubocop changes to lib/const.rb

* rename job

* switch unittests to run from handoff

* suggested changes

* use ENV.fetch as much as possible
2023-11-08 19:56:34 -06: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
f85c0c8edf Github Action Unit Test: Test Crew Update, crew upgrade, crew install vim (#8907)
* Github Action Unit Test testing

* add CREW_BRANCH

* simplify

* make reporting more verbose

* Actually run the test!

* intentionally bump version
2023-11-08 08:21:41 -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
SupeChicken666
18b3b5e604 lib/package: Remove reload_constants and its usage (#8889) 2023-11-05 10:06:48 -06:00
Satadru Pramanik, DO, MPH, MEng
98674d95d7 pip deps: handle nil case (#8882)
* pip deps: handle nil case

* bump version

* Use -U for pip everywhere, and also cleanup installing message.

* do not show Requirement already satisfied
2023-11-03 11:52:39 -05:00
Satadru Pramanik, DO, MPH, MEng
6d8c7659fe Add py3_ruff, modify pip logic to exclude extra packages (#8880)
* add py3_ruff to py3_codespell

* Add py3_ruff, modify pip logic to exclude extra packages

* add py3_cffi binaries
2023-11-03 00:43:57 -05:00
Satadru Pramanik, DO, MPH, MEng
46959db84c pip buildsystem: install python deps automatically (#8879)
* pip buildsystem: install python deps automatically

* add rust build dep for py3_azure_cli

* fix py3_cryptography

* handle nil array

* cleanup deps string

* cleanup

* adjust deps and messages

* adjust messages

* adjust messages

* adjust messages, change pip cmdline

* add binaries for py3_cryptography
2023-11-02 22:10:32 -05:00
Ed Reel
0661d880e3 Fix /usr/local/lib/crew/lib/buildsystems/pip.rb:21:in eval: no implicit conversion of nil into String (TypeError) (#8877) 2023-11-02 16:07:10 -04:00
Ed Reel
260222a232 Update azure_cli package (#8875)
Add pip_install_extra property to buildsystems/pip

Add py3_azure_cli package

Add az fake package

Convert azure_cli to a fake package
2023-11-02 14:20:07 -04:00
Satadru Pramanik, DO, MPH, MEng
d32cdb6119 Libunistring & connected deps update (#8868)
* libunistring => 1.1 (library version change)

* libidn2 rebuild

* update libpsl

* update gengetopt

* update fig2dev

* update libssh2

* rebuild libidn

* wget => 2.1.0

* add gperf, gnutls rebuilds

* wget rebuild

* wget => wget2, reorder package renames in fixup.rb

* rebuild gettext

* update tesseract

* guile => 3.0.9

* bind => 9.18.19

* cleanup

* add wallstreet preflight

* cleanup more deps

* update iputils

* update alive
2023-11-02 01:18:08 -05:00
Satadru Pramanik, DO, MPH, MEng
dbd118f523 buildsystems/autotools: only run configure if Makefile does not exist (#8869)
* buildsystems/autotools: only run configure if Makefile does not exist

* add CREW_CACHE_BUILD condition
2023-11-01 18:37:36 -05:00
Satadru Pramanik, DO, MPH, MEng
3ac9ecc8a0 Add pre_configure_options to autotools (#8863) 2023-11-01 12:18:07 -05:00
Satadru Pramanik, DO, MPH, MEng
2f578f414c Adjust linter rule... (#8860)
* chdir before using git

* fix rubocop complaint

* adjust lint rule

* expand logic of path env.d check

* bump
2023-10-31 21:16:27 -05:00
Satadru Pramanik, DO, MPH, MEng
1cbe12f2a9 crew: chdir before using git (#8859)
* chdir before using git

* bump version

* fix rubocop complaint
2023-10-31 20:59:17 -05:00
Satadru Pramanik, DO, MPH, MEng
339b6ac9f6 Fix const.rb path extra forward slash (#8856)
* fix extra slash in const.rb path

* make package rename less verbose

* revert verbose change

* bump version
2023-10-31 12:34:36 -05:00
Satadru Pramanik, DO, MPH, MEng
bb11eca9eb Misc updates (#8853)
* misc updates

* more builds

* reorder deps

* add disable-dependency-tracking to crew options, some updates, ncurses rebuild (will be updated again)...

* Add back alsa_libs package contents

* rebuid ncurses with appropriate symlinks

* rebuild again
2023-10-31 12:02:23 -05:00
Maximilian Downey Twiss
fba9da6df6 Rename some packages starting with b and c (#8850)
* Rename bz2 to bzip2

* Rename bz3 to bzip3

* Rename codium to vscodium

* Rename di homepage to what it redirects to
2023-10-30 20:50:16 -04: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
Satadru Pramanik, DO, MPH, MEng
121656b1bb Pip adjustments (#8848)
* force pip to use utf-8

* update pip

* Add pip update check in buildsystems/pip
2023-10-29 19:52:40 -05:00
Satadru Pramanik, DO, MPH, MEng
cff8eed1f2 fix ambiguous argument '../lib/const.rb' error (#8845)
* fix ambiguous argument '../lib/const.rb' error

* add more documentation
2023-10-29 11:20:31 -05:00
Satadru Pramanik, DO, MPH, MEng
b093f1c198 restart crew update if there is a new crew version (#8839)
* restart crew update if there is a new crew version

* use verbose switch

* add period

* add comment

* make constant not global
2023-10-28 01:08:12 -05:00
Maximilian Downey Twiss
267f8d4087 Rename some packages starting with a (#8831)
* Change arping homepage to match Anitya

* Rename acli to acquia_cli

* Rename agrind to angle_grinder

* Rename apriconv to apr_iconv

* Rename aprutil to apr_util
2023-10-26 06:48:42 -04: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