Package Details: ruby-libvirt 0.8.4-1

Git Clone URL: https://aur.archlinux.org/ruby-libvirt.git (read-only, click to copy)
Package Base: ruby-libvirt
Description: Ruby bindings for libvirt.
Upstream URL: https://gitlab.com/libvirt/libvirt-ruby
Licenses: LGPL-2.1-or-later
Submitter: phects
Maintainer: micwoj92
Last Packager: micwoj92
Votes: 11
Popularity: 0.002182
First Submitted: 2009-11-12 16:44 (UTC)
Last Updated: 2024-08-13 18:01 (UTC)

Latest Comments

kissarch commented on 2021-05-30 14:58 (UTC) (edited on 2021-05-30 17:18 (UTC) by kissarch)

typos: replace -rubygems by --rubygems replace -i "$pkgdir$_gemdir" \ by -i "$pkgdir/$_gemdir" \ conflicts: "rvm" can be replaced by "ruby" (and is/are makedepends) suggestions, before package():

prepare() {
    cd $pkgname-$pkgver
    # patches because error compiling !
    sed -e 's|#include <st.h>|#include <ruby/st.h>|' \
        -i ext/libvirt/common.c
    sed -e 's|#include <st.h>|#include <ruby/st.h>|' \
        -i ext/libvirt/domain.c
    # untested : or there is  a diff : use as a patch ? here:
    #"https://build.opensuse.org/package/view_file/openSUSE:Factory/rubygem-ruby-libvirt/0001-Fix-include-of-st.h-to-ruby-st.h.patch"
    #or -I /usr/include/ruby-3.0.0./ruby
    # Modify the Rakefile ?
        # commented because untested
    # to avoid namcap messages about RELRO, about PIE, etc!
    #sed -e 's|extra=""|extra="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now,-z,pie,-I/usr/include/ruby"|' \
    # or ??
    #sed -e 's|extra=""|extra="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now,-z,pie,-D/usr/include/ruby"|' \
    #   -i Rakefile
}

avoid to use the usual .gem as it is <st.h> and not <ruby/st.h>

lucasl0st commented on 2021-01-14 12:52 (UTC)

ruby-rdoc is missing in dependencies

husam212 commented on 2019-12-04 20:48 (UTC)

@novotny I've added ruby-rake to build dependencies.

novotny commented on 2019-12-04 17:02 (UTC)

Hi

PKGBUILD: line 23: rake: command not found

so rake is missing as (build) dependency

insonifi commented on 2014-02-11 19:52 (UTC)

New package version is available: http://libvirt.org/ruby/download/ruby-libvirt-0.5.2.tgz 1ba7f5a757fb4a7fecfabe53cd44c864bee6607822c9cb99654a915f6de19c48 ruby-libvirt-0.5.2.tgz