<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/guix/build/ruby-build-system.scm, branch master</title>
<subtitle>Personal branch of https://git.savannah.gnu.org/cgit/guix.git/ for implementing 'guix deploy'.
</subtitle>
<id>https://www.git.jakob.space/guix.git/atom?h=master</id>
<link rel='self' href='https://www.git.jakob.space/guix.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/'/>
<updated>2019-03-28T18:19:44Z</updated>
<entry>
<title>Revert "build-system/ruby: Use invoke."</title>
<updated>2019-03-28T18:19:44Z</updated>
<author>
<name>Efraim Flashner</name>
<email>efraim@flashner.co.il</email>
</author>
<published>2019-03-28T18:18:02Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=7c86fdda7ceed11377b0e17b47c91598be59be52'/>
<id>urn:sha1:7c86fdda7ceed11377b0e17b47c91598be59be52</id>
<content type='text'>
This reverts commit 0244952c11c0409597fce5c39dfbcafdfd2ea651.

We prefer 'invoke', but the custom error handling works better with the
code as-is.
</content>
</entry>
<entry>
<title>build-system/ruby: Use invoke.</title>
<updated>2019-03-28T17:17:48Z</updated>
<author>
<name>Efraim Flashner</name>
<email>efraim@flashner.co.il</email>
</author>
<published>2019-03-28T17:17:34Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=0244952c11c0409597fce5c39dfbcafdfd2ea651'/>
<id>urn:sha1:0244952c11c0409597fce5c39dfbcafdfd2ea651</id>
<content type='text'>
* guix/build/ruby-build-system.scm (install): Use invoke.
</content>
</entry>
<entry>
<title>guix: ruby-build-system: Fix removal of extension related files.</title>
<updated>2019-02-14T19:30:15Z</updated>
<author>
<name>Christopher Baines</name>
<email>mail@cbaines.net</email>
</author>
<published>2019-02-08T19:50:29Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=0168473c0a74ff1f3429e94fdb308cd20e3ea4e8'/>
<id>urn:sha1:0168473c0a74ff1f3429e94fdb308cd20e3ea4e8</id>
<content type='text'>
This functionality was broken, possibly to do with the vendor related changes
in the ruby build system. These changes restore the file removal functionality
at the end of the install phase.

* guix/build/ruby-build-system.scm (install): Fix removal of files related to
native extensions.
</content>
</entry>
<entry>
<title>guix: ruby-build-system: Do gem install --verbose.</title>
<updated>2019-02-14T19:30:14Z</updated>
<author>
<name>Christopher Baines</name>
<email>mail@cbaines.net</email>
</author>
<published>2019-02-08T10:22:39Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=9be39b4c67c733058c3b709e897a8477605f6d4a'/>
<id>urn:sha1:9be39b4c67c733058c3b709e897a8477605f6d4a</id>
<content type='text'>
This is helpful as it displays more information about what gem install is
doing, especially for packages with native extensions.

* guix/build/ruby-build-system.scm (install): Add --verbose to gem install command.
</content>
</entry>
<entry>
<title>gnu: ruby-build-system: Change extract-gemspec to always return #t.</title>
<updated>2019-02-14T19:30:12Z</updated>
<author>
<name>Christopher Baines</name>
<email>mail@cbaines.net</email>
</author>
<published>2019-02-08T10:20:53Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=ab149c6ba0d19dfd6e15f2324cf9e3d6e2944ac5'/>
<id>urn:sha1:ab149c6ba0d19dfd6e15f2324cf9e3d6e2944ac5</id>
<content type='text'>
* guix/build/ruby-build-system.scm (extract-gemspec): Return #t right at the
end, rather than returning #&lt;unspecified&gt; when not handling a gem archive.
</content>
</entry>
<entry>
<title>ruby-build-system: Make phase "replace-git-ls-files" handle more cases.</title>
<updated>2018-07-24T20:55:38Z</updated>
<author>
<name>Danny Milosavljevic</name>
<email>dannym@scratchpost.org</email>
</author>
<published>2018-07-24T20:46:55Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=8376f10a30c1bb246689ba68984e680ddf0dffa1'/>
<id>urn:sha1:8376f10a30c1bb246689ba68984e680ddf0dffa1</id>
<content type='text'>
* guix/build/ruby-build-system.scm (replace-git-ls-files): Modify.
</content>
</entry>
<entry>
<title>ruby-build-system: Error or return #t from all phases.</title>
<updated>2018-07-15T21:19:39Z</updated>
<author>
<name>Christopher Baines</name>
<email>mail@cbaines.net</email>
</author>
<published>2018-07-14T10:52:14Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=0d354666d35ea54b024f45a6b3d835e8879a5df5'/>
<id>urn:sha1:0d354666d35ea54b024f45a6b3d835e8879a5df5</id>
<content type='text'>
Previously, if the tests didn't pass, the check phase would evaluate to #f,
but the package would be built sucessfully. This changes all the phases to
raise exceptions if errors are encountered, and return #t otherwise.

This involves using invoke rather than system*, so that exceptions are raised
if the program exits with a status other than 0, and also returning #t at the
end of functions.

* gnu/build/ruby-build-system.scm (unpack): Use invoke rather than system*,
and return #t at the end.
(build, check): Use invoke rather than system*.
(install): Remove the use of "and", and rewrite the error handling to raise an
exception.
(wrap): Return #t.
</content>
</entry>
<entry>
<title>build-system/gnu: Add 'bootstrap' phase.</title>
<updated>2018-03-11T21:04:40Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-03-11T20:46:30Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=189be331acfda1c242a9c85fca8d2a0356742f48'/>
<id>urn:sha1:189be331acfda1c242a9c85fca8d2a0356742f48</id>
<content type='text'>
This factorizes what has become a widespread idiom.

* guix/build/gnu-build-system.scm (%bootstrap-scripts): New variable.
(bootstrap): New procedure.
(%standard-phases): Add it after 'unpack'.
* guix/build/ant-build-system.scm (%standard-phases): Delete 'bootstrap.
* guix/build/asdf-build-system.scm (%standard-phases/source)
(%standard-phases): Likewise.
* guix/build/cargo-build-system.scm (%standard-phases): Likewise.
* guix/build/cmake-build-system.scm (%standard-phases): Likewise.
* guix/build/dub-build-system.scm (%standard-phases): Likewise.
* guix/build/emacs-build-system.scm (%standard-phases): Likewise.
* guix/build/font-build-system.scm (%standard-phases): Likewise.
* guix/build/go-build-system.scm (%standard-phases): Likewise.
* guix/build/haskell-build-system.scm (%standard-phases): Likewise.
* guix/build/minify-build-system.scm (%standard-phases): Likewise.
* guix/build/ocaml-build-system.scm (%standard-phases): Likewise.
* guix/build/perl-build-system.scm (%standard-phases): Likewise.
* guix/build/python-build-system.scm (%standard-phases): Likewise.
* guix/build/r-build-system.scm (%standard-phases): Likewise.
* guix/build/ruby-build-system.scm (%standard-phases): Likewise.
* guix/build/scons-build-system.scm (%standard-phases): Likewise.
* guix/build/texlive-build-system.scm (%standard-phases): Likewise.
* guix/build/waf-build-system.scm (%standard-phases): Likewise.
* gnu/packages/audio.scm (faad2)[arguments]: Replace 'bootstrap.
(soundtouch, cuetools, bluez-alsa): Remove 'arguments'.
(cava)[arguments]: Replace 'bootstrap.
* gnu/packages/backup.scm (rdup): Remove 'bootstrap.
* gnu/packages/bioinformatics.scm (seek)[arguments]: Replace
'bootstrap.
* gnu/packages/bioinformatics.scm (htslib-for-sambamba): Remove
'arguments'.
* gnu/packages/ci.scm (hydra, cuirass): Remove 'bootstrap'.
* gnu/packages/crypto.scm (libb2): Remove #:phases.
* gnu/packages/databases.scm (guile-wiredtiger): Likewise.
* gnu/packages/debug.scm (stress-make): Remove 'bootstrap'.
* gnu/packages/documentation.scm (asciidoc): Likewise.
* gnu/packages/fontutils.scm (libuninameslist): Remove 'arguments'.
* gnu/packages/ftp.scm (weex): Remove 'arguments'.
* gnu/packages/game-development.scm (ois): Remove 'arguments'.
* gnu/packages/games.scm (pioneer): Remove 'bootstrap.
* gnu/packages/gnome.scm (vte-ng, byzanz): Replace 'bootstrap.
(arc-theme): Remove 'arguments'.
(faba-icon-theme): Remove 'bootstrap.
(arc-icon-theme): Remove 'arguments'.
* gnu/packages/gnunet.scm (guile-gnunet): Likewise.
* gnu/packages/gtk.scm (guile-rsvg): Likewise.
* gnu/packages/guile.scm (mcron2): Remove 'bootstrap.
(guile-bash): Remove #:phases.
(guile-git): Remove 'bootstrap.
(guile-syntax-highlight): Remove 'arguments'.
(guile-sjson): Likewise.
* gnu/packages/java.scm (classpath-devel): Remove 'bootstrap.
* gnu/packages/kodi.scm (libdvdnav/kodi)
(libdvdread/kodi, libdvdcss/kodi): Likewise.
* gnu/packages/libreoffice.scm (hunspell): Remove 'arguments'.
* gnu/packages/libusb.scm (hidapi): Likewise.
* gnu/packages/linux.scm (bridge-utils): Rename 'bootstrap' to
'patch-stuff'; move it before 'bootstrap', without autoreconf
invocation.
(eudev): Rename 'bootstrap' to 'patch-file-names', without 'autogen.sh'
invocation; move it before 'bootstrap.
(gpm): Replace 'bootstrap'.
(f2fs-tools): Remove 'arguments'.
(rng-tools): Remove #:phases.
* gnu/packages/messaging.scm (hexchat): Rename 'bootstrap' to
'copy-intltool-makefile'; remove "autoreconf" invocation and move before
'bootstrap'.
(libmesode): Remove 'arguments'.
(libstrophe): Likewise.
* gnu/packages/microcom.scm (microcom): Likewise.
* gnu/packages/networking.scm (libnet): Remove 'bootstrap.
* gnu/packages/onc-rpc.scm (libnsl): Remove 'arguments'.
* gnu/packages/package-management.scm (guix): Replace 'bootstrap.
* gnu/packages/sawfish.scm (librep): Remove 'arguments'.
* gnu/packages/version-control.scm (findnewest): Likewise.
* gnu/packages/video.scm (liba52, handbrake, motion): Replace
'bootstrap.
* gnu/packages/web.scm (fcgiwrap): Remove #:phases.
(tidy): Replace 'bootstrap.
(gumbo-parser): Remove #:phases.
* gnu/packages/wget.scm (wget2): Replace 'bootstrap.
* gnu/packages/wm.scm (i3lock-color): Remove #:phases.
* gnu/packages/xdisorg.scm (xclip): Likewise.
* gnu/packages/xml.scm (libxls): Replace 'bootstrap'.
* gnu/packages/xorg.scm (xf86-video-freedreno)
(xf86-video-intel): Remove #:phases.
* gnu/packages/zile.scm (zile-on-guile): Replace 'bootstrap.
</content>
</entry>
<entry>
<title>ruby-build-system: Fix build error.</title>
<updated>2018-01-15T15:56:03Z</updated>
<author>
<name>Danny Milosavljevic</name>
<email>dannym@scratchpost.org</email>
</author>
<published>2018-01-15T15:56:03Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=b640370d8290ace2507c84e61fe99811effaf7da'/>
<id>urn:sha1:b640370d8290ace2507c84e61fe99811effaf7da</id>
<content type='text'>
* gnu/build/ruby-build-system.scm: Import (ice-9 rdelim).

Follow-up to d9df4bf055f2bef8c2c428db34c5fa056bdeba73.
</content>
</entry>
<entry>
<title>ruby-build-system: Add a new wrap phase.</title>
<updated>2018-01-14T22:16:20Z</updated>
<author>
<name>Christopher Baines</name>
<email>mail@cbaines.net</email>
</author>
<published>2017-10-10T06:41:19Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=2c2ec3d04a36914390c7617bb9971fd840b40646'/>
<id>urn:sha1:2c2ec3d04a36914390c7617bb9971fd840b40646</id>
<content type='text'>
Wrap files in bin/ and sbin/ with the location of the gem itself and the
location of any other gems in use (GEM_PATH). This ensures that the bin files
will run with the right environment when executed.

It does however mean that native-inputs will also get wrapped up in any
binaries, which is not good, as it increases the size of the closure, and
risks this code being used at runtime.

* guix/build/ruby-build-system.scm (wrap): New procedure.
  (%standard-phases): Add the wrap phase.
</content>
</entry>
</feed>
