Files
chromebrew/packages/fossil.rb
github-actions[bot] 626a53a7a7 Update buildsystems to use buildsystem name variables, and report contents of those variables/methods during use. (#11936)
* Update buildsystems, update jq, add jq to core for arm.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Only report build options if they exist.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Fix overeager sed replacement.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* workflow debugging

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add logging for build errors.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Revert to function in each package file.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update jq since it needs gcc14 to build.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add built packages for linux/386 to buildsystems

* remove deprecated gfbgraph

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* fix git tag for gnome_maps

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update llvm20 package file.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update gnome_maps deps.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Abstract out buildsystems_methods reporting.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Keep LIBC_VERSION const from being empty.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update crew_profile_base and libxml2

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* clarify

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* lint

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update libarchive

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* update libavif

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* more updates

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add libxml2 build comment.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add build comment to libarchive.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Don't warn for missing directory during package removal.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: satmandu <satmandu@users.noreply.github.com>
2025-05-23 19:50:48 +00:00

36 lines
1.3 KiB
Ruby

require 'buildsystems/autotools'
class Fossil < Autotools
description 'Fossil is a simple, high-reliability, distributed software configuration management system'
homepage 'https://fossil-scm.org/home/doc/trunk/www/index.wiki'
version '2.24'
license 'BSD-2'
compatibility 'all'
source_url 'https://github.com/drhsqlite/fossil-mirror.git'
git_hashtag "version-#{version}"
binary_compression 'tar.zst'
binary_sha256({
aarch64: '269cb46f15dc921144fb041850350096dba8b30b4df7e10911d97040ca9d661a',
armv7l: '269cb46f15dc921144fb041850350096dba8b30b4df7e10911d97040ca9d661a',
i686: 'd2ad4dd32e4b12a72b5baa59c0c970dd04e41fa29d2a52f625f0632a38004ad0',
x86_64: '173b80cd19a31560bb4bae0db994bc14bbcd102d18a6514404963ec93ecb069a'
})
depends_on 'fuse2'
depends_on 'openssl' # R
# Error: system SQLite library omits required build option -DSQLITE_ENABLE_DBSTAT_VTAB
# depends_on 'sqlite'
depends_on 'tcl' => :build
depends_on 'zlib' # R
# Fossil uses autosetup, which behaves enough like autotools that if we only pass certain options we can still use the rest of the autotools buildsystem.
def self.build
system "./configure --prefix=#{CREW_PREFIX}"
end
autotools_install_extras do
FileUtils.install 'fossil.1', "#{CREW_DEST_MAN_PREFIX}/man1/fossil.1", mode: 0o644
end
end