Commit Graph

418 Commits

Author SHA1 Message Date
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
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
Satadru Pramanik, DO, MPH, MEng
4896f0f1a1 Samu => Ninja rebuild (#8796)
* update ninja

* bump version, make ninja default CREW_NINJA
2023-10-18 12:04:18 -05:00
Satadru Pramanik, DO, MPH, MEng
c935f6f2ab Add --no-pager to meson configure lines (#8772)
* Add --no-pager to meson configure lines

* bump crew version
2023-10-13 10:57:12 -05:00
SupeChicken666
7bf99a15c7 crew: Retry make with single thread if failed (#8755)
* crew: Retry `make` with `-j1` if build failed

* Fix bugs

* Fix bugs

* Bump Crew Version

---------

Co-authored-by: Satadru Pramanik, DO, MPH, MEng <satadru@gmail.com>
2023-10-13 11:51:27 -04:00
Satadru Pramanik, DO, MPH, MEng
6ae7688120 Add meson parameters to not put files outside /usr/local (#8762) 2023-10-09 12:53:06 -05:00
Satadru Pramanik, DO, MPH, MEng
2d8645cd42 Python 3.12.0 (#8728)
* Add python buildsystem

* tk rebuild

* Initial x86_64,i686 python 3.12 builds

* update meson package

* update python3 to have all compat

* update packages

* Add PYTHON env variable.

* add arm build

* update x86_64 binary

* add i686 binary

* update more packages

* fixup

* fixup

* updates

* fixup

* updates

* updates

* refactor python buildsystem

* refactor python buildsystem

* adjust buildsystems/python

* refactor buildsystems/python

* refactor some core py3 packages

* python package rebuilds

* fix package versioning

* update asciidoc

* update libxml2

* update itstool and py3_libxml2

* boost => 1.83

* update gnome packages

* update py3_pip

* update xcb_proto

* add pip buildsystem

* py3_websockets using pip buildsystem

* more pip updates

* update cython, libnghttp2

* update py3_packaging, py3_pyparsing

* rebuild libcaca

* update talloc, tevent

* update tdb

* update lmdb

* update py3_dnsmarkdown, py3_markdown

* update ldb

* fixup

* fix cmake llvm dep

* update py3_pyyaml

* more llvm17 adjustments

* update py3_pygments

* fixup

* smbclient => 4.19.0

* update py3_abimap

* update py3_pytz

* update py3_wcwidth py3_pyte

* build py3_xlrd.rb py3_et_xmlfile.rb py3_openpyxl.rb py3_olefile.rb py3_babel.rb

* py3_six

* build py3_pyicu.rb py3_pytimeparse.rb py3_text_unidecode.rb py3_slugify.rb py3_isodate.rb py3_leather.rb py3_parsedatetime.rb py3_agate.rb py3_agate_excel.rb

* update py3_packaging

* py3_dbfread.rb  py3_agate_dfb.rb py3_sqlalchemy.rb py3_agate_sql.rb

* py3_alabaster.rb py3_argcomplete.rb py3_appdirs.rb py3_click.rb

* add py3_soupsieve

* rebuild gstreamer for libvpx, build py3_editables.rb py3_pathspec.rb py3_pluggy.rb py3_trove_classifiers.rb py3_hatchling.rb py3_hatch_vcs.rb py3_hatch_fancy_pypi_readme.rb py3_attrs.rb py3_beautifulsoup4.rb py3_dateutil.rb py3_arrow.rb

* build py3_setuptools_scm.rb py3_semantic_version.rb py3_typing_extensions.rb py3_setuptools_rust.rb

* rebuild qtbase

* fixup packages

* update cpython

* make pip/python use nproc

* update numpy, but remove binaries

* Convert remaining python packages to pip without binaries

* add new packages to packages.yaml

* remove pip binaries

* refactor pip

* align pip update code betwen python3 and py3_pip

* fixup

* py3_pip needs building

* adjust depends logic

* refactor pip dependency

* bump buildessential

* bump version

* cleanup

* refactor pip

* switch py3_build to pip

* fixup depends ordering

* add spacing before no_compile_needed

* add missing no_compile_needed
2023-10-06 15:41:29 -05:00
Maximilian Downey Twiss
2f42ff39cc Run Rubocop on tree, again (#8704) 2023-09-29 07:51:08 -04:00
Maximilian Downey Twiss
ec27b6054d Refactor buildsystem variables (#8541) 2023-08-08 18:22:12 -05: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
Maximilian Downey Twiss
0c462cefd6 Add support for crew build without setting a CREW_LOCAL_MANIFEST_PATH (#8511) 2023-07-25 14:45:38 -04:00
Maximilian Downey Twiss
df989a1bad Fix no_lto detection in meson and cmake buildsystems (#8486)
* Fix no_lto detection in meson and cmake buildsystems

* bump version

---------

Co-authored-by: Satadru Pramanik, DO, MPH, MEng <satadru@gmail.com>
2023-07-24 14:54:11 -04:00
Satadru Pramanik, DO, MPH, MEng
ae6f80eb9b Use 'mold -run' in builtsystems when mold is CREW_LINKER (#8468)
* Use 'mold -run' in builtsystems when mold is CREW_LINKER

* simplify logic
2023-07-10 12:29:48 -05:00