Title: [261918] trunk/Tools
- Revision
- 261918
- Author
- [email protected]
- Date
- 2020-05-20 08:20:10 -0700 (Wed, 20 May 2020)
Log Message
[FlatPak SDK] Missing ruby gems json and highline
https://bugs.webkit.org/show_bug.cgi?id=212086
Patch by Philippe Normand <[email protected]> on 2020-05-20
Reviewed by Žan Doberšek.
Add the json and highline Ruby gems in the Flatpak SDK.
* buildstream/elements/sdk-platform.bst:
* buildstream/elements/sdk/ruby-highline.bst: Added.
* buildstream/elements/sdk/ruby-json.bst: Added.
* buildstream/project.conf:
Modified Paths
Added Paths
Diff
Modified: trunk/Tools/ChangeLog (261917 => 261918)
--- trunk/Tools/ChangeLog 2020-05-20 14:32:08 UTC (rev 261917)
+++ trunk/Tools/ChangeLog 2020-05-20 15:20:10 UTC (rev 261918)
@@ -1,3 +1,17 @@
+2020-05-20 Philippe Normand <[email protected]>
+
+ [FlatPak SDK] Missing ruby gems json and highline
+ https://bugs.webkit.org/show_bug.cgi?id=212086
+
+ Reviewed by Žan Doberšek.
+
+ Add the json and highline Ruby gems in the Flatpak SDK.
+
+ * buildstream/elements/sdk-platform.bst:
+ * buildstream/elements/sdk/ruby-highline.bst: Added.
+ * buildstream/elements/sdk/ruby-json.bst: Added.
+ * buildstream/project.conf:
+
2020-05-20 Diego Pino Garcia <[email protected]>
Unreviewed, reverting r261909.
Added: trunk/Tools/buildstream/elements/sdk/ruby-highline.bst (0 => 261918)
--- trunk/Tools/buildstream/elements/sdk/ruby-highline.bst (rev 0)
+++ trunk/Tools/buildstream/elements/sdk/ruby-highline.bst 2020-05-20 15:20:10 UTC (rev 261918)
@@ -0,0 +1,25 @@
+kind: manual
+sources:
+- kind: remote
+ url: ruby_gems:highline-2.0.3.gem
+ ref: 2ddd5c127d4692721486f91737307236fe005352d12a4202e26c48614f719479
+- kind: remote
+ url: https://rubygems.org/specs.4.8.gz
+ ref: deb2c5221061354fe8c2de0bf51c7af4bf68ba92f6dbb2606c4d64b9cce5a22b
+build-depends:
+- freedesktop-sdk.bst:components/ruby.bst
+depends:
+- freedesktop-sdk.bst:bootstrap-import.bst
+- freedesktop-sdk.bst:components/ruby.bst
+
+config:
+ install-commands:
+ (>):
+ - |
+ gem install --local --ignore-dependencies --no-user-install --no-document --install-dir "$(ruby -e'puts Gem.default_dir')" --bindir %{install-root}%{prefix}/bin --build-root '%{install-root}' *.gem
+
+public:
+ bst:
+ integration-commands:
+ - |
+ ruby -e "require 'highline'"
Added: trunk/Tools/buildstream/elements/sdk/ruby-json.bst (0 => 261918)
--- trunk/Tools/buildstream/elements/sdk/ruby-json.bst (rev 0)
+++ trunk/Tools/buildstream/elements/sdk/ruby-json.bst 2020-05-20 15:20:10 UTC (rev 261918)
@@ -0,0 +1,22 @@
+kind: manual
+sources:
+- kind: remote
+ url: ruby_gems:json-1.8.5.gem
+ ref: 70f7e21bc66da1dbf925968f9d88be811bcc5ace0bc614c7e838241a0b8c9fb7
+build-depends:
+- freedesktop-sdk.bst:components/ruby.bst
+depends:
+- freedesktop-sdk.bst:bootstrap-import.bst
+- freedesktop-sdk.bst:components/ruby.bst
+
+config:
+ install-commands:
+ (>):
+ - |
+ gem install --local --ignore-dependencies --no-user-install --no-document --install-dir "$(ruby -e'puts Gem.default_dir')" --bindir %{install-root}%{prefix}/bin --build-root '%{install-root}' *.gem
+
+public:
+ bst:
+ integration-commands:
+ - |
+ ruby -e "require 'json'"
Modified: trunk/Tools/buildstream/elements/sdk-platform.bst (261917 => 261918)
--- trunk/Tools/buildstream/elements/sdk-platform.bst 2020-05-20 14:32:08 UTC (rev 261917)
+++ trunk/Tools/buildstream/elements/sdk-platform.bst 2020-05-20 15:20:10 UTC (rev 261918)
@@ -53,6 +53,8 @@
- sdk/python2-six.bst
- sdk/python2-subprocess32.bst
- sdk/python2.bst
+- sdk/ruby-json.bst
+- sdk/ruby-highline.bst
- sdk/shared-mime-info.bst
- sdk/subversion.bst
- sdk/v4lutils.bst
Modified: trunk/Tools/buildstream/project.conf (261917 => 261918)
--- trunk/Tools/buildstream/project.conf 2020-05-20 14:32:08 UTC (rev 261917)
+++ trunk/Tools/buildstream/project.conf 2020-05-20 15:20:10 UTC (rev 261918)
@@ -47,6 +47,7 @@
raw_githubusercontent_com: https://raw.githubusercontent.com/
gnome_downloads: https://download.gnome.org/sources/
gst_downloads: https://gstreamer.freedesktop.org/src/
+ ruby_gems: https://rubygems.org/downloads/
# Some overrides to the default sandbox execution environment
#
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes