...
 
Commits (37)
require 'package'
class Antlr4 < Package
description 'ANTLR (ANother Tool for Language Recognition) is a powerful parser generator for reading, processing, executing, or translating structured text or binary files.'
homepage 'http://www.antlr.org/'
version '4.7.1'
source_url 'https://raw.githubusercontent.com/antlr/antlr4/4.7.1/README.md'
source_sha256 '70a58ea4c4f5ed23306313782bc13f36c3529d9a990e95ab273d5deed9286d4f'
binary_url ({
})
binary_sha256 ({
})
depends_on 'jdk8'
def self.install
system 'wget https://www.antlr.org/download/antlr-4.7.1-complete.jar'
abort 'Checksum mismatch. :/ Try again.'.lightred unless Digest::SHA256.hexdigest( File.read('antlr-4.7.1-complete.jar') ) == 'f41dce7441d523baf9769cb7756a00f27a4b67e55aacab44525541f62d7f6688'
system "install -Dm644 antlr-4.7.1-complete.jar #{CREW_DEST_LIB_PREFIX}/antlr-4.7.1-complete.jar"
end
def self.postinstall
puts
puts "To complete the installation, execute the following:".lightblue
puts "echo 'export CLASSPATH=\".:#{CREW_LIB_PREFIX}/antlr-4.7.1-complete.jar:$CLASSPATH\"' >> ~/.bashrc".lightblue
puts "echo 'alias antlr4=\"java -jar #{CREW_LIB_PREFIX}/antlr-4.7.1-complete.jar\"' >> ~/.bashrc".lightblue
puts "echo 'alias grun=\"java org.antlr.v4.gui.TestRig\"' >> ~/.bashrc".lightblue
puts "source ~/.bashrc".lightblue
puts
end
end
......@@ -3,21 +3,21 @@ require 'package'
class Bz2 < Package
description 'bzip2 is a freely available, patent free, high-quality data compressor.'
homepage 'http://www.bzip.org/'
version '1.0.6-1'
version '1.0.6-2'
source_url 'https://fossies.org/linux/misc/bzip2-1.0.6.tar.xz'
source_sha256 '4bbea71ae30a0e5a8ddcee8da750bc978a479ba11e04498d082fa65c2f8c1ad5'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/bz2-1.0.6-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/bz2-1.0.6-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/bz2-1.0.6-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/bz2-1.0.6-1-chromeos-x86_64.tar.xz',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/bz2-1.0.6-2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/bz2-1.0.6-2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/bz2-1.0.6-2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/bz2-1.0.6-2-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'fa58c395657b29356945895f79246ebda30f5cb23b7262292f7c980d2c3296df',
armv7l: 'fa58c395657b29356945895f79246ebda30f5cb23b7262292f7c980d2c3296df',
i686: '20188c5a6e38c33740cce6835e28bf7991c57d3bd54f384d86ba87cc242d4104',
x86_64: '69e3512f1598eff54c0192b9128484bb13b386bc1c637001c60b2d7fbd39463a',
aarch64: 'c46ed5a6a89650f945fd627caad1778ee8a6c14abf98e1c7c1497c634210ab0c',
armv7l: 'c46ed5a6a89650f945fd627caad1778ee8a6c14abf98e1c7c1497c634210ab0c',
i686: 'e014d6cf82a39221aa5657244dc2b8af6a693c77fbfacd0653c01eb8fd393514',
x86_64: '03750d307fca3c0ea2829ba357196373630400299fd519da6963f266cd10a091',
})
def self.build
......@@ -30,24 +30,25 @@ class Bz2 < Package
# Modify Makefile from "ln -s $(PREFIX)/bin/xxx $(PREFIX)/bin/yyy" to
# "ln -s xxx $(PREFIX)/bin/yyy"
system "sed", "-i", "Makefile", "-e", "/ln -s/s:$(PREFIX)/bin/::"
system "sed -i Makefile -e '/ln -s/s:$(PREFIX)/bin/::'"
# Use PREFIX instead of DESTDIR
system "make", "PREFIX=#{CREW_DEST_PREFIX}", "install"
# Remove static library
system "rm", "#{CREW_DEST_PREFIX}/lib/libbz2.a"
system "rm #{CREW_DEST_PREFIX}/lib/libbz2.a"
# Install bzip2 using shared library by hand
system "cp", "-p", "bzip2-shared", "bzip2"
system "install", "-Dm755", "bzip2", "#{CREW_DEST_PREFIX}/bin/bzip2"
system "ln", "-sf", "bzip2", "#{CREW_DEST_PREFIX}/bin/bunzip2"
system "ln", "-sf", "bzip2", "#{CREW_DEST_PREFIX}/bin/bzcat"
system "cp -p bzip2-shared bzip2"
system "install -Dm755 bzip2 #{CREW_DEST_PREFIX}/bin/bzip2"
system "ln -sf bzip2 #{CREW_DEST_PREFIX}/bin/bunzip2"
system "ln -sf bzip2 #{CREW_DEST_PREFIX}/bin/bzcat"
# Install shared library by hand
system "install", "-Dm644", "libbz2.so.1.0.6", "#{CREW_DEST_LIB_PREFIX}/libbz2.so.1.0.6"
system "ln", "-s", "libbz2.so.1.0.6", "#{CREW_DEST_LIB_PREFIX}/libbz2.so.1.0"
system "ln", "-s", "libbz2.so.1.0.6", "#{CREW_DEST_LIB_PREFIX}/libbz2.so.1"
system "install -Dm644 libbz2.so.1.0.6 #{CREW_DEST_LIB_PREFIX}/libbz2.so.1.0.6"
system "ln -s libbz2.so.1.0.6 #{CREW_DEST_LIB_PREFIX}/libbz2.so.1.0"
system "ln -s libbz2.so.1.0.6 #{CREW_DEST_LIB_PREFIX}/libbz2.so.1"
system "ln -s libbz2.so.1.0.6 #{CREW_DEST_LIB_PREFIX}/libbz2.so"
end
def self.check
......
......@@ -3,13 +3,13 @@ require 'package'
class Code < Package
description 'Visual Studio Code is a source code editor developed by Microsoft for Windows, Linux and macOS.'
homepage 'https://code.visualstudio.com/'
version '1.25'
version '1.25.1'
case ARCH
when 'x86_64'
source_url 'https://go.microsoft.com/fwlink/?LinkID=620884'
source_url 'https://vscode-update.azurewebsites.net/1.25.1/linux-x64/stable'
source_sha256 '5856bbebf38aa05d584da4722869bbe507cf123f69f7ffab5f1532d73dbf3438'
when 'i686'
source_url 'https://go.microsoft.com/fwlink/?LinkID=620885'
source_url 'https://vscode-update.azurewebsites.net/1.25.1/linux-ia32/stable'
source_sha256 'af6adc2e2500e50bfebe7ee7b97d661b6e774a590136bf5f89334132a5b292e2'
else
source_url 'https://raw.githubusercontent.com/Microsoft/vscode/1.25.1/README.md'
......@@ -32,7 +32,7 @@ class Code < Package
system "mkdir", "-p", "#{CREW_DEST_PREFIX}/share/code"
system "mkdir", "-p", "#{CREW_DEST_PREFIX}/bin"
system "cp", "-rpa", ".", "#{CREW_DEST_PREFIX}/share/code/"
system "ln", "-s", "#{CREW_PREFIX}/share/code/bin/code", "#{CREW_DEST_PREFIX}/bin"
system "ln", "-s", "#{CREW_PREFIX}/share/code/bin/code", "#{CREW_DEST_PREFIX}/bin/code"
else
puts
puts 'Visual Studio Code is currently not supported on ARM and AArch64.'.lightred
......
......@@ -3,25 +3,25 @@ require 'package'
class Docbook < Package
description 'DocBook is an XML vocabulary that lets you create documents in a presentation-neutral form that captures the logical structure of your content.'
homepage 'http://docbook.sourceforge.net/'
version '1.79.1'
source_url 'https://downloads.sourceforge.net/project/docbook/docbook-xsl/1.79.1/docbook-xsl-1.79.1.tar.bz2'
version '1.79.1-1'
source_url 'https://prdownloads.sourceforge.net/project/docbook/docbook-xsl/1.79.1/docbook-xsl-1.79.1.tar.bz2'
source_sha256 '725f452e12b296956e8bfb876ccece71eeecdd14b94f667f3ed9091761a4a968'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/docbook-1.79.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/docbook-1.79.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/docbook-1.79.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/docbook-1.79.1-chromeos-x86_64.tar.xz',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/docbook-1.79.1-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/docbook-1.79.1-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/docbook-1.79.1-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/docbook-1.79.1-1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '46c4bc0ba85310a7dbd317ccf82d1a01d84fed57844fe1ab402c97e7dfff214b',
armv7l: '46c4bc0ba85310a7dbd317ccf82d1a01d84fed57844fe1ab402c97e7dfff214b',
i686: 'f920e1e335360b845136dcd6ae16d6802db8c6a363f728122b25ba9b272d5f22',
x86_64: '4cb9846d4a824f015b86a7c633877e8716a52fa2f3d76cc2a9d1149ef3b49b3a',
aarch64: '478699b1b1daf061aa64cb71ae22c504d4901aac407525574d48d36cd4f085e4',
armv7l: '478699b1b1daf061aa64cb71ae22c504d4901aac407525574d48d36cd4f085e4',
i686: 'bbea3f2d4dbfff96e903d4ba085d1b7242e490b415f6ce629abd1f9046852596',
x86_64: 'dd7a1d8bee46badac46d233176bc660d47c56cb9e3b4488b6107661bda90e83e',
})
def self.install
system "mkdir -p #{CREW_DEST_DIR}/usr/local/docbook"
system "cp -r . #{CREW_DEST_DIR}/usr/local/docbook"
system "mkdir -p #{CREW_DEST_PREFIX}/docbook"
system "cp -r . #{CREW_DEST_PREFIX}/docbook"
end
end
......@@ -5,100 +5,98 @@ require 'package'
class Docbook_xml < Package
description 'document type definitions for verification of XML data files against the DocBook rule set'
homepage 'http://www.docbook.org'
version '4.3'
version '4.3-1'
source_url 'http://www.docbook.org/xml/4.3/docbook-xml-4.3.zip'
source_sha256 '23068a94ea6fd484b004c5a73ec36a66aa47ea8f0d6b62cc1695931f5c143464'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/docbook_xml-4.3-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/docbook_xml-4.3-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/docbook_xml-4.3-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/docbook_xml-4.3-chromeos-x86_64.tar.xz',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/docbook_xml-4.3-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/docbook_xml-4.3-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/docbook_xml-4.3-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/docbook_xml-4.3-1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'd52eb60b394b51945c4ebcefe915664fb835308e68e81a03f63da6b524f2b8db',
armv7l: 'd52eb60b394b51945c4ebcefe915664fb835308e68e81a03f63da6b524f2b8db',
i686: '432c69d99add5b330b8c3a43bbf937e10a2cee93081296e7fb43cd2e35cf3bd6',
x86_64: '43652bc703c27c907372133db6e93c39a90b8d671a94e6136a3c2e453672a02d',
aarch64: 'd3008b147f80217982def39e17e04ab9dd32774932322685ae54e5310c70787b',
armv7l: 'd3008b147f80217982def39e17e04ab9dd32774932322685ae54e5310c70787b',
i686: '2650849c66d4838eb91c679dcd18792583e848a11073b8f60fdc2f5c9f81a7dd',
x86_64: '2479e13c8b04434b51a07a96d8500a753042e08ed68dac8b692a267b44372001',
})
depends_on 'unzip'
depends_on 'libxml2'
depends_on 'docbook'
def self.build
end
depends_on 'sgml_common'
def self.install
system "install -v -d -m755 #{CREW_DEST_DIR}/usr/local/share/xml/docbook/xml-dtd-4.3"
system "install -v -d -m755 #{CREW_DEST_DIR}/usr/local/etc/xml"
system "if [ ! -e #{CREW_DEST_DIR}/usr/local/etc/xml/docbook ]; then
xmlcatalog --noout --create #{CREW_DEST_DIR}/usr/local/etc/xml/docbook
fi &&
xml_version = '4.3'
xml_dtd = "xml-dtd-#{xml_version}"
system "install -v -d -m755 #{CREW_DEST_PREFIX}/share/xml/docbook/#{xml_dtd}"
system "install -v -d -m755 #{CREW_DEST_PREFIX}/etc/xml"
system "cp -rpa . #{CREW_DEST_PREFIX}/share/xml/docbook/#{xml_dtd}/"
system "rm -f #{CREW_PREFIX}/etc/xml/docbook && \
xmlcatalog --noout --create #{CREW_DEST_PREFIX}/etc/xml/docbook && \
xmlcatalog --noout --add 'public' \
'-//OASIS//DTD DocBook XML V4.3//EN' \
'http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd' \
#{CREW_DEST_DIR}/usr/local/etc/xml/docbook &&
'-//OASIS//DTD DocBook XML V#{xml_version}//EN' \
'http://www.oasis-open.org/docbook/xml/#{xml_version}/docbookx.dtd' \
#{CREW_DEST_PREFIX}/etc/xml/docbook &&
xmlcatalog --noout --add 'public' \
'-//OASIS//DTD DocBook XML CALS Table Model V4.3//EN' \
'file:///usr/local/share/xml/docbook/xml-dtd-4.3/calstblx.dtd' \
#{CREW_DEST_DIR}/usr/local/etc/xml/docbook &&
'-//OASIS//DTD DocBook XML CALS Table Model V#{xml_version}//EN' \
'file://#{CREW_PREFIX}/share/xml/docbook/#{xml_dtd}/calstblx.dtd' \
#{CREW_DEST_PREFIX}/etc/xml/docbook &&
xmlcatalog --noout --add 'public' \
'-//OASIS//DTD XML Exchange Table Model 19990315//EN' \
'file:///usr/local/share/xml/docbook/xml-dtd-4.3/soextblx.dtd' \
#{CREW_DEST_DIR}/usr/local/etc/xml/docbook &&
'file://#{CREW_PREFIX}/share/xml/docbook/#{xml_dtd}/soextblx.dtd' \
#{CREW_DEST_PREFIX}/etc/xml/docbook &&
xmlcatalog --noout --add 'public' \
'-//OASIS//ELEMENTS DocBook XML Information Pool V4.3//EN' \
'file:///usr/local/share/xml/docbook/xml-dtd-4.3/dbpoolx.mod' \
#{CREW_DEST_DIR}/usr/local/etc/xml/docbook &&
'-//OASIS//ELEMENTS DocBook XML Information Pool V#{xml_version}//EN' \
'file://#{CREW_PREFIX}/share/xml/docbook/#{xml_dtd}/dbpoolx.mod' \
#{CREW_DEST_PREFIX}/etc/xml/docbook &&
xmlcatalog --noout --add 'public' \
'-//OASIS//ELEMENTS DocBook XML Document Hierarchy V4.3//EN' \
'file:///usr/local/share/xml/docbook/xml-dtd-4.3/dbhierx.mod' \
#{CREW_DEST_DIR}/usr/local/etc/xml/docbook &&
'-//OASIS//ELEMENTS DocBook XML Document Hierarchy V#{xml_version}//EN' \
'file://#{CREW_PREFIX}/share/xml/docbook/#{xml_dtd}/dbhierx.mod' \
#{CREW_DEST_PREFIX}/etc/xml/docbook &&
xmlcatalog --noout --add 'public' \
'-//OASIS//ELEMENTS DocBook XML HTML Tables V4.3//EN' \
'file:///usr/local/share/xml/docbook/xml-dtd-4.3/htmltblx.mod' \
#{CREW_DEST_DIR}/usr/local/etc/xml/docbook &&
'-//OASIS//ELEMENTS DocBook XML HTML Tables V#{xml_version}//EN' \
'file://#{CREW_PREFIX}/share/xml/docbook/#{xml_dtd}/htmltblx.mod' \
#{CREW_DEST_PREFIX}/etc/xml/docbook &&
xmlcatalog --noout --add 'public' \
'-//OASIS//ENTITIES DocBook XML Notations V4.3//EN' \
'file:///usr/local/share/xml/docbook/xml-dtd-4.3/dbnotnx.mod' \
#{CREW_DEST_DIR}/usr/local/etc/xml/docbook &&
'-//OASIS//ENTITIES DocBook XML Notations V#{xml_version}//EN' \
'file://#{CREW_PREFIX}/share/xml/docbook/#{xml_dtd}/dbnotnx.mod' \
#{CREW_DEST_PREFIX}/etc/xml/docbook &&
xmlcatalog --noout --add 'public' \
'-//OASIS//ENTITIES DocBook XML Character Entities V4.3//EN' \
'file:///usr/local/share/xml/docbook/xml-dtd-4.3/dbcentx.mod' \
#{CREW_DEST_DIR}/usr/local/etc/xml/docbook &&
'-//OASIS//ENTITIES DocBook XML Character Entities V#{xml_version}//EN' \
'file://#{CREW_PREFIX}/share/xml/docbook/#{xml_dtd}/dbcentx.mod' \
#{CREW_DEST_PREFIX}/etc/xml/docbook &&
xmlcatalog --noout --add 'public' \
'-//OASIS//ENTITIES DocBook XML Additional General Entities V4.3//EN' \
'file:///usr/local/share/xml/docbook/xml-dtd-4.3/dbgenent.mod' \
#{CREW_DEST_DIR}/usr/local/etc/xml/docbook &&
'-//OASIS//ENTITIES DocBook XML Additional General Entities V#{xml_version}//EN' \
'file://#{CREW_PREFIX}/share/xml/docbook/#{xml_dtd}/dbgenent.mod' \
#{CREW_DEST_PREFIX}/etc/xml/docbook &&
xmlcatalog --noout --add 'rewriteSystem' \
'http://www.oasis-open.org/docbook/xml/4.3' \
'file:///usr/local/share/xml/docbook/xml-dtd-4.3' \
#{CREW_DEST_DIR}/usr/local/etc/xml/docbook &&
'http://www.oasis-open.org/docbook/xml/#{xml_version}' \
'file://#{CREW_PREFIX}/share/xml/docbook/#{xml_dtd}' \
#{CREW_DEST_PREFIX}/etc/xml/docbook &&
xmlcatalog --noout --add 'rewriteURI' \
'http://www.oasis-open.org/docbook/xml/4.3' \
'file:///usr/local/share/xml/docbook/xml-dtd-4.3' \
#{CREW_DEST_DIR}/usr/local/etc/xml/docbook"
'http://www.oasis-open.org/docbook/xml/#{xml_version}' \
'file://#{CREW_PREFIX}/share/xml/docbook/#{xml_dtd}' \
#{CREW_DEST_PREFIX}/etc/xml/docbook"
system "if [ ! -e #{CREW_DEST_DIR}/usr/local/etc/xml/catalog ]; then
xmlcatalog --noout --create #{CREW_DEST_DIR}/usr/local/etc/xml/catalog
fi &&
system "rm -f #{CREW_PREFIX}/etc/xml/catalog && \
xmlcatalog --noout --create #{CREW_DEST_PREFIX}/etc/xml/catalog && \
xmlcatalog --noout --add 'delegatePublic' \
'-//OASIS//ENTITIES DocBook XML' \
'file:///usr/local/etc/xml/docbook' \
#{CREW_DEST_DIR}/usr/local/etc/xml/catalog &&
'file://#{CREW_PREFIX}/etc/xml/docbook' \
#{CREW_DEST_PREFIX}/etc/xml/catalog &&
xmlcatalog --noout --add 'delegatePublic' \
'-//OASIS//DTD DocBook XML' \
'file:///usr/local/etc/xml/docbook' \
#{CREW_DEST_DIR}/usr/local/etc/xml/catalog &&
'file://#{CREW_PREFIX}/etc/xml/docbook' \
#{CREW_DEST_PREFIX}/etc/xml/catalog &&
xmlcatalog --noout --add 'delegateSystem' \
'http://www.oasis-open.org/docbook/' \
'file:///usr/local/etc/xml/docbook' \
#{CREW_DEST_DIR}/usr/local/etc/xml/catalog &&
'file://#{CREW_PREFIX}/etc/xml/docbook' \
#{CREW_DEST_PREFIX}/etc/xml/catalog &&
xmlcatalog --noout --add 'delegateURI' \
'http://www.oasis-open.org/docbook/' \
'file:///usr/local/etc/xml/docbook' \
#{CREW_DEST_DIR}/usr/local/etc/xml/catalog"
'file://#{CREW_PREFIX}/etc/xml/docbook' \
#{CREW_DEST_PREFIX}/etc/xml/catalog"
end
end
......@@ -5,66 +5,58 @@ require 'package'
class Docbook_xsl < Package
description 'The DocBook XSL Stylesheets package contains XSL stylesheets. These are useful for performing transformations on XML DocBook files.'
homepage 'https://github.com/docbook/xslt10-stylesheets'
version '1.79.1'
source_url 'http://downloads.sourceforge.net/docbook/docbook-xsl-1.79.1.tar.bz2'
source_sha256 '725f452e12b296956e8bfb876ccece71eeecdd14b94f667f3ed9091761a4a968'
version '1.79.2'
source_url 'https://github.com/docbook/xslt10-stylesheets/releases/download/release/1.79.2/docbook-xsl-1.79.2.tar.bz2'
source_sha256 '316524ea444e53208a2fb90eeb676af755da96e1417835ba5f5eb719c81fa371'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/docbook_xsl-1.79.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/docbook_xsl-1.79.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/docbook_xsl-1.79.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/docbook_xsl-1.79.1-chromeos-x86_64.tar.xz',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/docbook_xsl-1.79.2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/docbook_xsl-1.79.2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/docbook_xsl-1.79.2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/docbook_xsl-1.79.2-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'dc78b57e5e4219ea92f0c2f077806c8f1f88f66577cec829d23691319d812ad6',
armv7l: 'dc78b57e5e4219ea92f0c2f077806c8f1f88f66577cec829d23691319d812ad6',
i686: '46834cf7ee7510cd02417a50b874fe0aceb806fc656ca13600e3bfa7dee25c5c',
x86_64: '6713dae4909337fde776f610cf3dee9b6b0ca88a8b35ffb02cc213022f6b85ba',
aarch64: '261d6d7afe8e41a399381b5052b7bc3760627d1c66cae9375fc46abc7918c172',
armv7l: '261d6d7afe8e41a399381b5052b7bc3760627d1c66cae9375fc46abc7918c172',
i686: 'b6a64fd1351743c240d9e3531b270af4a94538aa6282e5bedc616b2f3d3d8455',
x86_64: '614d4499046ae97483544777e0ac75d915c51ac734b28361843d82493e2b45ee',
})
depends_on 'unzip'
depends_on 'libxml2'
depends_on 'libxslt'
depends_on 'docbook_xml'
depends_on 'docbook'
def self.build
def self.patch
system 'wget http://www.linuxfromscratch.org/patches/blfs/svn/docbook-xsl-1.79.2-stack_fix-1.patch'
abort 'Checksum mismatch. :/ Try again.'.lightred unless Digest::SHA256.hexdigest( File.read('docbook-xsl-1.79.2-stack_fix-1.patch') ) == 'a92c39715c54949ba9369add1809527b8f155b7e2a2b2e30cb4b39ee715f2e30'
system 'patch -Np1 -i docbook-xsl-1.79.2-stack_fix-1.patch'
end
def self.install
system "install -v -m755 -d #{CREW_DEST_DIR}/usr/local/share/xml/docbook/xsl-stylesheets-1.79.1 &&
cp -v -R VERSION assembly common eclipse epub epub3 extensions fo \
highlighting html htmlhelp images javahelp lib manpages params \
profiling roundtrip slides template tests tools webhelp website \
xhtml xhtml-1_1 xhtml5 \
#{CREW_DEST_DIR}/usr/local/share/xml/docbook/xsl-stylesheets-1.79.1 &&
ln -s VERSION #{CREW_DEST_DIR}/usr/local/share/xml/docbook/xsl-stylesheets-1.79.1/VERSION.xsl &&
install -v -m644 -D README \
#{CREW_DEST_DIR}/usr/local/share/doc/docbook-xsl-1.79.1/README.txt &&
install -v -m644 RELEASE-NOTES* NEWS* \
#{CREW_DEST_DIR}/usr/local/share/doc/docbook-xsl-1.79.1"
xsl_version = '1.79.2'
xsl_stylesheets = "xsl-stylesheets-#{xsl_version}"
docbook_xsl = "docbook-xsl-#{xsl_version}"
system "install -v -m755 -d #{CREW_DEST_PREFIX}/share/xml/#{xsl_stylesheets} &&
cp -v -R . #{CREW_DEST_PREFIX}/share/xml/#{xsl_stylesheets}/"
system "install -v -m644 -D README #{CREW_DEST_PREFIX}/share/doc/#{docbook_xsl}/README.txt &&
install -v -m644 RELEASE-NOTES* NEWS* #{CREW_DEST_PREFIX}/share/doc/#{docbook_xsl}"
system "xmlcatalog --noout --add 'rewriteSystem' \
'http://docbook.sourceforge.net/release/xsl/1.79.1' \
'#{CREW_DEST_DIR}/usr/local/share/xml/docbook/xsl-stylesheets-1.79.1' \
/usr/local/etc/xml/catalog &&
'http://docbook.sourceforge.net/release/xsl/#{xsl_version}' \
'#{CREW_PREFIX}/share/xml/docbook/#{xsl_stylesheets}' \
#{CREW_PREFIX}/etc/xml/catalog &&
xmlcatalog --noout --add 'rewriteURI' \
'http://docbook.sourceforge.net/release/xsl/1.79.1' \
'#{CREW_DEST_DIR}/usr/local/share/xml/docbook/xsl-stylesheets-1.79.1' \
/usr/local/etc/xml/catalog &&
'http://docbook.sourceforge.net/release/xsl/#{xsl_version}' \
'#{CREW_PREFIX}/share/xml/docbook/#{xsl_stylesheets}' \
#{CREW_PREFIX}/etc/xml/catalog &&
xmlcatalog --noout --add 'rewriteSystem' \
'http://docbook.sourceforge.net/release/xsl/current' \
'#{CREW_DEST_DIR}/usr/local/share/xml/docbook/xsl-stylesheets-1.79.1' \
/usr/local/etc/xml/catalog &&
'#{CREW_PREFIX}/share/xml/docbook/#{xsl_stylesheets}' \
#{CREW_PREFIX}/etc/xml/catalog &&
xmlcatalog --noout --add 'rewriteURI' \
'http://docbook.sourceforge.net/release/xsl/current' \
'#{CREW_DEST_DIR}/usr/local/share/xml/docbook/xsl-stylesheets-1.79.1' \
/usr/local/etc/xml/catalog"
'#{CREW_PREFIX}/share/xml/docbook/#{xsl_stylesheets}' \
#{CREW_PREFIX}/etc/xml/catalog"
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/etc/xml"
system "mv #{CREW_PREFIX}/etc/xml/catalog #{CREW_DEST_PREFIX}/etc/xml/"
end
end
......@@ -3,35 +3,41 @@ require 'package'
class Filecmd < Package
description 'file command determines the file type.'
homepage 'ftp://ftp.astron.com/pub/file'
version '5.33'
source_url 'ftp://ftp.astron.com/pub/file/file-5.33.tar.gz'
source_sha256 '1c52c8c3d271cd898d5511c36a68059cda94036111ab293f01f83c3525b737c6'
version '5.34'
source_url 'ftp://ftp.astron.com/pub/file/file-5.34.tar.gz'
source_sha256 'f15a50dbbfa83fec0bd1161e8e191b092ec832720e30cd14536e044ac623b20a'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/filecmd-5.33-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/filecmd-5.33-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/filecmd-5.33-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/filecmd-5.33-chromeos-x86_64.tar.xz',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/filecmd-5.34-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/filecmd-5.34-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/filecmd-5.34-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/filecmd-5.34-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'dd8a3daadd253a86dd3ca0ac056592441eb5dec6fc78d74139afb4b1e97ee668',
armv7l: 'dd8a3daadd253a86dd3ca0ac056592441eb5dec6fc78d74139afb4b1e97ee668',
i686: 'ca8c71aa6f90a140bb32b5054500ebbcbc8d029791718beff907afa4db6fda77',
x86_64: '105812be28707a2c95e1aa82b0ab9f4d7c2e186a8f059660c900c2bdeb2b1bf3',
aarch64: '4468657f5add5e6f6b3d92eb48f9e3b15daa27700ba6f53465497dea1d2d6a2a',
armv7l: '4468657f5add5e6f6b3d92eb48f9e3b15daa27700ba6f53465497dea1d2d6a2a',
i686: '6422e05633b289b5e7a25f9c1d553f98a95cd71bdf809c81bbd8a2e485a11d55',
x86_64: '0662f414ad1da35ea0664cdf79d85f4b758c2d3a4442bd5c11620afb5647d4d1',
})
def self.build
# The filefix command changes the full path of the file command in configure scripts.
# Execute this command from your source code root directory.
system "echo '#!/bin/bash' > filefix"
system "echo 'for f in $(find . -name configure); do sed -i \'s,/usr/bin/file,#{CREW_PREFIX}/bin/file,g\' $f; done' >> filefix"
system "./configure",
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
"--disable-libseccomp"
system "make"
end
def self.check
system "make", "check"
end
def self.install
system "install -Dm755 filefix #{CREW_DEST_PREFIX}/bin/filefix"
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install-strip"
end
end
......@@ -3,31 +3,31 @@ require 'package'
class Gcc7 < Package
description 'The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, Ada, and Go.'
homepage 'https://www.gnu.org/software/gcc/'
version '7.3.0-2'
version '7.3.0-3'
source_url 'https://github.com/gcc-mirror/gcc/archive/gcc-7_3_0-release.tar.gz'
source_sha256 'af11c397296cab69996723b9d828c98a9bb749447ac8f7ed67458bcdb60311ed'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gcc7-7.3.0-2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gcc7-7.3.0-2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/gcc7-7.3.0-2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gcc7-7.3.0-2-chromeos-x86_64.tar.xz',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gcc7-7.3.0-3-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gcc7-7.3.0-3-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/gcc7-7.3.0-3-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gcc7-7.3.0-3-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'aaa760b75d8aa75fcc615375b79265c8cc9f37e23944fe108e542a3b4bf788c6',
armv7l: 'aaa760b75d8aa75fcc615375b79265c8cc9f37e23944fe108e542a3b4bf788c6',
i686: 'caf14b8399a42710f31526daf418d0ec1128e8e91b93865bd549cb0333cb678e',
x86_64: 'c2d6296473a4c2a97804d10a517ebce66fc4e1e5256210d28d15116f943d1611',
aarch64: 'c9dd2a2b2d195f0f2021dc673d6317e46b5dfaef582f496b4cea1f3c5c2c17ad',
armv7l: 'c9dd2a2b2d195f0f2021dc673d6317e46b5dfaef582f496b4cea1f3c5c2c17ad',
i686: '4202ea5e9d703d39c522e5f1d7145b8d682a0380baf53b98309b94816408e0b6',
x86_64: '992fa6556e3c4b45ae548b0ce64e1c5cafaffd109fe9aba5d857c6c569e5b33e',
})
depends_on 'unzip' => :build
depends_on 'gawk' => :build
depends_on 'dejagnu' => :build # for test
#depends_on 'gcc' => :build # gcc version 4.9.4
depends_on 'icu4c' => :build # icu version 60.1
depends_on 'icu4c' => :build # icu version 62.1
depends_on 'python27' => :build
depends_on 'python3' => :build
depends_on 'binutils'
depends_on 'gmp'
depends_on 'mpfr'
......@@ -35,7 +35,7 @@ class Gcc7 < Package
depends_on 'isl'
depends_on 'cloog'
depends_on 'glibc'
def self.build
# previous compile issue
# /usr/local/bin/ld: cannot find crti.o: No such file or directory
......@@ -44,7 +44,7 @@ class Gcc7 < Package
system "mkdir -p objdir"
Dir.chdir("objdir") do
case ARCH
when 'armv7l' || 'aarch64'
when 'armv7l', 'aarch64'
system "../configure",
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
......@@ -108,12 +108,11 @@ class Gcc7 < Package
# Comment: --with-default-libstdcxx-abi=gcc-compatible
# Use this switch if we are upgrading from GCC version prior to 5.1.0
# We do not want to recompile all the libraries written in C++
system "make"
end
end
# preserve for check, skip check for current version
def self.check
Dir.chdir("objdir") do
......@@ -122,23 +121,23 @@ class Gcc7 < Package
#system "../contrib/test_summary"
end
end
def self.install
Dir.chdir("objdir") do
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install-strip"
# http://www.linuxfromscratch.org/lfs/view/development/chapter06/gcc.html#contents-gcc
# move a misplaced file
# The installation stage puts some files used by gdb under the /usr/local/lib(64) directory. This generates spurious error messages when performing ldconfig. This command moves the files to another location.
system "mkdir -pv #{CREW_DEST_PREFIX}/share/gdb/auto-load/usr/lib"
system "mv -v #{CREW_DEST_LIB_PREFIX}/*gdb.py #{CREW_DEST_PREFIX}/share/gdb/auto-load/usr/lib"
# Install Binary File Descriptor library (BFD)
system "install -v -dm755 #{CREW_DEST_LIB_PREFIX}/bfd-plugins"
# Add a compatibility symlink to enable building programs with Link Time Optimization (LTO)
system "ln -sfv #{CREW_PREFIX}/libexec/gcc/$(gcc -dumpmachine)/7.3.0/liblto_plugin.so #{CREW_DEST_LIB_PREFIX}/bfd-plugins/"
# Make symbolic links
system "ln -sv #{CREW_PREFIX}/bin/gcc-7.3 #{CREW_DEST_PREFIX}/bin/cc"
system "ln -sv #{CREW_PREFIX}/bin/gcc-7.3 #{CREW_DEST_PREFIX}/bin/gcc"
......@@ -152,7 +151,7 @@ class Gcc7 < Package
system "ln -sv #{CREW_PREFIX}/bin/gcov-dump-7.3 #{CREW_DEST_PREFIX}/bin/gcov-dump"
system "ln -sv #{CREW_PREFIX}/bin/gcov-tool-7.3 #{CREW_DEST_PREFIX}/bin/gcov-tool"
system "ln -sv #{CREW_PREFIX}/bin/gfortran-7.3 #{CREW_DEST_PREFIX}/bin/gfortran"
system "ln -sv #{CREW_PREFIX}/bin/$(gcc -dumpmachine)-c++-7.3 #{CREW_DEST_PREFIX}/bin/$(gcc -dumpmachine)-c++"
system "ln -sv #{CREW_PREFIX}/bin/$(gcc -dumpmachine)-g++-7.3 #{CREW_DEST_PREFIX}/bin/$(gcc -dumpmachine)-g++"
system "ln -sv #{CREW_PREFIX}/bin/$(gcc -dumpmachine)-gcc-7.3 #{CREW_DEST_PREFIX}/bin/$(gcc -dumpmachine)-gcc"
......
require 'package'
class Gstreamer < Package
description 'Open source multimedia framework'
homepage 'https://gstreamer.freedesktop.org/'
version '1.14.2'
source_url 'https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.14.2.tar.xz'
source_sha256 '4bd6127299f3f29379046bbd58a526e6353b569e0e72f7b4df2ae70df6882e09'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gstreamer-1.14.2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gstreamer-1.14.2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/gstreamer-1.14.2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gstreamer-1.14.2-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '361ed7db7f1971cfa3ca4583104b361902899bd9ee73eb2e42cf9f613815874e',
armv7l: '361ed7db7f1971cfa3ca4583104b361902899bd9ee73eb2e42cf9f613815874e',
i686: '92558c22f27f9bcd6646d09c4142b0f5d5b9065f18ed08ce853867473e06e064',
x86_64: 'ee1184478d7caa6816714faa6651c30e2c1e74ae709944608453851144872fc4',
})
depends_on 'glib'
depends_on 'gtk3'
depends_on 'libunwind'
depends_on 'python27'
def self.build
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
'--disable-maintainer-mode'
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
......@@ -3,37 +3,31 @@ require 'package'
class Gtk_doc < Package
description 'GTK-Doc is a project which was started to generate API documentation from comments added to C code.'
homepage 'https://www.gtk.org/gtk-doc'
version '1.26'
source_url 'https://github.com/GNOME/gtk-doc/archive/GTK_DOC_1_26.tar.gz'
source_sha256 'f0bcb1ff8268136fdbf426d7862f4f092e70b24a73632cfe0a3d31ed0d924b5c'
version '1.29'
source_url 'https://github.com/GNOME/gtk-doc/archive/GTK_DOC_1_29.tar.gz'
source_sha256 'fdf5051e1f164fc1454a4530d217ee2c09dcc2c8e42b93cd5d68645493319ce5'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gtk_doc-1.26-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gtk_doc-1.26-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/gtk_doc-1.26-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gtk_doc-1.26-chromeos-x86_64.tar.xz',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gtk_doc-1.29-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gtk_doc-1.29-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/gtk_doc-1.29-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gtk_doc-1.29-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '0341eb6a16c9e6198a72bb2d5f091d3b4f45aa0a0237d92e2ba706736805f9b0',
armv7l: '0341eb6a16c9e6198a72bb2d5f091d3b4f45aa0a0237d92e2ba706736805f9b0',
i686: '867b201b1456d42848e209c7896c6651fc7bcbc84b42ea3e885a4559c27fdc49',
x86_64: '03b2df2209431070c71579a0446f68f900e2b435b2d1f47c895128dd4a5cf501',
aarch64: '8641b7d74ba0de51e40347751c5022164f490703fcab9902d85843a3c6a8df41',
armv7l: '8641b7d74ba0de51e40347751c5022164f490703fcab9902d85843a3c6a8df41',
i686: '6c14eadd88bb454b2bdd1212935095d6fe478e932bc6bab301d519e767217c2f',
x86_64: '53adc04a62779005099e257fc2ba6df76c0b8a9dce8cc31bd6eac6f4181b69c4',
})
depends_on 'python3'
depends_on 'python27'
depends_on 'autoconf'
depends_on 'automake'
depends_on 'libxml2'
depends_on 'libxslt'
depends_on 'docbook'
depends_on 'docbook_xml'
depends_on 'docbook_xsl'
depends_on 'six'
depends_on 'libxslt'
def self.build
system './autogen.sh --with-xml-catalog=/usr/local/etc/xml/catalog'
system './configure --with-xml-catalog=/usr/local/etc/xml/catalog'
system './autogen.sh',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
"--with-xml-catalog=#{CREW_PREFIX}/etc/xml/catalog"
system 'make'
end
......
......@@ -3,7 +3,7 @@ require 'package'
class Julia < Package
description 'Julia is a flexible dynamic language, appropriate for scientific and numerical computing'
homepage 'https://julialang.org/'
version '1.0.0'
version '1.0.0-1'
case ARCH
when 'x86_64'
source_url 'https://julialang-s3.julialang.org/bin/linux/x64/1.0/julia-1.0.0-linux-x86_64.tar.gz'
......@@ -24,8 +24,13 @@ class Julia < Package
})
def self.install
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}"
system "cp -r . #{CREW_DEST_PREFIX}"
system "mv #{CREW_DEST_PREFIX}/lib #{CREW_DEST_PREFIX}/lib64" if ARCH == 'x86_64'
FileUtils.mkdir_p "#{CREW_DEST_LIB_PREFIX}/julia"
system "cp -r . #{CREW_DEST_PREFIX}"
if ARCH == 'x86_64'
FileUtils.cd "#{CREW_DEST_PREFIX}/lib/julia" do
system "find . -type f -exec ln -s #{CREW_PREFIX}/lib/julia/{} #{CREW_DEST_LIB_PREFIX}/julia/{} \\;"
system "find . -type l -exec ln -s #{CREW_PREFIX}/lib/julia/{} #{CREW_DEST_LIB_PREFIX}/julia/{} \\;"
end
end
end
end
require 'package'
class Libemf < Package
description 'libEMF is a C/C++ library which provides a drawing toolkit based on ECMA-234.'
homepage 'http://libemf.sourceforge.net/'
version '1.0.9'
source_url 'https://prdownloads.sourceforge.net/project/libemf/libemf/1.0.9/libemf-1.0.9.tar.gz'
source_sha256 'dcc1f7dc09597a7e20fa808fbef03f0c5cbdd99d65a4fddd981d7f1dd6e28b81'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libemf-1.0.9-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libemf-1.0.9-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libemf-1.0.9-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libemf-1.0.9-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'd0823f3f19a891c6dcd66ea7c39f6c8deaefb487e6f14beb9b6045a82a8683b1',
armv7l: 'd0823f3f19a891c6dcd66ea7c39f6c8deaefb487e6f14beb9b6045a82a8683b1',
i686: '98db956a86f7c3508f01c259d9129b2a4fbb592eb2ed3a65898a4882f6b5b136',
x86_64: '3dd865953891dbdeaf295828b096f1bf5d90661519a4f8b564a460668a4949ee',
})
def self.build
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}"
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
require 'package'
class Libgnomecanvas < Package
description 'The GnomeCanvas widget provides a flexible widget for creating interactive structured graphics.'
homepage 'https://developer.gnome.org/libgnomecanvas/'
version '2.30.3'
source_url 'https://ftp.gnome.org/pub/GNOME/sources/libgnomecanvas/2.30/libgnomecanvas-2.30.3.tar.bz2'
source_sha256 '859b78e08489fce4d5c15c676fec1cd79782f115f516e8ad8bed6abcb8dedd40'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libgnomecanvas-2.30.3-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libgnomecanvas-2.30.3-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libgnomecanvas-2.30.3-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libgnomecanvas-2.30.3-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '28f2d716908db225ed00e2df39a99dd8947710b42fb03c6feec74bffabc28d6f',
armv7l: '28f2d716908db225ed00e2df39a99dd8947710b42fb03c6feec74bffabc28d6f',
i686: '30d37e877058f485675fa59f11ee8e2ddf99a738358c63cb3529694d0232e69f',
x86_64: '07a6f6ece37d04b4fccc1c817b8f7845cbc6443f6868be5d8ed1f84b8951268a',
})
depends_on 'libart'
depends_on 'libglade'
def self.build
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
'--enable-glade'
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
require 'package'
class Libgsf < Package
description 'The G Structured File Library'
homepage 'https://gitlab.gnome.org/GNOME/libgsf'
version '1.14.44'
source_url 'https://ftp.gnome.org/pub/gnome/sources/libgsf/1.14/libgsf-1.14.44.tar.xz'
source_sha256 '68bede10037164764992970b4cb57cd6add6986a846d04657af9d5fac774ffde'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libgsf-1.14.44-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libgsf-1.14.44-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libgsf-1.14.44-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libgsf-1.14.44-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '2ddd44b20669d3a473e11a3404533c18555c4b42d8809862a8cb0343c733606d',
armv7l: '2ddd44b20669d3a473e11a3404533c18555c4b42d8809862a8cb0343c733606d',
i686: '511a6260e66c54dd62eea8cb31bf372a746ac1d0757c718f76cd8553631ecb55',
x86_64: 'd120538959fa7d352b23aeaf8d9eb637d73ba9c38c0002dfb495b7bf1b086589',
})
depends_on 'gdk_pixbuf'
depends_on 'gtk_doc'
def self.build
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
'--disable-maintainer-mode',
'--enable-introspection'
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
require 'package'
class Libmng < Package
description 'A PNG-like Image Format Supporting Multiple Images, Animation and Transparent JPEG'
homepage 'http://www.libpng.org/pub/mng/'
version '2.0.3'
source_url 'https://prdownloads.sourceforge.net/project/libmng/libmng-devel/2.0.3/libmng-2.0.3.tar.xz'
source_sha256 '4a462fdd48d4bc82c1d7a21106c8a18b62f8cc0042454323058e6da0dbb57dd3'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libmng-2.0.3-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libmng-2.0.3-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libmng-2.0.3-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libmng-2.0.3-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'b940238dbe081af502bee237e1eeaea7322732433146ace0ff45c0cf07665552',
armv7l: 'b940238dbe081af502bee237e1eeaea7322732433146ace0ff45c0cf07665552',
i686: '47fcd3230b379554ab8285b8ed92098fd9f34ae5df96ad92cf6cbe232abac090',
x86_64: 'e8ffaa0dc0a372a93f04f9197872e2fd18675f21651a3632222ebfe8e21f4b6c',
})
depends_on 'lcms'
depends_on 'libjpeg'
def self.build
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}"
system 'make'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end
require 'package'
class Libmypaint < Package
description 'Libmypaint is MyPaints brushstroke rendering code, in a form that can be used by other programs.'
description 'Libmypaint is MyPaint\'s brushstroke rendering code, in a form that can be used by other programs.'
homepage 'http://mypaint.org/'
version '1.3.0'
source_url 'https://github.com/mypaint/libmypaint/releases/download/v1.3.0/libmypaint-1.3.0.tar.xz'
source_sha256 '6a07d9d57fea60f68d218a953ce91b168975a003db24de6ac01ad69dcc94a671'
depends_on 'jsonc'
depends_on 'gobject_introspection'
depends_on 'glib'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libmypaint-1.3.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libmypaint-1.3.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libmypaint-1.3.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libmypaint-1.3.0-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '29ba70ec439d8b183f2986bb9e876da62efa9f7b82341965b94e0bcec684708a',
armv7l: '29ba70ec439d8b183f2986bb9e876da62efa9f7b82341965b94e0bcec684708a',
i686: 'aed779ae7fe6f2ed39d5001d11a805fb9bcd7c555881cec7d66a6c3b3a350474',
x86_64: '40f0a303a68f4ff29f5754440a41e24ea48de87a410a2aedb9f84925094fe24e',
})
depends_on 'gegl'
depends_on 'jsonc'
def self.build
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
system "sed -i 's,gegl-0.3,gegl-0.4,' gegl/Makefile.am"
system "sed -i 's,Gegl-0.3,Gegl-0.4,' gegl/Makefile.am"
system "sed -i 's,gegl-0.3,gegl-0.4,' gegl/Makefile.in"
system "sed -i 's,Gegl-0.3,Gegl-0.4,' gegl/Makefile.in"
system "GEGL_LIBS=\"#{CREW_LIB_PREFIX}/gegl-0.4\" \
GEGL_CFLAGS=\"-I#{CREW_PREFIX}/include/gegl-0.4 \
-I#{CREW_PREFIX}/include/babl-0.1 \
-I#{CREW_PREFIX}/include/glib-2.0\" \
./configure \
--prefix=#{CREW_PREFIX} \
--libdir=#{CREW_LIB_PREFIX} \
--disable-maintainer-mode \
--enable-openmp \
--enable-gegl"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system "ldconfig"
end
end
require 'package'
class Libwmf < Package
description 'libwmf is a library for reading vector images in Microsoft\'s native Windows Metafile Format (WMF)'
homepage 'http://wvware.sourceforge.net/libwmf.html'
version '0.2.8.4'
source_url 'https://prdownloads.sourceforge.net/project/wvware/libwmf/0.2.8.4/libwmf-0.2.8.4.tar.gz'
source_sha256 '5b345c69220545d003ad52bfd035d5d6f4f075e65204114a9e875e84895a7cf8'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libwmf-0.2.8.4-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libwmf-0.2.8.4-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libwmf-0.2.8.4-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libwmf-0.2.8.4-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'c725015783a8ade0fe8aa5dcffea09b175f60c07a2caada81f12b7c44101eaca',
armv7l: 'c725015783a8ade0fe8aa5dcffea09b175f60c07a2caada81f12b7c44101eaca',
i686: '804a2bce1a2622b55d8311978348f93e44fe1f652a301fd589eb581a464fbb5c',
x86_64: '2b215b744ad624b72b2974e8094a68af62fbd99c657df8c7d9c7e472fa03f156',
})
depends_on 'gtk2'
depends_on 'libgd'
depends_on 'libjpeg'
depends_on 'xwayland'
def self.build
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
'--disable-maintainer-mode'
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
......@@ -3,30 +3,31 @@ require 'package'
class Libxslt < Package
description 'Libxslt is the XSLT C library developed for the GNOME project.'
homepage 'http://xmlsoft.org/libxslt/'
version '1.1.32'
version '1.1.32-1'
source_url 'http://xmlsoft.org/sources/libxslt-1.1.32.tar.gz'
source_sha256 '526ecd0abaf4a7789041622c3950c0e7f2c4c8835471515fd77eec684a355460'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libxslt-1.1.32-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libxslt-1.1.32-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libxslt-1.1.32-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libxslt-1.1.32-chromeos-x86_64.tar.xz',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libxslt-1.1.32-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libxslt-1.1.32-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libxslt-1.1.32-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libxslt-1.1.32-1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'c9edcdbefad60a9b0b054fb8570adf6d7d27f711bd78fc7d608e9fca789cbba4',
armv7l: 'c9edcdbefad60a9b0b054fb8570adf6d7d27f711bd78fc7d608e9fca789cbba4',
i686: 'acd156aaa74e26070d956fb5cdb6d7ef4613b3cb38f7ae7f48c3998987a5e88d',
x86_64: '3b34fc2e1c0178f51017d739ccb3765e3dc360f30c5a578942c9da612ed0c92a',
aarch64: '28296ca12d9a571364eb06e53711f0e1ab746c7e70f1c31a825368a4cb0b933a',
armv7l: '28296ca12d9a571364eb06e53711f0e1ab746c7e70f1c31a825368a4cb0b933a',
i686: '6c8a7b6e47087792bdad09e5e4d5cb35ae283d3bb0854692271087ec7a3b884b',
x86_64: 'f47fd5f5d4a975967b8d191b5dbfb97cf82f3293794d2b07766dc34bb5a7cf57',
})
depends_on 'libxml2'
depends_on 'libxml2_python'
depends_on 'libgcrypt'
depends_on 'docbook_xsl'
def self.build
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
'--without-python',
'--disable-static'
system 'make'
end
......
......@@ -7,6 +7,19 @@ class Mypaint_brushes < Package
source_url 'https://github.com/Jehan/mypaint-brushes/archive/v1.3.0/mypaint-brushes-v1.3.0.tar.gz'
source_sha256 '704bb6420e65085acfd7a61d6050e96b0395c5eab078433f11406c355f16b214'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/mypaint_brushes-1.3.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/mypaint_brushes-1.3.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/mypaint_brushes-1.3.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/mypaint_brushes-1.3.0-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '87eed1b1688597faac6b4910e1489d6fc4967af705b6594eaf9fdb5568a44dd1',
armv7l: '87eed1b1688597faac6b4910e1489d6fc4967af705b6594eaf9fdb5568a44dd1',
i686: '640c1fb3ad85e6ff83f84a5caa514e08bf65ec61403e53a72908c6a818335bde',
x86_64: '28166ca3a372eec0ef0d97193fb65225e9edbb6d2288821fcfa291d1ddb8b26a',
})
depends_on 'libmypaint'
def self.patch
......
require 'package'
# from LFS: http://www.linuxfromscratch.org/blfs/view/cvs/pst/sgml-common.html
class Sgml_common < Package
description 'The sgml-common package gathers very basic stuff necessary to work with SGML and XML.'
homepage 'https://sourceware.org/docbook-tools/'
version '0.6.3'
source_url 'https://sourceware.org/ftp/docbook-tools/new-trials/SOURCES/sgml-common-0.6.3.tgz'
source_sha256 '7dc418c1d361123ffc5e45d61f1b97257940a8eb35d0bfbbc493381cc5b1f959'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/sgml_common-0.6.3-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/sgml_common-0.6.3-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/sgml_common-0.6.3-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/sgml_common-0.6.3-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '18ff17ac8af52e6e6790564c49155d5c2e8e05583d514744af1e30502d4a79b8',
armv7l: '18ff17ac8af52e6e6790564c49155d5c2e8e05583d514744af1e30502d4a79b8',
i686: '8bae935790db5a8b6aa63cc76e9c8c568681a7bf66e505f3c2be872f5e713338',
x86_64: '48fcb41950ca59883d56b7285608121150c6a2c4969579847467606610d7c0a8',
})
def self.patch
system 'wget http://www.linuxfromscratch.org/patches/blfs/svn/sgml-common-0.6.3-manpage-1.patch'
abort 'Checksum mismatch. :/ Try again.'.lightred unless Digest::SHA256.hexdigest( File.read('sgml-common-0.6.3-manpage-1.patch') ) == '50d93af704a0869faf8fedf5d23b1a9f90fff6499f4c11cf4addb5e460b7b58b'
system 'patch -Np1 -i sgml-common-0.6.3-manpage-1.patch && autoreconf -f -i'
end
def self.build
system './configure',
"--prefix=#{CREW_PREFIX}",
"--sysconfdir=#{CREW_PREFIX}/etc"
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/etc/sgml"
system "touch #{CREW_DEST_PREFIX}/etc/sgml/sgml-ent.cat"
system "touch #{CREW_DEST_PREFIX}/etc/sgml/sgml-docbook.cat"
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/share/sgml/sgml-iso-entities-8879.1986"
system "touch #{CREW_DEST_PREFIX}/share/sgml/sgml-iso-entities-8879.1986/catalog"
system "sed -i 's,/etc/sgml,#{CREW_PREFIX}/etc/sgml,g' #{CREW_DEST_PREFIX}/bin/install-catalog"
end
def self.postinstall
system "install-catalog --add #{CREW_PREFIX}/etc/sgml/sgml-ent.cat \
#{CREW_PREFIX}/share/sgml/sgml-iso-entities-8879.1986/catalog &&
install-catalog --add #{CREW_PREFIX}/etc/sgml/sgml-docbook.cat \
#{CREW_PREFIX}/etc/sgml/sgml-ent.cat"
end
end