From 98a9dc58d6c286519cddfdb4bfd3957236566e64 Mon Sep 17 00:00:00 2001 From: "Kazushi (Jam) Marukawa" Date: Sun, 9 Jul 2017 07:04:57 +0900 Subject: [PATCH 01/30] Change install.sh to check LD_LIBRARY_PATH and show guide message. --- install.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/install.sh b/install.sh index 6e74942a6afb..c840c4ceb735 100755 --- a/install.sh +++ b/install.sh @@ -182,3 +182,14 @@ echo crew >> .git/info/sparse-checkout git fetch origin master git reset --hard origin/master echo "Chromebrew installed successfully and package lists updated." + +#check LD_LIBRARY_PATH on x86_64 +case "$architecture" in +"x86_64") + (echo $LD_LIBRARY_PATH | grep '/usr/local/lib[^6]\|/usr/local/lib$' > /dev/null) || cat << EOF + +Several packages may install their libraries into $CREW_PREFIX/lib, so adding below to your ~/.bash_profile is recommended. + export LD_LIBRARY_PATH=/usr/local/lib64:/usr/local/lib +EOF + ;; +esac From 69067f0bdc8559c952383065e1e42bb7e00042fc Mon Sep 17 00:00:00 2001 From: "Kazushi (Jam) Marukawa" Date: Sun, 7 May 2017 20:39:24 +0900 Subject: [PATCH 02/30] Add binstall command --- crew | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/crew b/crew index aa704ae03b2f..2f96c0547678 100755 --- a/crew +++ b/crew @@ -188,6 +188,10 @@ def help (pkgName) puts "Build a package." puts "Usage: crew build [package]" puts "Build [package] from source and place the archive and checksum in the current working directory." + when "binstall" + puts "Build and install a package." + puts "Usage: crew binstall [package]" + puts "Build and install [package] from source and place the archive and checksum in the current working directory." when "download" puts "Download a package." puts "Usage: crew download [package]" @@ -640,6 +644,43 @@ def resolve_dependencies_and_build end end +def resolve_dependencies_and_build_and_install + begin + origin = @pkg.name + + # mark current package as which is required to compile from source + @pkg.build_from_source = true + resolve_dependencies + + search origin, true + build_package Dir.pwd + if @device[:installed_packages].any? { |pkg| pkg[:name] == @pkg.name } + puts "Removing since forcing install..." + remove @pkg.name + end + puts "Installing..." + install_package CREW_DEST_DIR + + #add to installed packages + @device[:installed_packages].push(name: @pkg.name, version: @pkg.version) + File.open(CREW_CONFIG_PATH + 'device.json', 'w') do |file| + output = JSON.parse @device.to_json + file.write JSON.pretty_generate(output) + end + puts "#{@pkg.name.capitalize} installed!" + rescue InstallError => e + abort "#{@pkg.name} failed to build: #{e.to_s}" + ensure + #cleanup + unless ARGV[2] == 'keep' + Dir.chdir CREW_BREW_DIR do + system "rm -rf *" + system "mkdir dest" #this is a little ugly, feel free to find a better way + end + end + end +end + def build_package (pwd) abort "It is not possible to build fake package".lightred if @pkg.is_fake? abort "It is not possible to build without source".lightred if !@pkg.is_source?(@device[:architecture]) @@ -774,6 +815,13 @@ when "build" else help "build" end +when "binstall" + if @pkgName + search @pkgName + resolve_dependencies_and_build_and_install + else + help "binstall" + end when "remove" if @pkgName remove @pkgName From 64c4e14d3f869beff25eb92638bbe5ac6ddf2914 Mon Sep 17 00:00:00 2001 From: "Kazushi (Jam) Marukawa" Date: Sat, 4 Feb 2017 00:42:08 +0900 Subject: [PATCH 03/30] Change to clean directory before archive extraction --- crew | 1 + 1 file changed, 1 insertion(+) diff --git a/crew b/crew index aa704ae03b2f..addfe8870892 100755 --- a/crew +++ b/crew @@ -383,6 +383,7 @@ def unpack (meta) target_dir = nil Dir.chdir CREW_BREW_DIR do puts "Unpacking archive, this may take a while..." + system "rm", "-rf", "#{extract_dir}" Dir.mkdir("#{extract_dir}") unless Dir.exist?("#{extract_dir}") if meta[:filename][-4,4] == ".zip" system "unzip", "-qq", "-d", "#{extract_dir}", meta[:filename] From 57b4344f36e9ce80417e5f5c1f2ad09c34b9d1a8 Mon Sep 17 00:00:00 2001 From: "Kazushi (Jam) Marukawa" Date: Sun, 5 Feb 2017 16:01:53 +0900 Subject: [PATCH 04/30] Change OWNER to point my repository --- upload_github_release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upload_github_release.sh b/upload_github_release.sh index 7dbc6127de6d..951d10a658da 100644 --- a/upload_github_release.sh +++ b/upload_github_release.sh @@ -6,7 +6,7 @@ # github-release (https://github.com/aktau/github-release) # golang -owner=skycocker +owner=jam7 repo=chromebrew case x$1 in From f2214d6dd3b045ff5ec7a92021d0d9bba1884938 Mon Sep 17 00:00:00 2001 From: "Kazushi (Jam) Marukawa" Date: Sat, 11 Feb 2017 20:57:25 +0900 Subject: [PATCH 05/30] Change to try delte existing release assets --- upload_github_release.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/upload_github_release.sh b/upload_github_release.sh index 951d10a658da..63e3664454d4 100644 --- a/upload_github_release.sh +++ b/upload_github_release.sh @@ -34,5 +34,6 @@ esac for file in "$@"; do name=$(basename $file) + github-release deletef -u "$owner" -r "$repo" -t "$tag" -n "$name" github-release upload -u "$owner" -r "$repo" -t "$tag" -n "$name" -f "$file" done From e31c088c987e432de4a0b649cb780cabb4447d00 Mon Sep 17 00:00:00 2001 From: "Kazushi (Jam) Marukawa" Date: Sun, 26 Feb 2017 07:51:44 +0900 Subject: [PATCH 06/30] Change nethack4 to make it work on armv7l correctly Correct dependencies --- packages/nethack4.rb | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/packages/nethack4.rb b/packages/nethack4.rb index 6855c3192236..340ce67a1aa3 100644 --- a/packages/nethack4.rb +++ b/packages/nethack4.rb @@ -8,19 +8,29 @@ class Nethack4 < Package source_url 'http://nethack4.org/media/releases/nethack4-4.3-beta2.tar.gz' source_sha256 'b143a86b5e1baf55c663ae09c2663b169d265e95ac43154982296a1887d05f15' - depends_on 'buildessential' + depends_on 'buildessential' => :build depends_on 'ncurses' - depends_on 'bison' - depends_on 'flex' - depends_on 'perl' + depends_on 'bison' => :build + depends_on 'flex' => :build + depends_on 'perl' => :build + depends_on 'zlibpkg' => :build def self.build target="build" system "mkdir -p " + target Dir.chdir target do - #build with rpath pointing at /usr/local + # Force to set codeset to UTF-8 since gcc supports it + # LANG environment variable doesn't work correctly on chromebook + system 'sed', '-i', '../aimake', '-e', '/$codeset *= */s/;/; $codeset = "UTF-8";/' + + # Build with rpath pointing at /usr/local system "/usr/local/bin/perl ../aimake --config-only -i /usr/local/ --directory-layout=prefix --without=gui" - system "/usr/local/bin/perl ../aimake" + + # system "/usr/local/bin/perl ../aimake" + + # Need -fPIC for armv7l + # Need LC_ALL to not use ascii for encoding + system "LC_ALL=POSIX /usr/local/bin/perl ../aimake --var CFLAGS='-g -O2 -Wall -fPIC' --var CXXFLAGS='-g -O2 -Wall -fPIC'" end end From 390b5d9f623df3f60efa9f594ff63a01576c914e Mon Sep 17 00:00:00 2001 From: "Kazushi (Jam) Marukawa" Date: Wed, 14 Jun 2017 20:41:46 +0900 Subject: [PATCH 07/30] Change openssl.rb to compile it from source on aarch64 correctly. --- packages/openssl.rb | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/packages/openssl.rb b/packages/openssl.rb index 797a9b1df5b6..49251f68d212 100644 --- a/packages/openssl.rb +++ b/packages/openssl.rb @@ -21,10 +21,13 @@ class Openssl < Package def self.build options="shared zlib-dynamic" - if `uname -m`.strip == 'aarch64' - options = options + " no-asm" + case `uname -m`.strip + when "aarch64" + # Specify armv7 since aarch64 uses armv7 as its user land. + system "./Configure --prefix=/usr/local --openssldir=/etc/ssl #{options} linux-armv4 -march=armv7-a" + else + system "./config --prefix=/usr/local --openssldir=/etc/ssl #{options}" end - system "./config --prefix=/usr/local --openssldir=/etc/ssl #{options}" system "make" end From 62b83900a48bd6f6acdef689d4cdef5ab20df4be Mon Sep 17 00:00:00 2001 From: Jan Baudisch Date: Mon, 17 Jul 2017 23:03:21 -0600 Subject: [PATCH 08/30] Add xorg protcols package --- packages/xorg_proto.rb | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 packages/xorg_proto.rb diff --git a/packages/xorg_proto.rb b/packages/xorg_proto.rb new file mode 100644 index 000000000000..030765ffdd4a --- /dev/null +++ b/packages/xorg_proto.rb @@ -0,0 +1,34 @@ +require 'package' + +class Xorg_proto < Package + is_fake + + depends_on 'applewmproto' + depends_on 'bigreqsproto' + depends_on 'compositeproto' + depends_on 'damageproto' + depends_on 'dmxproto' + depends_on 'dri2proto' + depends_on 'dri3proto' + depends_on 'fixesproto' + depends_on 'fontcacheproto' + depends_on 'fontsproto' + depends_on 'glproto' + depends_on 'inputproto' + depends_on 'kbproto' + depends_on 'presentproto' + depends_on 'printproto' + depends_on 'randrproto' + depends_on 'recordproto' + depends_on 'renderproto' + depends_on 'resourceproto' + depends_on 'scrnsaverproto' + depends_on 'trapproto' + depends_on 'videoproto' + depends_on 'windowswmproto' + depends_on 'xcmiscproto' + depends_on 'xextproto' + depends_on 'xf86vidmodeproto' + depends_on 'xineramaproto' + depends_on 'xproto' +end From ea9df31e8d6d9326f9ac90a9595003d6c7062694 Mon Sep 17 00:00:00 2001 From: Jan Baudisch Date: Mon, 17 Jul 2017 23:05:04 -0600 Subject: [PATCH 09/30] Add xorg protocols --- packages/applewmproto.rb | 17 +++++++++++++++++ packages/bigreqsproto.rb | 17 +++++++++++++++++ packages/compositeproto.rb | 17 +++++++++++++++++ packages/damageproto.rb | 17 +++++++++++++++++ packages/dmxproto.rb | 17 +++++++++++++++++ packages/dri2proto.rb | 17 +++++++++++++++++ packages/dri3proto.rb | 17 +++++++++++++++++ packages/fixesproto.rb | 17 +++++++++++++++++ packages/fontcacheproto.rb | 17 +++++++++++++++++ packages/fontsproto.rb | 17 +++++++++++++++++ packages/glproto.rb | 17 +++++++++++++++++ packages/inputproto.rb | 17 +++++++++++++++++ packages/kbproto.rb | 17 +++++++++++++++++ packages/presentproto.rb | 17 +++++++++++++++++ packages/printproto.rb | 17 +++++++++++++++++ packages/randrproto.rb | 17 +++++++++++++++++ packages/recordproto.rb | 17 +++++++++++++++++ packages/renderproto.rb | 17 +++++++++++++++++ packages/resourceproto.rb | 17 +++++++++++++++++ packages/scrnsaverproto.rb | 17 +++++++++++++++++ packages/trapproto.rb | 17 +++++++++++++++++ packages/videoproto.rb | 17 +++++++++++++++++ packages/windowswmproto.rb | 17 +++++++++++++++++ packages/xcb_proto.rb | 18 ++++++++++++++++++ packages/xcmiscproto.rb | 17 +++++++++++++++++ packages/xextproto.rb | 17 +++++++++++++++++ packages/xf86vidmodeproto.rb | 17 +++++++++++++++++ packages/xineramaproto.rb | 17 +++++++++++++++++ packages/xproto.rb | 17 +++++++++++++++++ 29 files changed, 494 insertions(+) create mode 100644 packages/applewmproto.rb create mode 100644 packages/bigreqsproto.rb create mode 100644 packages/compositeproto.rb create mode 100644 packages/damageproto.rb create mode 100644 packages/dmxproto.rb create mode 100644 packages/dri2proto.rb create mode 100644 packages/dri3proto.rb create mode 100644 packages/fixesproto.rb create mode 100644 packages/fontcacheproto.rb create mode 100644 packages/fontsproto.rb create mode 100644 packages/glproto.rb create mode 100644 packages/inputproto.rb create mode 100644 packages/kbproto.rb create mode 100644 packages/presentproto.rb create mode 100644 packages/printproto.rb create mode 100644 packages/randrproto.rb create mode 100644 packages/recordproto.rb create mode 100644 packages/renderproto.rb create mode 100644 packages/resourceproto.rb create mode 100644 packages/scrnsaverproto.rb create mode 100644 packages/trapproto.rb create mode 100644 packages/videoproto.rb create mode 100644 packages/windowswmproto.rb create mode 100644 packages/xcb_proto.rb create mode 100644 packages/xcmiscproto.rb create mode 100644 packages/xextproto.rb create mode 100644 packages/xf86vidmodeproto.rb create mode 100644 packages/xineramaproto.rb create mode 100644 packages/xproto.rb diff --git a/packages/applewmproto.rb b/packages/applewmproto.rb new file mode 100644 index 000000000000..5244ec79286e --- /dev/null +++ b/packages/applewmproto.rb @@ -0,0 +1,17 @@ +require 'package' + +class Applewmproto < Package + description '' + homepage '' + version '1.4.2' + source_url 'https://www.x.org/archive/individual/proto/applewmproto-1.4.2.tar.gz' + source_sha256 'ff8ac07d263a23357af2d6ff0cca3c1d56b043ddf7797a5a92ec624f4704df2e' + + def self.build + system "./configure" + end + + def self.install + system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" + end +end diff --git a/packages/bigreqsproto.rb b/packages/bigreqsproto.rb new file mode 100644 index 000000000000..685ad5dd1276 --- /dev/null +++ b/packages/bigreqsproto.rb @@ -0,0 +1,17 @@ +require 'package' + +class Bigreqsproto < Package + description '' + homepage '' + version '1.1.2' + source_url 'https://www.x.org/archive/individual/proto/bigreqsproto-1.1.2.tar.gz' + source_sha256 'de68a1a9dd1a1219ad73531bff9f662bc62fcd777387549c43cd282399f4a6ea' + + def self.build + system "./configure" + end + + def self.install + system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" + end +end diff --git a/packages/compositeproto.rb b/packages/compositeproto.rb new file mode 100644 index 000000000000..80ca8e4aa392 --- /dev/null +++ b/packages/compositeproto.rb @@ -0,0 +1,17 @@ +require 'package' + +class Compositeproto < Package + description '' + homepage '' + version '0.4' + source_url 'https://www.x.org/archive/individual/proto/compositeproto-0.4.tar.gz' + source_sha256 '1607f58409185203077de59801970b07a36f41e586a499918284c8d768d870cc' + + def self.build + system "./configure" + end + + def self.install + system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" + end +end diff --git a/packages/damageproto.rb b/packages/damageproto.rb new file mode 100644 index 000000000000..5d992a89af8e --- /dev/null +++ b/packages/damageproto.rb @@ -0,0 +1,17 @@ +require 'package' + +class Damageproto < Package + description '' + homepage '' + version '1.2.1' + source_url 'https://www.x.org/archive/individual/proto/damageproto-1.2.1.tar.gz' + source_sha256 'f65ccbf1de9750a527ea6e85694085b179f2d06495cbdb742b3edb2149fef303' + + def self.build + system "./configure" + end + + def self.install + system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" + end +end diff --git a/packages/dmxproto.rb b/packages/dmxproto.rb new file mode 100644 index 000000000000..31a1ab3fb6cf --- /dev/null +++ b/packages/dmxproto.rb @@ -0,0 +1,17 @@ +require 'package' + +class Dmxproto < Package + description '' + homepage '' + version '2.3' + source_url 'https://www.x.org/archive/individual/proto/dmxproto-2.3.tar.gz' + source_sha256 'a911a086a61c1bb16d35f70b391f167744ee721b5e2a7f22c00bc5a2c1ecb242' + + def self.build + system "./configure" + end + + def self.install + system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" + end +end diff --git a/packages/dri2proto.rb b/packages/dri2proto.rb new file mode 100644 index 000000000000..c901457ff976 --- /dev/null +++ b/packages/dri2proto.rb @@ -0,0 +1,17 @@ +require 'package' + +class Dri2proto < Package + description '' + homepage '' + version '2.8' + source_url 'https://www.x.org/archive/individual/proto/dri2proto-2.8.tar.gz' + source_sha256 '7e65b031eaa6ebe23c75583d4abd993ded7add8009b4200a4db7aa10728b0f61' + + def self.build + system "./configure" + end + + def self.install + system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" + end +end diff --git a/packages/dri3proto.rb b/packages/dri3proto.rb new file mode 100644 index 000000000000..7a07fbebfaa3 --- /dev/null +++ b/packages/dri3proto.rb @@ -0,0 +1,17 @@ +require 'package' + +class Dri3proto < Package + description '' + homepage '' + version '1.0' + source_url 'https://www.x.org/archive/individual/proto/dri3proto-1.0.tar.gz' + source_sha256 'e1a0dad3009ecde52c0bf44187df5f95cc9a7cc0e76dfc2f2bbf3e909fe03fa9' + + def self.build + system "./configure" + end + + def self.install + system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" + end +end diff --git a/packages/fixesproto.rb b/packages/fixesproto.rb new file mode 100644 index 000000000000..e29dba8dd47d --- /dev/null +++ b/packages/fixesproto.rb @@ -0,0 +1,17 @@ +require 'package' + +class Fixesproto < Package + description '' + homepage '' + version '5.0' + source_url 'https://www.x.org/archive/individual/proto/fixesproto-5.0.tar.gz' + source_sha256 '67865a0e3cdc7dec1fd676f0927f7011ad4036c18eb320a2b41dbd56282f33b8' + + def self.build + system "./configure" + end + + def self.install + system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" + end +end diff --git a/packages/fontcacheproto.rb b/packages/fontcacheproto.rb new file mode 100644 index 000000000000..8d9432e514c2 --- /dev/null +++ b/packages/fontcacheproto.rb @@ -0,0 +1,17 @@ +require 'package' + +class Fontcacheproto < Package + description '' + homepage '' + version '0.13' + source_url 'https://www.x.org/archive/individual/proto/fontcacheproto-0.1.3.tar.gz' + source_sha256 '759b4863b55a25bfc8f977d8ed969da0b99b3c823f33c674d6da5825f9df9a79' + + def self.build + system "./configure" + end + + def self.install + system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" + end +end diff --git a/packages/fontsproto.rb b/packages/fontsproto.rb new file mode 100644 index 000000000000..ca0ff2bbb69a --- /dev/null +++ b/packages/fontsproto.rb @@ -0,0 +1,17 @@ +require 'package' + +class Fontsproto < Package + description '' + homepage '' + version '2.1.3' + source_url 'https://www.x.org/archive/individual/proto/fontsproto-2.1.3.tar.gz' + source_sha256 '72c44e63044b2b66f6fa112921621ecc20c71193982de4f198d9a29cda385c5e' + + def self.build + system "./configure" + end + + def self.install + system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" + end +end diff --git a/packages/glproto.rb b/packages/glproto.rb new file mode 100644 index 000000000000..2c0d760bb34f --- /dev/null +++ b/packages/glproto.rb @@ -0,0 +1,17 @@ +require 'package' + +class Glproto < Package + description '' + homepage '' + version '1.4.17' + source_url 'https://www.x.org/archive/individual/proto/glproto-1.4.17.tar.gz' + source_sha256 '9d8130fec2b98bd032db7730fa092dd9dec39f3de34f4bb03ceb43b9903dbc96' + + def self.build + system "./configure" + end + + def self.install + system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" + end +end diff --git a/packages/inputproto.rb b/packages/inputproto.rb new file mode 100644 index 000000000000..300b5514e531 --- /dev/null +++ b/packages/inputproto.rb @@ -0,0 +1,17 @@ +require 'package' + +class Inputproto < Package + description '' + homepage '' + version '2.3' + source_url 'https://www.x.org/archive/individual/proto/inputproto-2.3.tar.gz' + source_sha256 '98e8ab87fb71080b28536d749aa942bdad13d860d5eb3e1271084906cda711e9' + + def self.build + system "./configure" + end + + def self.install + system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" + end +end diff --git a/packages/kbproto.rb b/packages/kbproto.rb new file mode 100644 index 000000000000..7b31521a4309 --- /dev/null +++ b/packages/kbproto.rb @@ -0,0 +1,17 @@ +require 'package' + +class Kbproto < Package + description '' + homepage '' + version '1.0.7' + source_url 'https://www.x.org/archive/individual/proto/kbproto-1.0.7.tar.gz' + source_sha256 '828cb275b91268b1a3ea950d5c0c5eb076c678fdf005d517411f89cc8c3bb416' + + def self.build + system "./configure" + end + + def self.install + system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" + end +end diff --git a/packages/presentproto.rb b/packages/presentproto.rb new file mode 100644 index 000000000000..0b6451349cad --- /dev/null +++ b/packages/presentproto.rb @@ -0,0 +1,17 @@ +require 'package' + +class Presentproto < Package + description '' + homepage '' + version '1.1' + source_url 'https://www.x.org/archive/individual/proto/presentproto-1.1.tar.gz' + source_sha256 '114252e97afb4dfae8b31e6b0d5e24e4babda26b364e2be57abc2f3c30248b87' + + def self.build + system "./configure" + end + + def self.install + system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" + end +end diff --git a/packages/printproto.rb b/packages/printproto.rb new file mode 100644 index 000000000000..35650f158529 --- /dev/null +++ b/packages/printproto.rb @@ -0,0 +1,17 @@ +require 'package' + +class Printproto < Package + description '' + homepage '' + version '1.0.5' + source_url 'https://www.x.org/archive/individual/proto/printproto-1.0.5.tar.gz' + source_sha256 'e8b6f405fd865f0ea7a3a2908dfbf06622f57f2f91359ec65d13b955e49843fc' + + def self.build + system "./configure" + end + + def self.install + system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" + end +end diff --git a/packages/randrproto.rb b/packages/randrproto.rb new file mode 100644 index 000000000000..0651e27b8210 --- /dev/null +++ b/packages/randrproto.rb @@ -0,0 +1,17 @@ +require 'package' + +class Randrproto < Package + description '' + homepage '' + version '1.5.0' + source_url 'https://www.x.org/archive/individual/proto/randrproto-1.5.0.tar.gz' + source_sha256 '8f8a716d6daa6ba05df97d513960d35a39e040600bf04b313633f11679006fab' + + def self.build + system "./configure" + end + + def self.install + system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" + end +end diff --git a/packages/recordproto.rb b/packages/recordproto.rb new file mode 100644 index 000000000000..3c82df2e15ac --- /dev/null +++ b/packages/recordproto.rb @@ -0,0 +1,17 @@ +require 'package' + +class Recordproto < Package + description '' + homepage '' + version '1.14' + source_url 'https://www.x.org/archive/individual/proto/recordproto-1.14.tar.gz' + source_sha256 '74fc0e8919f3c234848794f1ee266ba6d090f9b99fd65ab913c54ee3ad3ff377' + + def self.build + system "./configure" + end + + def self.install + system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" + end +end diff --git a/packages/renderproto.rb b/packages/renderproto.rb new file mode 100644 index 000000000000..6ac85ab77ea7 --- /dev/null +++ b/packages/renderproto.rb @@ -0,0 +1,17 @@ +require 'package' + +class Renderproto < Package + description '' + homepage '' + version '0.11' + source_url 'https://www.x.org/archive/individual/proto/renderproto-0.11.tar.gz' + source_sha256 '256e4af1d3b4007872a276ed9e5c2522f80f5fe69b97268542917635b4dbf758' + + def self.build + system "./configure" + end + + def self.install + system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" + end +end diff --git a/packages/resourceproto.rb b/packages/resourceproto.rb new file mode 100644 index 000000000000..0fd9ef766093 --- /dev/null +++ b/packages/resourceproto.rb @@ -0,0 +1,17 @@ +require 'package' + +class Resourceproto < Package + description '' + homepage '' + version '1.2.0' + source_url 'https://www.x.org/archive/individual/proto/resourceproto-1.2.0.tar.gz' + source_sha256 '469029d14fdeeaa7eed1be585998ff4cb92cf664f872d1d69c04140815b78734' + + def self.build + system "./configure" + end + + def self.install + system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" + end +end diff --git a/packages/scrnsaverproto.rb b/packages/scrnsaverproto.rb new file mode 100644 index 000000000000..51402c736d95 --- /dev/null +++ b/packages/scrnsaverproto.rb @@ -0,0 +1,17 @@ +require 'package' + +class Scrnsaverproto < Package + description '' + homepage '' + version '1.2.2' + source_url 'https://www.x.org/archive/individual/proto/scrnsaverproto-1.2.2.tar.gz' + source_sha256 'd8dee19c52977f65af08fad6aa237bacee11bc5a33e1b9b064e8ac1fd99d6e79' + + def self.build + system "./configure" + end + + def self.install + system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" + end +end diff --git a/packages/trapproto.rb b/packages/trapproto.rb new file mode 100644 index 000000000000..688022369b93 --- /dev/null +++ b/packages/trapproto.rb @@ -0,0 +1,17 @@ +require 'package' + +class Trapproto < Package + description '' + homepage '' + version '3.4.3' + source_url 'https://www.x.org/archive/individual/proto/trapproto-3.4.3.tar.gz' + source_sha256 'abfb930b5703b5a6ebafe84d0246bd8c6b099ca4a4eab06d1dc0776a8a9b87c1' + + def self.build + system "./configure" + end + + def self.install + system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" + end +end diff --git a/packages/videoproto.rb b/packages/videoproto.rb new file mode 100644 index 000000000000..dccc9930f305 --- /dev/null +++ b/packages/videoproto.rb @@ -0,0 +1,17 @@ +require 'package' + +class Videoproto < Package + description '' + homepage '' + version '2.3.3' + source_url 'https://www.x.org/archive/individual/proto/videoproto-2.3.3.tar.gz' + source_sha256 'df8dfeb158767f843054248d020e291a2c40f7f5e0ac6d8706966686fee7c5c0' + + def self.build + system "./configure" + end + + def self.install + system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" + end +end diff --git a/packages/windowswmproto.rb b/packages/windowswmproto.rb new file mode 100644 index 000000000000..17c9cbf03b78 --- /dev/null +++ b/packages/windowswmproto.rb @@ -0,0 +1,17 @@ +require 'package' + +class Windowswmproto < Package + description '' + homepage '' + version '1.0.4' + source_url 'https://www.x.org/archive/individual/proto/windowswmproto-1.0.4.tar.gz' + source_sha256 '2dccf510cf18a1b5cfd3a277c678d88303efc85478b479fec46228a861956eb7' + + def self.build + system "./configure" + end + + def self.install + system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" + end +end diff --git a/packages/xcb_proto.rb b/packages/xcb_proto.rb new file mode 100644 index 000000000000..15789331763d --- /dev/null +++ b/packages/xcb_proto.rb @@ -0,0 +1,18 @@ +require 'package' + +class Xcb_proto < Package + description '' + homepage '' + version '1.12' + source_url 'https://www.x.org/archive/individual/xcb/xcb-proto-1.12.tar.gz' + source_sha256 'cfa49e65dd390233d560ce4476575e4b76e505a0e0bacdfb5ba6f8d0af53fd59' + + def self.build + system "./configure" + system "make" + end + + def self.install + system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" + end +end diff --git a/packages/xcmiscproto.rb b/packages/xcmiscproto.rb new file mode 100644 index 000000000000..0b2d24cb02d9 --- /dev/null +++ b/packages/xcmiscproto.rb @@ -0,0 +1,17 @@ +require 'package' + +class Xcmiscproto < Package + description '' + homepage '' + version '1.2.2' + source_url 'https://www.x.org/archive/individual/proto/xcmiscproto-1.2.2.tar.gz' + source_sha256 '48013cfbe4bd5580925a854a43e2bccbb4c7a5a31128070644617b6dc7f8ef85' + + def self.build + system "./configure" + end + + def self.install + system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" + end +end diff --git a/packages/xextproto.rb b/packages/xextproto.rb new file mode 100644 index 000000000000..f4e84ff5dd7f --- /dev/null +++ b/packages/xextproto.rb @@ -0,0 +1,17 @@ +require 'package' + +class Xextproto < Package + description '' + homepage '' + version '7.3.0' + source_url 'https://www.x.org/archive/individual/proto/xextproto-7.3.0.tar.gz' + source_sha256 '1b1bcdf91221e78c6c33738667a57bd9aaa63d5953174ad8ed9929296741c9f5' + + def self.build + system "./configure" + end + + def self.install + system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" + end +end diff --git a/packages/xf86vidmodeproto.rb b/packages/xf86vidmodeproto.rb new file mode 100644 index 000000000000..36e272729f18 --- /dev/null +++ b/packages/xf86vidmodeproto.rb @@ -0,0 +1,17 @@ +require 'package' + +class Xf86vidmodeproto < Package + description '' + homepage '' + version '2.3' + source_url 'https://www.x.org/archive/individual/proto/xf86vidmodeproto-2.3.tar.gz' + source_sha256 '4bdb8d868f65783f58d9619232a31a2c309e7ae15d24ce5efc579a732aaa271d' + + def self.build + system "./configure" + end + + def self.install + system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" + end +end diff --git a/packages/xineramaproto.rb b/packages/xineramaproto.rb new file mode 100644 index 000000000000..f819f04d1a93 --- /dev/null +++ b/packages/xineramaproto.rb @@ -0,0 +1,17 @@ +require 'package' + +class Xineramaproto < Package + description '' + homepage '' + version '1.2' + source_url 'https://www.x.org/archive/individual/proto/xineramaproto-1.2.tar.gz' + source_sha256 'd1298f7e3bea0790bd3c93516b83ff4551b20b544c50fd231d53fc4b5ba93100' + + def self.build + system "./configure" + end + + def self.install + system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" + end +end diff --git a/packages/xproto.rb b/packages/xproto.rb new file mode 100644 index 000000000000..18b6ae127fb6 --- /dev/null +++ b/packages/xproto.rb @@ -0,0 +1,17 @@ +require 'package' + +class Xproto < Package + description '' + homepage '' + version '7.0.31' + source_url 'https://www.x.org/archive/individual/proto/xproto-7.0.31.tar.gz' + source_sha256 '6d755eaae27b45c5cc75529a12855fed5de5969b367ed05003944cf901ed43c7' + + def self.build + system "./configure" + end + + def self.install + system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" + end +end From a050685354aeab3a6efee5c1526d30604e774e1d Mon Sep 17 00:00:00 2001 From: Jan Baudisch Date: Tue, 18 Jul 2017 08:38:29 -0600 Subject: [PATCH 10/30] Add descriptions to xorg protocols --- packages/applewmproto.rb | 2 +- packages/bigreqsproto.rb | 2 +- packages/compositeproto.rb | 2 +- packages/damageproto.rb | 2 +- packages/dmxproto.rb | 2 +- packages/dri2proto.rb | 2 +- packages/dri3proto.rb | 2 +- packages/fixesproto.rb | 2 +- packages/fontcacheproto.rb | 2 +- packages/fontsproto.rb | 2 +- packages/glproto.rb | 2 +- packages/inputproto.rb | 2 +- packages/kbproto.rb | 2 +- packages/presentproto.rb | 2 +- packages/printproto.rb | 2 +- packages/randrproto.rb | 2 +- packages/recordproto.rb | 2 +- packages/renderproto.rb | 2 +- packages/resourceproto.rb | 2 +- packages/scrnsaverproto.rb | 2 +- packages/trapproto.rb | 2 +- packages/videoproto.rb | 2 +- packages/windowswmproto.rb | 2 +- packages/xcb_proto.rb | 2 +- packages/xcmiscproto.rb | 2 +- packages/xextproto.rb | 2 +- packages/xf86vidmodeproto.rb | 2 +- packages/xineramaproto.rb | 2 +- packages/xproto.rb | 2 +- 29 files changed, 29 insertions(+), 29 deletions(-) diff --git a/packages/applewmproto.rb b/packages/applewmproto.rb index 5244ec79286e..665a4380d570 100644 --- a/packages/applewmproto.rb +++ b/packages/applewmproto.rb @@ -1,7 +1,7 @@ require 'package' class Applewmproto < Package - description '' + description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' homepage '' version '1.4.2' source_url 'https://www.x.org/archive/individual/proto/applewmproto-1.4.2.tar.gz' diff --git a/packages/bigreqsproto.rb b/packages/bigreqsproto.rb index 685ad5dd1276..5610ec355a61 100644 --- a/packages/bigreqsproto.rb +++ b/packages/bigreqsproto.rb @@ -1,7 +1,7 @@ require 'package' class Bigreqsproto < Package - description '' + description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' homepage '' version '1.1.2' source_url 'https://www.x.org/archive/individual/proto/bigreqsproto-1.1.2.tar.gz' diff --git a/packages/compositeproto.rb b/packages/compositeproto.rb index 80ca8e4aa392..ad5d1649d023 100644 --- a/packages/compositeproto.rb +++ b/packages/compositeproto.rb @@ -1,7 +1,7 @@ require 'package' class Compositeproto < Package - description '' + description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' homepage '' version '0.4' source_url 'https://www.x.org/archive/individual/proto/compositeproto-0.4.tar.gz' diff --git a/packages/damageproto.rb b/packages/damageproto.rb index 5d992a89af8e..a023bc265677 100644 --- a/packages/damageproto.rb +++ b/packages/damageproto.rb @@ -1,7 +1,7 @@ require 'package' class Damageproto < Package - description '' + description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' homepage '' version '1.2.1' source_url 'https://www.x.org/archive/individual/proto/damageproto-1.2.1.tar.gz' diff --git a/packages/dmxproto.rb b/packages/dmxproto.rb index 31a1ab3fb6cf..f2d8c8d51c7e 100644 --- a/packages/dmxproto.rb +++ b/packages/dmxproto.rb @@ -1,7 +1,7 @@ require 'package' class Dmxproto < Package - description '' + description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' homepage '' version '2.3' source_url 'https://www.x.org/archive/individual/proto/dmxproto-2.3.tar.gz' diff --git a/packages/dri2proto.rb b/packages/dri2proto.rb index c901457ff976..180a6a84c1b5 100644 --- a/packages/dri2proto.rb +++ b/packages/dri2proto.rb @@ -1,7 +1,7 @@ require 'package' class Dri2proto < Package - description '' + description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' homepage '' version '2.8' source_url 'https://www.x.org/archive/individual/proto/dri2proto-2.8.tar.gz' diff --git a/packages/dri3proto.rb b/packages/dri3proto.rb index 7a07fbebfaa3..e4223053adec 100644 --- a/packages/dri3proto.rb +++ b/packages/dri3proto.rb @@ -1,7 +1,7 @@ require 'package' class Dri3proto < Package - description '' + description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' homepage '' version '1.0' source_url 'https://www.x.org/archive/individual/proto/dri3proto-1.0.tar.gz' diff --git a/packages/fixesproto.rb b/packages/fixesproto.rb index e29dba8dd47d..bcd9e91e065c 100644 --- a/packages/fixesproto.rb +++ b/packages/fixesproto.rb @@ -1,7 +1,7 @@ require 'package' class Fixesproto < Package - description '' + description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' homepage '' version '5.0' source_url 'https://www.x.org/archive/individual/proto/fixesproto-5.0.tar.gz' diff --git a/packages/fontcacheproto.rb b/packages/fontcacheproto.rb index 8d9432e514c2..059675949a1b 100644 --- a/packages/fontcacheproto.rb +++ b/packages/fontcacheproto.rb @@ -1,7 +1,7 @@ require 'package' class Fontcacheproto < Package - description '' + description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' homepage '' version '0.13' source_url 'https://www.x.org/archive/individual/proto/fontcacheproto-0.1.3.tar.gz' diff --git a/packages/fontsproto.rb b/packages/fontsproto.rb index ca0ff2bbb69a..b58143aaf3ce 100644 --- a/packages/fontsproto.rb +++ b/packages/fontsproto.rb @@ -1,7 +1,7 @@ require 'package' class Fontsproto < Package - description '' + description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' homepage '' version '2.1.3' source_url 'https://www.x.org/archive/individual/proto/fontsproto-2.1.3.tar.gz' diff --git a/packages/glproto.rb b/packages/glproto.rb index 2c0d760bb34f..f63563289546 100644 --- a/packages/glproto.rb +++ b/packages/glproto.rb @@ -1,7 +1,7 @@ require 'package' class Glproto < Package - description '' + description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' homepage '' version '1.4.17' source_url 'https://www.x.org/archive/individual/proto/glproto-1.4.17.tar.gz' diff --git a/packages/inputproto.rb b/packages/inputproto.rb index 300b5514e531..1b87acd4b411 100644 --- a/packages/inputproto.rb +++ b/packages/inputproto.rb @@ -1,7 +1,7 @@ require 'package' class Inputproto < Package - description '' + description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' homepage '' version '2.3' source_url 'https://www.x.org/archive/individual/proto/inputproto-2.3.tar.gz' diff --git a/packages/kbproto.rb b/packages/kbproto.rb index 7b31521a4309..6209139db6a7 100644 --- a/packages/kbproto.rb +++ b/packages/kbproto.rb @@ -1,7 +1,7 @@ require 'package' class Kbproto < Package - description '' + description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' homepage '' version '1.0.7' source_url 'https://www.x.org/archive/individual/proto/kbproto-1.0.7.tar.gz' diff --git a/packages/presentproto.rb b/packages/presentproto.rb index 0b6451349cad..3ee3ce37d9ae 100644 --- a/packages/presentproto.rb +++ b/packages/presentproto.rb @@ -1,7 +1,7 @@ require 'package' class Presentproto < Package - description '' + description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' homepage '' version '1.1' source_url 'https://www.x.org/archive/individual/proto/presentproto-1.1.tar.gz' diff --git a/packages/printproto.rb b/packages/printproto.rb index 35650f158529..01778287868a 100644 --- a/packages/printproto.rb +++ b/packages/printproto.rb @@ -1,7 +1,7 @@ require 'package' class Printproto < Package - description '' + description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' homepage '' version '1.0.5' source_url 'https://www.x.org/archive/individual/proto/printproto-1.0.5.tar.gz' diff --git a/packages/randrproto.rb b/packages/randrproto.rb index 0651e27b8210..5ce277c5f341 100644 --- a/packages/randrproto.rb +++ b/packages/randrproto.rb @@ -1,7 +1,7 @@ require 'package' class Randrproto < Package - description '' + description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' homepage '' version '1.5.0' source_url 'https://www.x.org/archive/individual/proto/randrproto-1.5.0.tar.gz' diff --git a/packages/recordproto.rb b/packages/recordproto.rb index 3c82df2e15ac..b7c636b28117 100644 --- a/packages/recordproto.rb +++ b/packages/recordproto.rb @@ -1,7 +1,7 @@ require 'package' class Recordproto < Package - description '' + description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' homepage '' version '1.14' source_url 'https://www.x.org/archive/individual/proto/recordproto-1.14.tar.gz' diff --git a/packages/renderproto.rb b/packages/renderproto.rb index 6ac85ab77ea7..71451ef6e3a5 100644 --- a/packages/renderproto.rb +++ b/packages/renderproto.rb @@ -1,7 +1,7 @@ require 'package' class Renderproto < Package - description '' + description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' homepage '' version '0.11' source_url 'https://www.x.org/archive/individual/proto/renderproto-0.11.tar.gz' diff --git a/packages/resourceproto.rb b/packages/resourceproto.rb index 0fd9ef766093..8d70c52ab08e 100644 --- a/packages/resourceproto.rb +++ b/packages/resourceproto.rb @@ -1,7 +1,7 @@ require 'package' class Resourceproto < Package - description '' + description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' homepage '' version '1.2.0' source_url 'https://www.x.org/archive/individual/proto/resourceproto-1.2.0.tar.gz' diff --git a/packages/scrnsaverproto.rb b/packages/scrnsaverproto.rb index 51402c736d95..78ce828733e9 100644 --- a/packages/scrnsaverproto.rb +++ b/packages/scrnsaverproto.rb @@ -1,7 +1,7 @@ require 'package' class Scrnsaverproto < Package - description '' + description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' homepage '' version '1.2.2' source_url 'https://www.x.org/archive/individual/proto/scrnsaverproto-1.2.2.tar.gz' diff --git a/packages/trapproto.rb b/packages/trapproto.rb index 688022369b93..37530c582b17 100644 --- a/packages/trapproto.rb +++ b/packages/trapproto.rb @@ -1,7 +1,7 @@ require 'package' class Trapproto < Package - description '' + description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' homepage '' version '3.4.3' source_url 'https://www.x.org/archive/individual/proto/trapproto-3.4.3.tar.gz' diff --git a/packages/videoproto.rb b/packages/videoproto.rb index dccc9930f305..9914b1d4cac5 100644 --- a/packages/videoproto.rb +++ b/packages/videoproto.rb @@ -1,7 +1,7 @@ require 'package' class Videoproto < Package - description '' + description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' homepage '' version '2.3.3' source_url 'https://www.x.org/archive/individual/proto/videoproto-2.3.3.tar.gz' diff --git a/packages/windowswmproto.rb b/packages/windowswmproto.rb index 17c9cbf03b78..19e8b408353f 100644 --- a/packages/windowswmproto.rb +++ b/packages/windowswmproto.rb @@ -1,7 +1,7 @@ require 'package' class Windowswmproto < Package - description '' + description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' homepage '' version '1.0.4' source_url 'https://www.x.org/archive/individual/proto/windowswmproto-1.0.4.tar.gz' diff --git a/packages/xcb_proto.rb b/packages/xcb_proto.rb index 15789331763d..f3aefedfcaff 100644 --- a/packages/xcb_proto.rb +++ b/packages/xcb_proto.rb @@ -1,7 +1,7 @@ require 'package' class Xcb_proto < Package - description '' + description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' homepage '' version '1.12' source_url 'https://www.x.org/archive/individual/xcb/xcb-proto-1.12.tar.gz' diff --git a/packages/xcmiscproto.rb b/packages/xcmiscproto.rb index 0b2d24cb02d9..bbeab8dc90a9 100644 --- a/packages/xcmiscproto.rb +++ b/packages/xcmiscproto.rb @@ -1,7 +1,7 @@ require 'package' class Xcmiscproto < Package - description '' + description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' homepage '' version '1.2.2' source_url 'https://www.x.org/archive/individual/proto/xcmiscproto-1.2.2.tar.gz' diff --git a/packages/xextproto.rb b/packages/xextproto.rb index f4e84ff5dd7f..1982eff62f45 100644 --- a/packages/xextproto.rb +++ b/packages/xextproto.rb @@ -1,7 +1,7 @@ require 'package' class Xextproto < Package - description '' + description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' homepage '' version '7.3.0' source_url 'https://www.x.org/archive/individual/proto/xextproto-7.3.0.tar.gz' diff --git a/packages/xf86vidmodeproto.rb b/packages/xf86vidmodeproto.rb index 36e272729f18..c8e770d48e5f 100644 --- a/packages/xf86vidmodeproto.rb +++ b/packages/xf86vidmodeproto.rb @@ -1,7 +1,7 @@ require 'package' class Xf86vidmodeproto < Package - description '' + description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' homepage '' version '2.3' source_url 'https://www.x.org/archive/individual/proto/xf86vidmodeproto-2.3.tar.gz' diff --git a/packages/xineramaproto.rb b/packages/xineramaproto.rb index f819f04d1a93..73b7e2b1d9c9 100644 --- a/packages/xineramaproto.rb +++ b/packages/xineramaproto.rb @@ -1,7 +1,7 @@ require 'package' class Xineramaproto < Package - description '' + description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' homepage '' version '1.2' source_url 'https://www.x.org/archive/individual/proto/xineramaproto-1.2.tar.gz' diff --git a/packages/xproto.rb b/packages/xproto.rb index 18b6ae127fb6..58b00e249265 100644 --- a/packages/xproto.rb +++ b/packages/xproto.rb @@ -1,7 +1,7 @@ require 'package' class Xproto < Package - description '' + description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' homepage '' version '7.0.31' source_url 'https://www.x.org/archive/individual/proto/xproto-7.0.31.tar.gz' From 2989fe953ba05e7f98d19b7b07fe886758ef8793 Mon Sep 17 00:00:00 2001 From: Jan Baudisch Date: Tue, 18 Jul 2017 08:41:35 -0600 Subject: [PATCH 11/30] Add hompepage to xorg protocols --- packages/applewmproto.rb | 2 +- packages/bigreqsproto.rb | 2 +- packages/compositeproto.rb | 2 +- packages/damageproto.rb | 2 +- packages/dmxproto.rb | 2 +- packages/dri2proto.rb | 2 +- packages/dri3proto.rb | 2 +- packages/fixesproto.rb | 2 +- packages/fontcacheproto.rb | 2 +- packages/fontsproto.rb | 2 +- packages/glproto.rb | 2 +- packages/inputproto.rb | 2 +- packages/kbproto.rb | 2 +- packages/presentproto.rb | 2 +- packages/printproto.rb | 2 +- packages/randrproto.rb | 2 +- packages/recordproto.rb | 2 +- packages/renderproto.rb | 2 +- packages/resourceproto.rb | 2 +- packages/scrnsaverproto.rb | 2 +- packages/trapproto.rb | 2 +- packages/videoproto.rb | 2 +- packages/windowswmproto.rb | 2 +- packages/xcb_proto.rb | 2 +- packages/xcmiscproto.rb | 2 +- packages/xextproto.rb | 2 +- packages/xf86vidmodeproto.rb | 2 +- packages/xineramaproto.rb | 2 +- packages/xproto.rb | 2 +- 29 files changed, 29 insertions(+), 29 deletions(-) diff --git a/packages/applewmproto.rb b/packages/applewmproto.rb index 665a4380d570..e579a95b4965 100644 --- a/packages/applewmproto.rb +++ b/packages/applewmproto.rb @@ -2,7 +2,7 @@ class Applewmproto < Package description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' - homepage '' + homepage 'https://x.org' version '1.4.2' source_url 'https://www.x.org/archive/individual/proto/applewmproto-1.4.2.tar.gz' source_sha256 'ff8ac07d263a23357af2d6ff0cca3c1d56b043ddf7797a5a92ec624f4704df2e' diff --git a/packages/bigreqsproto.rb b/packages/bigreqsproto.rb index 5610ec355a61..ab3558f1604b 100644 --- a/packages/bigreqsproto.rb +++ b/packages/bigreqsproto.rb @@ -2,7 +2,7 @@ class Bigreqsproto < Package description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' - homepage '' + homepage 'https://x.org' version '1.1.2' source_url 'https://www.x.org/archive/individual/proto/bigreqsproto-1.1.2.tar.gz' source_sha256 'de68a1a9dd1a1219ad73531bff9f662bc62fcd777387549c43cd282399f4a6ea' diff --git a/packages/compositeproto.rb b/packages/compositeproto.rb index ad5d1649d023..c78e49fab44f 100644 --- a/packages/compositeproto.rb +++ b/packages/compositeproto.rb @@ -2,7 +2,7 @@ class Compositeproto < Package description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' - homepage '' + homepage 'https://x.org' version '0.4' source_url 'https://www.x.org/archive/individual/proto/compositeproto-0.4.tar.gz' source_sha256 '1607f58409185203077de59801970b07a36f41e586a499918284c8d768d870cc' diff --git a/packages/damageproto.rb b/packages/damageproto.rb index a023bc265677..2d56e1d4a1ca 100644 --- a/packages/damageproto.rb +++ b/packages/damageproto.rb @@ -2,7 +2,7 @@ class Damageproto < Package description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' - homepage '' + homepage 'https://x.org' version '1.2.1' source_url 'https://www.x.org/archive/individual/proto/damageproto-1.2.1.tar.gz' source_sha256 'f65ccbf1de9750a527ea6e85694085b179f2d06495cbdb742b3edb2149fef303' diff --git a/packages/dmxproto.rb b/packages/dmxproto.rb index f2d8c8d51c7e..86de07b5c395 100644 --- a/packages/dmxproto.rb +++ b/packages/dmxproto.rb @@ -2,7 +2,7 @@ class Dmxproto < Package description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' - homepage '' + homepage 'https://x.org' version '2.3' source_url 'https://www.x.org/archive/individual/proto/dmxproto-2.3.tar.gz' source_sha256 'a911a086a61c1bb16d35f70b391f167744ee721b5e2a7f22c00bc5a2c1ecb242' diff --git a/packages/dri2proto.rb b/packages/dri2proto.rb index 180a6a84c1b5..098dbe7a6933 100644 --- a/packages/dri2proto.rb +++ b/packages/dri2proto.rb @@ -2,7 +2,7 @@ class Dri2proto < Package description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' - homepage '' + homepage 'https://x.org' version '2.8' source_url 'https://www.x.org/archive/individual/proto/dri2proto-2.8.tar.gz' source_sha256 '7e65b031eaa6ebe23c75583d4abd993ded7add8009b4200a4db7aa10728b0f61' diff --git a/packages/dri3proto.rb b/packages/dri3proto.rb index e4223053adec..01ead076e9eb 100644 --- a/packages/dri3proto.rb +++ b/packages/dri3proto.rb @@ -2,7 +2,7 @@ class Dri3proto < Package description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' - homepage '' + homepage 'https://x.org' version '1.0' source_url 'https://www.x.org/archive/individual/proto/dri3proto-1.0.tar.gz' source_sha256 'e1a0dad3009ecde52c0bf44187df5f95cc9a7cc0e76dfc2f2bbf3e909fe03fa9' diff --git a/packages/fixesproto.rb b/packages/fixesproto.rb index bcd9e91e065c..8d2422ec219b 100644 --- a/packages/fixesproto.rb +++ b/packages/fixesproto.rb @@ -2,7 +2,7 @@ class Fixesproto < Package description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' - homepage '' + homepage 'https://x.org' version '5.0' source_url 'https://www.x.org/archive/individual/proto/fixesproto-5.0.tar.gz' source_sha256 '67865a0e3cdc7dec1fd676f0927f7011ad4036c18eb320a2b41dbd56282f33b8' diff --git a/packages/fontcacheproto.rb b/packages/fontcacheproto.rb index 059675949a1b..d3b20dc394aa 100644 --- a/packages/fontcacheproto.rb +++ b/packages/fontcacheproto.rb @@ -2,7 +2,7 @@ class Fontcacheproto < Package description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' - homepage '' + homepage 'https://x.org' version '0.13' source_url 'https://www.x.org/archive/individual/proto/fontcacheproto-0.1.3.tar.gz' source_sha256 '759b4863b55a25bfc8f977d8ed969da0b99b3c823f33c674d6da5825f9df9a79' diff --git a/packages/fontsproto.rb b/packages/fontsproto.rb index b58143aaf3ce..31a42f45c4aa 100644 --- a/packages/fontsproto.rb +++ b/packages/fontsproto.rb @@ -2,7 +2,7 @@ class Fontsproto < Package description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' - homepage '' + homepage 'https://x.org' version '2.1.3' source_url 'https://www.x.org/archive/individual/proto/fontsproto-2.1.3.tar.gz' source_sha256 '72c44e63044b2b66f6fa112921621ecc20c71193982de4f198d9a29cda385c5e' diff --git a/packages/glproto.rb b/packages/glproto.rb index f63563289546..f4a968acff8c 100644 --- a/packages/glproto.rb +++ b/packages/glproto.rb @@ -2,7 +2,7 @@ class Glproto < Package description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' - homepage '' + homepage 'https://x.org' version '1.4.17' source_url 'https://www.x.org/archive/individual/proto/glproto-1.4.17.tar.gz' source_sha256 '9d8130fec2b98bd032db7730fa092dd9dec39f3de34f4bb03ceb43b9903dbc96' diff --git a/packages/inputproto.rb b/packages/inputproto.rb index 1b87acd4b411..04ebb48cd284 100644 --- a/packages/inputproto.rb +++ b/packages/inputproto.rb @@ -2,7 +2,7 @@ class Inputproto < Package description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' - homepage '' + homepage 'https://x.org' version '2.3' source_url 'https://www.x.org/archive/individual/proto/inputproto-2.3.tar.gz' source_sha256 '98e8ab87fb71080b28536d749aa942bdad13d860d5eb3e1271084906cda711e9' diff --git a/packages/kbproto.rb b/packages/kbproto.rb index 6209139db6a7..4c3ccca95420 100644 --- a/packages/kbproto.rb +++ b/packages/kbproto.rb @@ -2,7 +2,7 @@ class Kbproto < Package description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' - homepage '' + homepage 'https://x.org' version '1.0.7' source_url 'https://www.x.org/archive/individual/proto/kbproto-1.0.7.tar.gz' source_sha256 '828cb275b91268b1a3ea950d5c0c5eb076c678fdf005d517411f89cc8c3bb416' diff --git a/packages/presentproto.rb b/packages/presentproto.rb index 3ee3ce37d9ae..3fbed4144972 100644 --- a/packages/presentproto.rb +++ b/packages/presentproto.rb @@ -2,7 +2,7 @@ class Presentproto < Package description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' - homepage '' + homepage 'https://x.org' version '1.1' source_url 'https://www.x.org/archive/individual/proto/presentproto-1.1.tar.gz' source_sha256 '114252e97afb4dfae8b31e6b0d5e24e4babda26b364e2be57abc2f3c30248b87' diff --git a/packages/printproto.rb b/packages/printproto.rb index 01778287868a..878cf7ee3619 100644 --- a/packages/printproto.rb +++ b/packages/printproto.rb @@ -2,7 +2,7 @@ class Printproto < Package description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' - homepage '' + homepage 'https://x.org' version '1.0.5' source_url 'https://www.x.org/archive/individual/proto/printproto-1.0.5.tar.gz' source_sha256 'e8b6f405fd865f0ea7a3a2908dfbf06622f57f2f91359ec65d13b955e49843fc' diff --git a/packages/randrproto.rb b/packages/randrproto.rb index 5ce277c5f341..ad3b3cd67911 100644 --- a/packages/randrproto.rb +++ b/packages/randrproto.rb @@ -2,7 +2,7 @@ class Randrproto < Package description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' - homepage '' + homepage 'https://x.org' version '1.5.0' source_url 'https://www.x.org/archive/individual/proto/randrproto-1.5.0.tar.gz' source_sha256 '8f8a716d6daa6ba05df97d513960d35a39e040600bf04b313633f11679006fab' diff --git a/packages/recordproto.rb b/packages/recordproto.rb index b7c636b28117..bb47dbd3a2f3 100644 --- a/packages/recordproto.rb +++ b/packages/recordproto.rb @@ -2,7 +2,7 @@ class Recordproto < Package description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' - homepage '' + homepage 'https://x.org' version '1.14' source_url 'https://www.x.org/archive/individual/proto/recordproto-1.14.tar.gz' source_sha256 '74fc0e8919f3c234848794f1ee266ba6d090f9b99fd65ab913c54ee3ad3ff377' diff --git a/packages/renderproto.rb b/packages/renderproto.rb index 71451ef6e3a5..ccfbd1fdb4c4 100644 --- a/packages/renderproto.rb +++ b/packages/renderproto.rb @@ -2,7 +2,7 @@ class Renderproto < Package description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' - homepage '' + homepage 'https://x.org' version '0.11' source_url 'https://www.x.org/archive/individual/proto/renderproto-0.11.tar.gz' source_sha256 '256e4af1d3b4007872a276ed9e5c2522f80f5fe69b97268542917635b4dbf758' diff --git a/packages/resourceproto.rb b/packages/resourceproto.rb index 8d70c52ab08e..6f95fed559de 100644 --- a/packages/resourceproto.rb +++ b/packages/resourceproto.rb @@ -2,7 +2,7 @@ class Resourceproto < Package description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' - homepage '' + homepage 'https://x.org' version '1.2.0' source_url 'https://www.x.org/archive/individual/proto/resourceproto-1.2.0.tar.gz' source_sha256 '469029d14fdeeaa7eed1be585998ff4cb92cf664f872d1d69c04140815b78734' diff --git a/packages/scrnsaverproto.rb b/packages/scrnsaverproto.rb index 78ce828733e9..97abf9e165b1 100644 --- a/packages/scrnsaverproto.rb +++ b/packages/scrnsaverproto.rb @@ -2,7 +2,7 @@ class Scrnsaverproto < Package description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' - homepage '' + homepage 'https://x.org' version '1.2.2' source_url 'https://www.x.org/archive/individual/proto/scrnsaverproto-1.2.2.tar.gz' source_sha256 'd8dee19c52977f65af08fad6aa237bacee11bc5a33e1b9b064e8ac1fd99d6e79' diff --git a/packages/trapproto.rb b/packages/trapproto.rb index 37530c582b17..7dd315daf535 100644 --- a/packages/trapproto.rb +++ b/packages/trapproto.rb @@ -2,7 +2,7 @@ class Trapproto < Package description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' - homepage '' + homepage 'https://x.org' version '3.4.3' source_url 'https://www.x.org/archive/individual/proto/trapproto-3.4.3.tar.gz' source_sha256 'abfb930b5703b5a6ebafe84d0246bd8c6b099ca4a4eab06d1dc0776a8a9b87c1' diff --git a/packages/videoproto.rb b/packages/videoproto.rb index 9914b1d4cac5..9822965fed3e 100644 --- a/packages/videoproto.rb +++ b/packages/videoproto.rb @@ -2,7 +2,7 @@ class Videoproto < Package description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' - homepage '' + homepage 'https://x.org' version '2.3.3' source_url 'https://www.x.org/archive/individual/proto/videoproto-2.3.3.tar.gz' source_sha256 'df8dfeb158767f843054248d020e291a2c40f7f5e0ac6d8706966686fee7c5c0' diff --git a/packages/windowswmproto.rb b/packages/windowswmproto.rb index 19e8b408353f..2ce8acf7d31b 100644 --- a/packages/windowswmproto.rb +++ b/packages/windowswmproto.rb @@ -2,7 +2,7 @@ class Windowswmproto < Package description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' - homepage '' + homepage 'https://x.org' version '1.0.4' source_url 'https://www.x.org/archive/individual/proto/windowswmproto-1.0.4.tar.gz' source_sha256 '2dccf510cf18a1b5cfd3a277c678d88303efc85478b479fec46228a861956eb7' diff --git a/packages/xcb_proto.rb b/packages/xcb_proto.rb index f3aefedfcaff..0f16fde60337 100644 --- a/packages/xcb_proto.rb +++ b/packages/xcb_proto.rb @@ -2,7 +2,7 @@ class Xcb_proto < Package description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' - homepage '' + homepage 'https://x.org' version '1.12' source_url 'https://www.x.org/archive/individual/xcb/xcb-proto-1.12.tar.gz' source_sha256 'cfa49e65dd390233d560ce4476575e4b76e505a0e0bacdfb5ba6f8d0af53fd59' diff --git a/packages/xcmiscproto.rb b/packages/xcmiscproto.rb index bbeab8dc90a9..c9b5029cb379 100644 --- a/packages/xcmiscproto.rb +++ b/packages/xcmiscproto.rb @@ -2,7 +2,7 @@ class Xcmiscproto < Package description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' - homepage '' + homepage 'https://x.org' version '1.2.2' source_url 'https://www.x.org/archive/individual/proto/xcmiscproto-1.2.2.tar.gz' source_sha256 '48013cfbe4bd5580925a854a43e2bccbb4c7a5a31128070644617b6dc7f8ef85' diff --git a/packages/xextproto.rb b/packages/xextproto.rb index 1982eff62f45..9948485f21fb 100644 --- a/packages/xextproto.rb +++ b/packages/xextproto.rb @@ -2,7 +2,7 @@ class Xextproto < Package description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' - homepage '' + homepage 'https://x.org' version '7.3.0' source_url 'https://www.x.org/archive/individual/proto/xextproto-7.3.0.tar.gz' source_sha256 '1b1bcdf91221e78c6c33738667a57bd9aaa63d5953174ad8ed9929296741c9f5' diff --git a/packages/xf86vidmodeproto.rb b/packages/xf86vidmodeproto.rb index c8e770d48e5f..a2e87191ef3b 100644 --- a/packages/xf86vidmodeproto.rb +++ b/packages/xf86vidmodeproto.rb @@ -2,7 +2,7 @@ class Xf86vidmodeproto < Package description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' - homepage '' + homepage 'https://x.org' version '2.3' source_url 'https://www.x.org/archive/individual/proto/xf86vidmodeproto-2.3.tar.gz' source_sha256 '4bdb8d868f65783f58d9619232a31a2c309e7ae15d24ce5efc579a732aaa271d' diff --git a/packages/xineramaproto.rb b/packages/xineramaproto.rb index 73b7e2b1d9c9..faab3d9fe8e2 100644 --- a/packages/xineramaproto.rb +++ b/packages/xineramaproto.rb @@ -2,7 +2,7 @@ class Xineramaproto < Package description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' - homepage '' + homepage 'https://x.org' version '1.2' source_url 'https://www.x.org/archive/individual/proto/xineramaproto-1.2.tar.gz' source_sha256 'd1298f7e3bea0790bd3c93516b83ff4551b20b544c50fd231d53fc4b5ba93100' diff --git a/packages/xproto.rb b/packages/xproto.rb index 58b00e249265..c81966c192b1 100644 --- a/packages/xproto.rb +++ b/packages/xproto.rb @@ -2,7 +2,7 @@ class Xproto < Package description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.' - homepage '' + homepage 'https://x.org' version '7.0.31' source_url 'https://www.x.org/archive/individual/proto/xproto-7.0.31.tar.gz' source_sha256 '6d755eaae27b45c5cc75529a12855fed5de5969b367ed05003944cf901ed43c7' From d49f77c31ac0ef682db77896af7610d0e9dbd6ec Mon Sep 17 00:00:00 2001 From: Jan Baudisch Date: Thu, 20 Jul 2017 22:34:12 -0600 Subject: [PATCH 12/30] Add libx11 --- packages/libx11.rb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 packages/libx11.rb diff --git a/packages/libx11.rb b/packages/libx11.rb new file mode 100644 index 000000000000..44881333489d --- /dev/null +++ b/packages/libx11.rb @@ -0,0 +1,18 @@ +require 'package' + +class Libx11 < Package + description 'C interface to the X window system' + homepage 'https://x.org' + version '1.6.5' + source_url 'https://www.x.org/archive/individual/lib/libX11-1.6.5.tar.gz' + source_sha256 '3abce972ba62620611fab5b404dafb852da3da54e7c287831c30863011d28fb3' + + def self.build + system "./configure" + system "make" + end + + def self.install + system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" + end +end From 87a213ab69f0d4648bdc1cf09fa3efcd5b864d96 Mon Sep 17 00:00:00 2001 From: Jan Baudisch Date: Thu, 20 Jul 2017 23:04:10 -0600 Subject: [PATCH 13/30] Update libx11 dependencies --- packages/libx11.rb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/libx11.rb b/packages/libx11.rb index 44881333489d..546536586208 100644 --- a/packages/libx11.rb +++ b/packages/libx11.rb @@ -7,6 +7,13 @@ class Libx11 < Package source_url 'https://www.x.org/archive/individual/lib/libX11-1.6.5.tar.gz' source_sha256 '3abce972ba62620611fab5b404dafb852da3da54e7c287831c30863011d28fb3' + depends_on 'kbproto' + depends_on 'libxcb' + depends_on 'xproto' + depends_on 'inputproto' + depends_on 'xextproto' + depends_on 'libxtrans' + def self.build system "./configure" system "make" From 796438f9208797dcf41be24a7ab12bf811419271 Mon Sep 17 00:00:00 2001 From: Jan Baudisch Date: Thu, 20 Jul 2017 23:04:41 -0600 Subject: [PATCH 14/30] Add libxtrans --- packages/libxtrans.rb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 packages/libxtrans.rb diff --git a/packages/libxtrans.rb b/packages/libxtrans.rb new file mode 100644 index 000000000000..f06655690339 --- /dev/null +++ b/packages/libxtrans.rb @@ -0,0 +1,18 @@ +require 'package' + +class Libxtrans < Package + description 'transpot library for the X window system' + homepage 'https://x.org' + version '1.3.5' + source_url 'https://www.x.org/archive/individual/lib/xtrans-1.3.5.tar.gz' + source_sha256 'b7a577c1b6c75030145e53b4793db9c88f9359ac49e7d771d4385d21b3e5945d' + + def self.build + system "./configure" + system "make" + end + + def self.install + system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" + end +end From 9fd683cdec23054aea9412a36796d144d598e9cf Mon Sep 17 00:00:00 2001 From: Jan Baudisch Date: Thu, 20 Jul 2017 23:05:08 -0600 Subject: [PATCH 15/30] Add libxcb --- packages/libxcb.rb | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 packages/libxcb.rb diff --git a/packages/libxcb.rb b/packages/libxcb.rb new file mode 100644 index 000000000000..35e168360bcf --- /dev/null +++ b/packages/libxcb.rb @@ -0,0 +1,20 @@ +require 'package' + +class Libxcb < Package + description 'library for the X window system' + homepage 'https://x.org' + version '1.12' + source_url 'https://www.x.org/archive/individual/xcb/libxcb-1.12.tar.gz' + source_sha256 '092f147149d8a6410647a848378aaae749304d5b73e028ccb8306aa8a9e26f06' + + depends_on 'xcb_proto' + + def self.build + system "./configure" + system "make" + end + + def self.install + system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" + end +end From b80468d5515aa8f921e7bc00370d7aa761363d6c Mon Sep 17 00:00:00 2001 From: "Kazushi (Jam) Marukawa" Date: Sat, 22 Jul 2017 07:13:03 +0900 Subject: [PATCH 16/30] Change default option for xz to use multi thread --- crew | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crew b/crew index aa704ae03b2f..717a1111920d 100755 --- a/crew +++ b/crew @@ -36,7 +36,7 @@ CREW_NOT_STRIP = ENV["CREW_NOT_STRIP"] # Set XZ_OPT environment variable for build command. # If CREW_XZ_OPT is defined, use it by default. Use `-7e`, otherwise. if ENV["CREW_XZ_OPT"].to_s == '' - ENV["XZ_OPT"] = "-7e" + ENV["XZ_OPT"] = "-7e -T #{CREW_NPROC}" else ENV["XZ_OPT"] = ENV["CREW_XZ_OPT"] end From f510f83c77ef590f80e499fdf8400290da3c78c2 Mon Sep 17 00:00:00 2001 From: "Kazushi (Jam) Marukawa" Date: Sat, 22 Jul 2017 21:29:06 +0900 Subject: [PATCH 17/30] Change to use old version fuse 2.8.6 which is identical version of Chrome OS 59. We must use /sbin/mount.fuse so need to use the identical one installed in /usr/lib/libfuse. --- packages/fuse.rb | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/packages/fuse.rb b/packages/fuse.rb index 3cadf3ab4b7e..cc6bf1669fe8 100644 --- a/packages/fuse.rb +++ b/packages/fuse.rb @@ -3,12 +3,18 @@ class Fuse < Package description 'The reference implementation of the Linux FUSE (Filesystem in Userspace) interface.' homepage 'https://github.com/libfuse/libfuse' - version '2.9.7' - source_url 'https://github.com/libfuse/libfuse/releases/download/fuse-2.9.7/fuse-2.9.7.tar.gz' - source_sha256 '832432d1ad4f833c20e13b57cf40ce5277a9d33e483205fc63c78111b3358874' + # The version of libfuse need to be matched with ChromeOS /usr/lib/libfuse.so since we must use + # /sbin/mount.fuse which is not possible to be overwritten. If we use different version of + # libfuse, it may cause errors. Chrome OS 59 and 60 use libfuse 2.8.6. + version '2.8.6' + source_url 'https://github.com/libfuse/libfuse/releases/download/fuse_2_9_4/fuse-2.8.6.tar.gz' + source_sha256 '1ec1913e38f09b2a9ec1579e1800805b5e2c747d1dce515e316dbb665ca139d6' def self.build system "./configure" + # A workaround to "'CLONE_NEWNS' undeclared" error. See below for details. + # https://github.com/libfuse/libfuse/commit/ae43094c13ecf49e0b738bbda633cf193c7b3670 + system "sed -i util/fusermount.c -e '1i#define _GNU_SOURCE'" system "make" end From c50ecaad76eaebf561dd376388bf77c1b8804264 Mon Sep 17 00:00:00 2001 From: Jan Baudisch Date: Sat, 22 Jul 2017 08:43:05 -0700 Subject: [PATCH 18/30] Add pthread_stubs --- packages/pthread_stubs.rb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 packages/pthread_stubs.rb diff --git a/packages/pthread_stubs.rb b/packages/pthread_stubs.rb new file mode 100644 index 000000000000..54c9fe0037a3 --- /dev/null +++ b/packages/pthread_stubs.rb @@ -0,0 +1,18 @@ +require 'package' + +class Pthread_stubs < Package + description 'pthread stubs to get libX11 working' + homepage 'https://x.org' + version '0.1' + source_url 'https://www.x.org/archive/individual/lib/libpthread-stubs-0.1.tar.gz' + source_sha256 'f8f7ca635fa54bcaef372fd5fd9028f394992a743d73453088fcadc1dbf3a704' + + def self.build + system "./configure" + system "make" + end + + def self.install + system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" + end +end From df1802aa86d25c20f585e4f9c53a8f1347f05a70 Mon Sep 17 00:00:00 2001 From: Jan Baudisch Date: Sat, 22 Jul 2017 08:43:52 -0700 Subject: [PATCH 19/30] Add libxau --- packages/libxau.rb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 packages/libxau.rb diff --git a/packages/libxau.rb b/packages/libxau.rb new file mode 100644 index 000000000000..dae03e8f055d --- /dev/null +++ b/packages/libxau.rb @@ -0,0 +1,18 @@ +require 'package' + +class Libxau < Package + description 'xau library for libX11' + homepage 'https://x.org' + version '1.0.8' + source_url 'https://www.x.org/archive/individual/lib/libXau-1.0.8.tar.gz' + source_sha256 'c343b4ef66d66a6b3e0e27aa46b37ad5cab0f11a5c565eafb4a1c7590bc71d7b' + + def self.build + system "./configure" + system "make" + end + + def self.install + system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" + end +end From c8e142c4802b3587c5334e0fb56d124a0edcf823 Mon Sep 17 00:00:00 2001 From: Jan Baudisch Date: Sat, 22 Jul 2017 08:44:34 -0700 Subject: [PATCH 20/30] Update libX11 dependencies --- packages/libx11.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/libx11.rb b/packages/libx11.rb index 546536586208..352619317e28 100644 --- a/packages/libx11.rb +++ b/packages/libx11.rb @@ -13,6 +13,8 @@ class Libx11 < Package depends_on 'inputproto' depends_on 'xextproto' depends_on 'libxtrans' + depends_on 'libxau' + depends_on 'pthread_stubs' def self.build system "./configure" From 513c4f9801f7a286250a3996965ef4e593348fed Mon Sep 17 00:00:00 2001 From: "Kazushi (Jam) Marukawa" Date: Sun, 23 Jul 2017 08:04:46 +0900 Subject: [PATCH 21/30] Change fuse.rb to use `/usr/local/lib64` on x86_64. Change to not install static library and not install util programs also. --- packages/fuse.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/fuse.rb b/packages/fuse.rb index cc6bf1669fe8..7bc6436d4516 100644 --- a/packages/fuse.rb +++ b/packages/fuse.rb @@ -11,7 +11,8 @@ class Fuse < Package source_sha256 '1ec1913e38f09b2a9ec1579e1800805b5e2c747d1dce515e316dbb665ca139d6' def self.build - system "./configure" + # Disable util since we must use pre-installed /sbin/mount.fuse + system "./configure", "--libdir=#{CREW_LIB_PREFIX}", "--enable-shared", "--disable-static", "--with-pic", "--disable-util" # A workaround to "'CLONE_NEWNS' undeclared" error. See below for details. # https://github.com/libfuse/libfuse/commit/ae43094c13ecf49e0b738bbda633cf193c7b3670 system "sed -i util/fusermount.c -e '1i#define _GNU_SOURCE'" From f225c851bda449f131a9958a82a48c21bac5a05c Mon Sep 17 00:00:00 2001 From: "Kazushi (Jam) Marukawa" Date: Sun, 11 Jun 2017 13:07:26 +0900 Subject: [PATCH 22/30] Change git.rb to not use pthread library since it cause crashes on qemu-arm --- packages/git.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/git.rb b/packages/git.rb index c1a2e79c02f2..0b6af1a4cad6 100644 --- a/packages/git.rb +++ b/packages/git.rb @@ -18,7 +18,7 @@ class Git < Package depends_on 'python27' => :build # requires python2 # need to build using single core - @make_cmd = "make -j1 prefix=/usr/local CC=gcc PERL_PATH=/usr/local/bin/perl PYTHON_PATH=/usr/local/bin/python2" + @make_cmd = "make -j1 prefix=/usr/local CC=gcc PERL_PATH=/usr/local/bin/perl PYTHON_PATH=/usr/local/bin/python2 NO_PTHREADS=" def self.build system "#{@make_cmd} all" From 04a291e70d38904c6209f4fe8fd02d2dc3f9601a Mon Sep 17 00:00:00 2001 From: "Kazushi (Jam) Marukawa" Date: Sun, 9 Jul 2017 20:37:15 +0900 Subject: [PATCH 23/30] Add following binary packages: curl, libffi, libssh2, make, ncurses, ncursesw, openssl, pkgconfig, readline, ruby, zlibpkg --- packages/curl.rb | 12 ++++++++++++ packages/libffi.rb | 12 ++++++++++++ packages/libssh2.rb | 12 ++++++++++++ packages/make.rb | 12 ++++++++++++ packages/ncurses.rb | 12 ++++++++++++ packages/ncursesw.rb | 12 ++++++++++++ packages/openssl.rb | 12 ++++++++---- packages/pkgconfig.rb | 12 ++++++++++++ packages/readline.rb | 12 ++++++++++++ packages/ruby.rb | 12 ++++++++++++ packages/zlibpkg.rb | 12 ++++++++++++ 11 files changed, 128 insertions(+), 4 deletions(-) diff --git a/packages/curl.rb b/packages/curl.rb index 424e3daf3fdf..fa339e76b42f 100644 --- a/packages/curl.rb +++ b/packages/curl.rb @@ -6,6 +6,18 @@ class Curl < Package version '7.54.1' source_url 'https://curl.haxx.se/download/curl-7.54.1.tar.bz2' source_sha256 'fdfc4df2d001ee0c44ec071186e770046249263c491fcae48df0e1a3ca8f25a0' + binary_url ({ + aarch64: 'https://github.com/jam7/chrome-cross/releases/download/v1.8/curl-7.54.1-chromeos-armv7l.tar.xz', + armv7l: 'https://github.com/jam7/chrome-cross/releases/download/v1.8/curl-7.54.1-chromeos-armv7l.tar.xz', + i686: 'https://github.com/jam7/chrome-cross/releases/download/v1.8/curl-7.54.1-chromeos-i686.tar.xz', + x86_64: 'https://github.com/jam7/chrome-cross/releases/download/v1.8/curl-7.54.1-chromeos-x86_64.tar.xz', + }) + binary_sha256 ({ + aarch64: 'a4e20f96eb21adf6acfcacffa5ea6cf30765e3146cb6326660a1e1a40c25381f', + armv7l: 'a4e20f96eb21adf6acfcacffa5ea6cf30765e3146cb6326660a1e1a40c25381f', + i686: 'e25ef8822c7d5d2a58ef22f7130c348e152e6cec4a6a0512ad4a38a31ef1d07c', + x86_64: '9840d2be7063109cc854296db2bfde63b6777d50016f50a5fb029bb6c685f0bd', + }) depends_on 'openssl' => :build depends_on 'zlibpkg' => :build diff --git a/packages/libffi.rb b/packages/libffi.rb index 2de38a4ea12b..4897d8918a8c 100644 --- a/packages/libffi.rb +++ b/packages/libffi.rb @@ -6,6 +6,18 @@ class Libffi < Package version '3.2.1-2' source_url 'ftp://sourceware.org/pub/libffi/libffi-3.2.1.tar.gz' source_sha256 'd06ebb8e1d9a22d19e38d63fdb83954253f39bedc5d46232a05645685722ca37' + binary_url ({ + aarch64: 'https://github.com/jam7/chrome-cross/releases/download/v1.8/libffi-3.2.1-chromeos-armv7l.tar.xz', + armv7l: 'https://github.com/jam7/chrome-cross/releases/download/v1.8/libffi-3.2.1-chromeos-armv7l.tar.xz', + i686: 'https://github.com/jam7/chrome-cross/releases/download/v1.8/libffi-3.2.1-chromeos-i686.tar.xz', + x86_64: 'https://github.com/jam7/chrome-cross/releases/download/v1.8/libffi-3.2.1-chromeos-x86_64.tar.xz', + }) + binary_sha256 ({ + aarch64: 'ecafdac385df1d6fc3bf477b3400e889d499446d36e7456d005cfbbe2cc9bf12', + armv7l: 'ecafdac385df1d6fc3bf477b3400e889d499446d36e7456d005cfbbe2cc9bf12', + i686: '257f544b86775d26ba631c1c2095560fd823cf879d44230c4d6cd8e982be4b7c', + x86_64: '48c9afaa32f7cddd516aef0f3fa83b783e8cca1c0045c85e199222241786082c', + }) def self.build system "./configure", "--libdir=#{CREW_LIB_PREFIX}", "--enable-shared", "--disable-static", "--with-pic", "--disable-debug", "--disable-dependency-tracking" diff --git a/packages/libssh2.rb b/packages/libssh2.rb index 94aebaaf486d..1672a042c188 100644 --- a/packages/libssh2.rb +++ b/packages/libssh2.rb @@ -6,6 +6,18 @@ class Libssh2 < Package version '1.8.0' source_url 'https://www.libssh2.org/download/libssh2-1.8.0.tar.gz' source_sha256 '39f34e2f6835f4b992cafe8625073a88e5a28ba78f83e8099610a7b3af4676d4' + binary_url ({ + aarch64: 'https://github.com/jam7/chrome-cross/releases/download/v1.8/libssh2-1.8.0-chromeos-armv7l.tar.xz', + armv7l: 'https://github.com/jam7/chrome-cross/releases/download/v1.8/libssh2-1.8.0-chromeos-armv7l.tar.xz', + i686: 'https://github.com/jam7/chrome-cross/releases/download/v1.8/libssh2-1.8.0-chromeos-i686.tar.xz', + x86_64: 'https://github.com/jam7/chrome-cross/releases/download/v1.8/libssh2-1.8.0-chromeos-x86_64.tar.xz', + }) + binary_sha256 ({ + aarch64: '94662756e545c73d76c37b2b83dd9852ebe71f4a17fc80d85db0fbaef72d4ca3', + armv7l: '94662756e545c73d76c37b2b83dd9852ebe71f4a17fc80d85db0fbaef72d4ca3', + i686: '7d6086f80abd3905a82bd34ffd2b811658c1eaf9ac0e63ad73df39d4ce7c3d9d', + x86_64: 'a5ebeb68c8e04e6587621a09cc43d0a3d7baf0cdb4dd945fd22253a6e0a11846', + }) depends_on 'openssl' => :build depends_on 'zlibpkg' => :build diff --git a/packages/make.rb b/packages/make.rb index 58ddb92f52aa..ef765857c358 100644 --- a/packages/make.rb +++ b/packages/make.rb @@ -6,6 +6,18 @@ class Make < Package version '4.2' source_url 'ftp://ftp.gnu.org/gnu/make/make-4.2.tar.bz2' source_sha256 '4e5ce3b62fe5d75ff8db92b7f6df91e476d10c3aceebf1639796dc5bfece655f' + binary_url ({ + aarch64: 'https://github.com/jam7/chrome-cross/releases/download/v1.8/make-4.2-chromeos-armv7l.tar.xz', + armv7l: 'https://github.com/jam7/chrome-cross/releases/download/v1.8/make-4.2-chromeos-armv7l.tar.xz', + i686: 'https://github.com/jam7/chrome-cross/releases/download/v1.8/make-4.2-chromeos-i686.tar.xz', + x86_64: 'https://github.com/jam7/chrome-cross/releases/download/v1.8/make-4.2-chromeos-x86_64.tar.xz', + }) + binary_sha256 ({ + aarch64: '974c2fdedc98b43feecd7e78e4d61f3b38e2a381cfcea52735ee520c0059d32b', + armv7l: '974c2fdedc98b43feecd7e78e4d61f3b38e2a381cfcea52735ee520c0059d32b', + i686: 'f36a52563c1d91371f4a2740d63e429f7936a37aea624b9e7156472f64ef5db9', + x86_64: 'c8ebc6c73474a27e3c0b83d328b77a8bcfdfdf779f5e9d5ee1831fab689d81aa', + }) depends_on 'gcc' => :build depends_on 'linuxheaders' => :build diff --git a/packages/ncurses.rb b/packages/ncurses.rb index 9de04ae537d9..3700c0dd9b11 100644 --- a/packages/ncurses.rb +++ b/packages/ncurses.rb @@ -6,6 +6,18 @@ class Ncurses < Package version '6.0-2' source_url 'ftp://ftp.gnu.org/pub/gnu/ncurses/ncurses-6.0.tar.gz' source_sha256 'f551c24b30ce8bfb6e96d9f59b42fbea30fa3a6123384172f9e7284bcf647260' + binary_url ({ + aarch64: 'https://github.com/jam7/chrome-cross/releases/download/v1.8/ncurses-5.9-chromeos-armv7l.tar.xz', + armv7l: 'https://github.com/jam7/chrome-cross/releases/download/v1.8/ncurses-5.9-chromeos-armv7l.tar.xz', + i686: 'https://github.com/jam7/chrome-cross/releases/download/v1.8/ncurses-5.9-chromeos-i686.tar.xz', + x86_64: 'https://github.com/jam7/chrome-cross/releases/download/v1.8/ncurses-5.9-chromeos-x86_64.tar.xz', + }) + binary_sha256 ({ + aarch64: '2a8c364a13432cdb2712bdb67e6b960587267763c84f1d4165e85e55a9139435', + armv7l: '2a8c364a13432cdb2712bdb67e6b960587267763c84f1d4165e85e55a9139435', + i686: '8438b6dc8cb51a3fa9fc0f9f4dca3cbcc92c65cecb672c820aee1b1f2a012a04', + x86_64: '197df39f0b78c303f5f9d4c1b85f39628b0df4129ffca5dd727d5dc0a351ce1b', + }) depends_on 'diffutils' => :build depends_on 'ncursesw' diff --git a/packages/ncursesw.rb b/packages/ncursesw.rb index 794c7352053b..a56f44c696bc 100644 --- a/packages/ncursesw.rb +++ b/packages/ncursesw.rb @@ -6,6 +6,18 @@ class Ncursesw < Package version '6.0-2' source_url 'ftp://ftp.gnu.org/pub/gnu/ncurses/ncurses-6.0.tar.gz' source_sha256 'f551c24b30ce8bfb6e96d9f59b42fbea30fa3a6123384172f9e7284bcf647260' + binary_url ({ + aarch64: 'https://github.com/jam7/chrome-cross/releases/download/v1.8/ncursesw-5.9-chromeos-armv7l.tar.xz', + armv7l: 'https://github.com/jam7/chrome-cross/releases/download/v1.8/ncursesw-5.9-chromeos-armv7l.tar.xz', + i686: 'https://github.com/jam7/chrome-cross/releases/download/v1.8/ncursesw-5.9-chromeos-i686.tar.xz', + x86_64: 'https://github.com/jam7/chrome-cross/releases/download/v1.8/ncursesw-5.9-chromeos-x86_64.tar.xz', + }) + binary_sha256 ({ + aarch64: '86f8d8e4899752c511d59c00f63b450f2e3f4949a2169cb7a9620eb3863c8824', + armv7l: '86f8d8e4899752c511d59c00f63b450f2e3f4949a2169cb7a9620eb3863c8824', + i686: 'ac5c1b4f86aa8efa2b86dc3a26396509ee824f6f09c9a6087403f04ea624aa0e', + x86_64: '384f432ba9b7c73ae4c779860a8fd7eca7d45a51092f72959c63fbe43edcad70', + }) depends_on 'diffutils' => :build diff --git a/packages/openssl.rb b/packages/openssl.rb index 797a9b1df5b6..0623b3e3b579 100644 --- a/packages/openssl.rb +++ b/packages/openssl.rb @@ -8,12 +8,16 @@ class Openssl < Package source_url 'https://github.com/openssl/openssl/archive/OpenSSL_1_0_2l.tar.gz' source_sha256 'a3d3a7c03c90ba370405b2d12791598addfcafb1a77ef483c02a317a56c08485' binary_url ({ - aarch64: 'https://github.com/jam7/chromebrew/releases/download/binaries/openssl-1.0.2l-chromeos-armv7l.tar.xz', - armv7l: 'https://github.com/jam7/chromebrew/releases/download/binaries/openssl-1.0.2l-chromeos-armv7l.tar.xz', + aarch64: 'https://github.com/jam7/chrome-cross/releases/download/v1.8/openssl-1.0.2l-chromeos-armv7l.tar.xz', + armv7l: 'https://github.com/jam7/chrome-cross/releases/download/v1.8/openssl-1.0.2l-chromeos-armv7l.tar.xz', + i686: 'https://github.com/jam7/chrome-cross/releases/download/v1.8/openssl-1.0.2l-chromeos-i686.tar.xz', + x86_64: 'https://github.com/jam7/chrome-cross/releases/download/v1.8/openssl-1.0.2l-chromeos-x86_64.tar.xz', }) binary_sha256 ({ - aarch64: '4af16174aa6a9f565a5895fedea89daf0c8fb66b8f26b0c8416f5456aa440ea5', - armv7l: '4af16174aa6a9f565a5895fedea89daf0c8fb66b8f26b0c8416f5456aa440ea5', + aarch64: '205dcce05cad0e27349f3b728b7fbc27a3feba0ebcfc7129b48a741f122a08be', + armv7l: '205dcce05cad0e27349f3b728b7fbc27a3feba0ebcfc7129b48a741f122a08be', + i686: 'a439b4e6a03cbfc58ef3fdf52f7d5a11523db08528ff14fd123866c00e32d956', + x86_64: 'eb3e37f632623a480a57964f1f6ea21d2e48fdac0e2cb67305a805ec24ad4525', }) depends_on 'perl' => :build diff --git a/packages/pkgconfig.rb b/packages/pkgconfig.rb index c06df98434e1..e229ef74cda9 100644 --- a/packages/pkgconfig.rb +++ b/packages/pkgconfig.rb @@ -6,6 +6,18 @@ class Pkgconfig < Package version '0.29.2' source_url 'http://pkgconfig.freedesktop.org/releases/pkg-config-0.29.2.tar.gz' source_sha256 '6fc69c01688c9458a57eb9a1664c9aba372ccda420a02bf4429fe610e7e7d591' + binary_url ({ + aarch64: 'https://github.com/jam7/chrome-cross/releases/download/v1.8/pkgconfig-0.29.2-chromeos-armv7l.tar.xz', + armv7l: 'https://github.com/jam7/chrome-cross/releases/download/v1.8/pkgconfig-0.29.2-chromeos-armv7l.tar.xz', + i686: 'https://github.com/jam7/chrome-cross/releases/download/v1.8/pkgconfig-0.29.2-chromeos-i686.tar.xz', + x86_64: 'https://github.com/jam7/chrome-cross/releases/download/v1.8/pkgconfig-0.29.2-chromeos-x86_64.tar.xz', + }) + binary_sha256 ({ + aarch64: '70bc2e578b92f545e94639def2ee00ffd551add654a8164744024d57d00cd55e', + armv7l: '70bc2e578b92f545e94639def2ee00ffd551add654a8164744024d57d00cd55e', + i686: '791f257273f0597bdcb5cbe0f408b6c5a91c18f666c21056ee72fb39359e74e5', + x86_64: 'a8f28bf9abec237730ceef11f8605c88bc97bcc4a59a9b1aa520c91c4217cea4', + }) # It is not possible to write buildessential here since it causes dependency loop. # depends_on 'buildessential' diff --git a/packages/readline.rb b/packages/readline.rb index 640adabb7659..80d993f71483 100644 --- a/packages/readline.rb +++ b/packages/readline.rb @@ -6,6 +6,18 @@ class Readline < Package version '6.3p8' source_url 'http://ftp.gnu.org/gnu/readline/readline-6.3.tar.gz' source_sha256 '56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43' + binary_url ({ + aarch64: 'https://github.com/jam7/chrome-cross/releases/download/v1.8/readline-6.3p8-chromeos-armv7l.tar.xz', + armv7l: 'https://github.com/jam7/chrome-cross/releases/download/v1.8/readline-6.3p8-chromeos-armv7l.tar.xz', + i686: 'https://github.com/jam7/chrome-cross/releases/download/v1.8/readline-6.3p8-chromeos-i686.tar.xz', + x86_64: 'https://github.com/jam7/chrome-cross/releases/download/v1.8/readline-6.3p8-chromeos-x86_64.tar.xz', + }) + binary_sha256 ({ + aarch64: '4f7b9806c57f7b9f45e2aeebacb8286c2a18efb1b10afeb81701d11a128b8ec3', + armv7l: '4f7b9806c57f7b9f45e2aeebacb8286c2a18efb1b10afeb81701d11a128b8ec3', + i686: '069b049b51a6416d2eec00bd22090d760b77c1b13694ac19d81862a8a597506d', + x86_64: 'bc285b1f55268b7b9277031efe46059be5ce901b9ef9cc91c4905e64868d37f4', + }) depends_on 'buildessential' => :build depends_on 'patch' => :build diff --git a/packages/ruby.rb b/packages/ruby.rb index 48faa6d4c6cb..faacd47ebbce 100644 --- a/packages/ruby.rb +++ b/packages/ruby.rb @@ -6,6 +6,18 @@ class Ruby < Package version '2.4.1' source_url 'https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.1.tar.xz' source_sha256 '4fc8a9992de3e90191de369270ea4b6c1b171b7941743614cc50822ddc1fe654' + binary_url ({ + aarch64: 'https://github.com/jam7/chrome-cross/releases/download/v1.8/ruby-2.4.1-chromeos-armv7l.tar.xz', + armv7l: 'https://github.com/jam7/chrome-cross/releases/download/v1.8/ruby-2.4.1-chromeos-armv7l.tar.xz', + i686: 'https://github.com/jam7/chrome-cross/releases/download/v1.8/ruby-2.4.1-chromeos-i686.tar.xz', + x86_64: 'https://github.com/jam7/chrome-cross/releases/download/v1.8/ruby-2.4.1-chromeos-x86_64.tar.xz', + }) + binary_sha256 ({ + aarch64: '6c0ef23447d4591739dc00fa9b021a4d83291acbc37330e659d257efed474caf', + armv7l: '6c0ef23447d4591739dc00fa9b021a4d83291acbc37330e659d257efed474caf', + i686: '851a40ca3860eadfe21a1b77422f8769497a73fd1f275d370e3874948ddb64bd', + x86_64: 'fb15f0d6b8d02acf525ae5efe59fc7b9bc19908123c47d39559bc6e86fe1d655', + }) depends_on 'readline' depends_on 'ncurses' diff --git a/packages/zlibpkg.rb b/packages/zlibpkg.rb index 9e1604469dd4..061615e3b9c6 100644 --- a/packages/zlibpkg.rb +++ b/packages/zlibpkg.rb @@ -6,6 +6,18 @@ class Zlibpkg < Package version '1.2.11-1' source_url 'http://www.zlib.net/zlib-1.2.11.tar.gz' source_sha256 'c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1' + binary_url ({ + aarch64: 'https://github.com/jam7/chrome-cross/releases/download/v1.8/zlib-1.2.11-chromeos-armv7l.tar.xz', + armv7l: 'https://github.com/jam7/chrome-cross/releases/download/v1.8/zlib-1.2.11-chromeos-armv7l.tar.xz', + i686: 'https://github.com/jam7/chrome-cross/releases/download/v1.8/zlib-1.2.11-chromeos-i686.tar.xz', + x86_64: 'https://github.com/jam7/chrome-cross/releases/download/v1.8/zlib-1.2.11-chromeos-x86_64.tar.xz', + }) + binary_sha256 ({ + aarch64: '6871ea3f8c29969df45191df34d0d3d94f4e535d91a6c668956da9a2f25334f9', + armv7l: '6871ea3f8c29969df45191df34d0d3d94f4e535d91a6c668956da9a2f25334f9', + i686: '5a33575282060a0fcb560c22a33dd2ea26cbfe2f34f194df66fd36a4a83ab9df', + x86_64: 'fe9eadf9987846b637cd0d83bd4c07c53ae976538d533b7b3657c770372bc5d4', + }) def self.build system "./configure", "--libdir=#{CREW_LIB_PREFIX}" From 9aaeba60121ed8dd108c49e0c7b5eceb5c2c9518 Mon Sep 17 00:00:00 2001 From: "Kazushi (Jam) Marukawa" Date: Wed, 26 Jul 2017 21:10:45 +0900 Subject: [PATCH 24/30] Remove curl dependency. Increment version number. Remove unnecessary sudo. --- packages/perl.rb | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/packages/perl.rb b/packages/perl.rb index 1de8bbc67920..231c56b31e2a 100644 --- a/packages/perl.rb +++ b/packages/perl.rb @@ -3,12 +3,11 @@ class Perl < Package description 'Perl 5 is a highly capable, feature-rich programming language with over 29 years of development.' homepage 'https://www.perl.org/' - version '5.24.1-1' + version '5.24.1-2' source_url 'http://www.cpan.org/src/5.0/perl-5.24.1.tar.gz' source_sha256 'e6c185c9b09bdb3f1b13f678999050c639859a7ef39c8cad418448075f5918af' depends_on 'patch' => :build - depends_on 'curl' def self.build # Use system zlib and bzip2 @@ -20,9 +19,9 @@ def self.build def self.install system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" - system "sudo curl -o /usr/local/bin/cpanm https://cpanmin.us" - system "sudo chmod +x /usr/local/bin/cpanm" - system "sudo chown chronos /usr/local/bin/cpanm" + system "curl -o /usr/local/bin/cpanm https://cpanmin.us" + system "chmod +x /usr/local/bin/cpanm" + system "chown chronos /usr/local/bin/cpanm" end def self.check From 1e371e6c5c413348b4b62c912872c4039f512a7c Mon Sep 17 00:00:00 2001 From: "Kazushi (Jam) Marukawa" Date: Wed, 26 Jul 2017 20:04:21 +0900 Subject: [PATCH 25/30] update install.sh to remove symbolic link from /usr/local/var. --- install.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 2e297d1d3bf4..61d3fbd9bbfe 100755 --- a/install.sh +++ b/install.sh @@ -25,9 +25,12 @@ case "$architecture" in exit 1;; esac -#This will allow things to work without sudo +# This will allow things to work without sudo sudo chown -R `id -u`:`id -g` /usr/local +# On chromiumos/cloudready there is unnecessary symbolic link, so remove it. +if [ -L /usr/local/var ]; then sudo rm /usr/local/var; fi + #prepare directories for dir in $CREW_LIB_PATH $CREW_CONFIG_PATH $CREW_CONFIG_PATH/meta $CREW_BREW_DIR $CREW_DEST_DIR $CREW_PACKAGES_PATH; do mkdir -p $dir From 860c5e256410fd84c4f00241470817912aae18b1 Mon Sep 17 00:00:00 2001 From: "Kazushi (Jam) Marukawa" Date: Wed, 26 Jul 2017 21:31:35 +0900 Subject: [PATCH 26/30] Change glib.rb to add zlibpkg dependency. --- packages/glib.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/glib.rb b/packages/glib.rb index a323d70b3f9d..e312f5fcce5b 100644 --- a/packages/glib.rb +++ b/packages/glib.rb @@ -9,6 +9,7 @@ class Glib < Package depends_on 'libffi' depends_on 'gettext' + depends_on 'zlibpkg' def self.build system "./configure" From 93d896c1195b1b01ebe7754caaec9f674feb4a4f Mon Sep 17 00:00:00 2001 From: "Kazushi (Jam) Marukawa" Date: Thu, 27 Jul 2017 18:08:10 +0900 Subject: [PATCH 27/30] Update glib.rb to add python27 dependency --- packages/glib.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/glib.rb b/packages/glib.rb index e312f5fcce5b..836181bdaeb1 100644 --- a/packages/glib.rb +++ b/packages/glib.rb @@ -10,6 +10,7 @@ class Glib < Package depends_on 'libffi' depends_on 'gettext' depends_on 'zlibpkg' + depends_on 'python27' def self.build system "./configure" From ceceb4bdb9b27163b29188921602726fa090f154 Mon Sep 17 00:00:00 2001 From: "Kazushi (Jam) Marukawa" Date: Thu, 27 Jul 2017 21:41:38 +0900 Subject: [PATCH 28/30] Change openssl.rb to add diffutils dependency --- packages/openssl.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/openssl.rb b/packages/openssl.rb index 49251f68d212..dad98a7c01fe 100644 --- a/packages/openssl.rb +++ b/packages/openssl.rb @@ -17,6 +17,7 @@ class Openssl < Package }) depends_on 'perl' => :build + depends_on 'diffutils' => :build depends_on 'zlibpkg' => :build def self.build From 8a3e0079b31a09ddc4a62f7ce1b8f18876f0965e Mon Sep 17 00:00:00 2001 From: "Kazushi (Jam) Marukawa" Date: Fri, 28 Jul 2017 06:53:52 +0900 Subject: [PATCH 29/30] Update openssl for missing dependencies --- packages/openssl.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/openssl.rb b/packages/openssl.rb index dad98a7c01fe..1e411c8a9601 100644 --- a/packages/openssl.rb +++ b/packages/openssl.rb @@ -17,7 +17,8 @@ class Openssl < Package }) depends_on 'perl' => :build - depends_on 'diffutils' => :build + depends_on 'bc' => :build # required for `make test` + depends_on 'diffutils' => :build # required for `make test` depends_on 'zlibpkg' => :build def self.build From 7e1a31927082b7fb3fe5dfccaec373860097bafc Mon Sep 17 00:00:00 2001 From: "Kazushi (Jam) Marukawa" Date: Fri, 28 Jul 2017 06:54:45 +0900 Subject: [PATCH 30/30] Update bc.rb for missing dependency --- packages/bc.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/bc.rb b/packages/bc.rb index 30ed7318e51d..295c402fb62a 100644 --- a/packages/bc.rb +++ b/packages/bc.rb @@ -10,6 +10,7 @@ class Bc < Package depends_on 'readline' depends_on 'flex' => :build depends_on 'ed' => :build + depends_on 'texinfo' => :build def self.build system "./configure", "--with-readline"