Crew profile base (#5503)

* Make basic crew-profile-base package

* Use crew consts

* Upgrade to 0.0.2-pre2

* Convert aa* to cf*

* Docbook

* aa* to dz*

* docbook-xsl

* through fz* and fix environment variables

* through mz*

* through pz*

* through zz*

* fix crew-profile-base

* upgrade crew-profile-base

* major crew-profile-base changes

* Upgrade crew-profile-base and fix xdg-base

* fix sha256sum

* Remove stale files

* pkgsrc and sommelier

* Add crew-profile-base to core packages and ready for merging

* Bump versions

* prevent conflicts with #5494

* fix sha256sum

* fix fop

* profile.d is not ours

* fix bash

* Upgrade crew-profile-base to 0.0.1-pre6 and fix bash

* Remove self-referencing comment

* Add binaries, fix rust, fix #{@ver}

* move compatibility line

* add core mandb deps back

* File.exists? => File.exist?

* deduplicate @env

* update packages

* Fix gdk_pixbug source url

* Add binaries, use rubocop style fixes

* Update cf from 6.36.1-1 to 6.53.0

* fix sl

* fix depot tools

* remove apulse since it conflicts with pulseaudio.

* refactor crew_profile_base

* first tranche of builds

* go

* add cf

* hunspell

* transmission

* clean up dependency & env situation for gdk_pixbuf

* fix gettext

* fix nano

* fix intel-media-driver

* add zziplib for texlive

* fix texlive

* split fuse for flatpak

* fix flatpak

* delete rack (broken and unmaintained)

* fix packer completion

* modify and fix sl

* fix s

* fix stressng

* fix stack

* Add TMPDIR

* Remove TMPDIR from build files

* Fix aws2 version

* Go: remove extraneous dependency

* hunspell_fr_fr: use french in description

* intel media driver: remove case x86_64

* aws2: quickfix

* everything but texlive

* texlive

* fix stressng

* Delete pkgsrc.rb

* add back pkgsrc

Co-authored-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: Ed Reel <edreel@gmail.com>
Co-authored-by: satmandu <satadru@umich.edu>
This commit is contained in:
Cassandra Watergate
2021-04-08 22:49:18 -04:00
committed by GitHub
parent 2dd3b6a45b
commit d6e779ccd3
93 changed files with 1511 additions and 1442 deletions

View File

@@ -3,32 +3,31 @@ require 'package'
class Waf < Package
description 'The Waf build system'
homepage 'https://waf.io/'
version '1.9.13'
version '2.0.22'
license 'BSD-3'
compatibility 'all'
source_url 'https://github.com/waf-project/waf/archive/waf-1.9.13.tar.gz'
source_sha256 '08d41e9e50398b2f07d74b0cef7b9f02d33787d6d27d2a0e6df5732bbd95bebc'
source_url 'https://gitlab.com/ita1024/waf/-/archive/waf-2.0.22/waf-waf-2.0.22.tar.bz2'
source_sha256 '7368b14adba94467c920161aaca3e54384aca392acb7dc8ee37d53ce29dac781'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/waf-1.9.13-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/waf-1.9.13-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/waf-1.9.13-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/waf-1.9.13-chromeos-x86_64.tar.xz',
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/waf-2.0.22-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/waf-2.0.22-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/waf-2.0.22-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/waf-2.0.22-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: 'de828d9a81f18da0c7dc966623e2f41815f6bd42a723b5bd3eda444eb9b93538',
armv7l: 'de828d9a81f18da0c7dc966623e2f41815f6bd42a723b5bd3eda444eb9b93538',
i686: 'a18ef4d76efe3e6fd2e125c0df3a589851d11c06dd7c22cdf8bb1ec7e0a9ca20',
x86_64: 'b577a4768c54331ac09d4d6eb4e6258ad6a0e6b1267cec468c5dd33c1b01bff4',
binary_sha256({
aarch64: '4c346775014015f83c14d94d99e2d6b5189aec388399140fc1ae060b4cf0d82f',
armv7l: '4c346775014015f83c14d94d99e2d6b5189aec388399140fc1ae060b4cf0d82f',
i686: '253756f480475b38c6470446f5467d1aad0e2a5b04766d4c901ea3d4bce735a4',
x86_64: 'dbe0d9ec1bcb7d4700c866f66ddd0f8406643dc6462e5830521bb5c881cf0b71'
})
depends_on 'help2man'
depends_on 'python27' unless File.exists? "#{CREW_PREFIX}/bin/python"
def self.build
system './waf-light configure build'
system './waf-light --tools=compat15'
system "help2man -N ./waf > waf.1"
system 'help2man -N ./waf > waf.1'
case ARCH
when 'x86_64'
system "sed -i 's,/lib/,/lib64/,' waf"
@@ -43,12 +42,12 @@ class Waf < Package
system "cp waf-light #{CREW_DEST_PREFIX}/bin"
system "cp waf.1 #{CREW_DEST_PREFIX}/man/man1"
system "cp -r waflib/ #{CREW_DEST_LIB_PREFIX}"
end
def self.postinstall
puts
puts "To complete the installation, execute the following:".lightblue
puts "echo 'export WAFDIR=#{CREW_LIB_PREFIX}' >> ~/.bashrc && source ~/.bashrc".lightblue
puts
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/etc/env.d/"
@wafenv = <<~WAFEOF
# waf build system configuration
export WAFDIR=#{CREW_LIB_PREFIX}
WAFEOF
IO.write("#{CREW_DEST_PREFIX}/etc/env.d/waf", @wafenv)
end
end