[Pkg-libvirt-commits] [libguestfs] 19/37: Added Ruby bindings

Hilko Bengen bengen at moszumanska.debian.org
Sun Dec 22 18:13:38 UTC 2013


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to annotated tag debian/1%1.15.10-1
in repository libguestfs.

commit 16ff014e76a1a10bf2142999a9951968668ee550
Author: Hilko Bengen <bengen at debian.org>
Date:   Fri Nov 18 00:08:54 2011 +0100

    Added Ruby bindings
---
 debian/.gitignore           |  1 +
 debian/control              | 30 ++++++++++++++++++++++++++++++
 debian/guestfs-ruby.install |  1 +
 debian/rules                |  6 ++++--
 4 files changed, 36 insertions(+), 2 deletions(-)

diff --git a/debian/.gitignore b/debian/.gitignore
index 0fdf99f..2eae39d 100644
--- a/debian/.gitignore
+++ b/debian/.gitignore
@@ -13,6 +13,7 @@
 /libguestfs-doc
 /libguestfs-perl
 /erlang-guestfs
+/guestfs-ruby
 /libguestfs-java
 /libguestfs-tools
 /libguestfs0-dbg
diff --git a/debian/control b/debian/control
index d129ca5..c17f914 100644
--- a/debian/control
+++ b/debian/control
@@ -17,6 +17,7 @@ Build-Depends: debhelper (>= 7.0.50~), autotools-dev, aptitude,
   dh-ocaml, ocaml, ocaml-findlib, libpcre-ocaml-dev,
   python (>= 2.6.7-2), python-all-dev (>= 2.6.6-3~), python3-all-dev,
   default-jdk,
+  gem2deb, rake,
   libtest-pod-coverage-perl, libextutils-command-perl, libintl-perl, libtest-pod-perl,
   libstring-shellquote-perl,
   libsys-virt-perl, libwin-hivex-perl,
@@ -25,6 +26,7 @@ Homepage: http://libguestfs.org
 Standards-Version: 3.9.2
 Vcs-Git: git://git.debian.org/git/pkg-libvirt/libguestfs.git
 Vcs-Browser: http://git.debian.org/?p=pkg-libvirt/libguestfs.git
+XS-Ruby-Versions: all
 
 Package: guestfish
 Section: admin
@@ -465,3 +467,31 @@ Description: guest disk image management system - Java bindings
  guest; and to upload and download files and directories.
  .
  This package contains Java bindings to libguestfs.
+
+Package: guestfs-ruby
+Section: ruby
+XB-Ruby-Versions: ${ruby:Versions}
+Architecture: i386 amd64
+Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
+Description: guest disk image management system - Java bindings
+ The libguestfs library allows accessing and modifying guest disk
+ images. It offers the following features, among many others:
+  * making batch configuration changes to guests;
+  * viewing and editing files inside guests;
+  * getting disk used/free statistics;
+  * migrating between virtualization systems;
+  * performing partial backups;
+  * performing partial guest clones;
+  * cloning guests and changing registry/UUID/hostname info.
+ .
+ It uses the Linux kernel and qemu code, and can access any type of guest
+ file system that Linux and qemu can, including but not limited to: ext2/3/4,
+ btrfs, FAT and NTFS, LVM, many different disk partition schemes, qcow, qcow2,
+ vmdk.
+ .
+ The library provides ways to enumerate guest storage (such as partitions, LVs,
+ what file system is in each LV, etc.); to run commands in the context of the
+ guest; and to upload and download files and directories.
+ .
+ This package contains Ruby bindings to libguestfs.
+
diff --git a/debian/guestfs-ruby.install b/debian/guestfs-ruby.install
new file mode 100644
index 0000000..01ec994
--- /dev/null
+++ b/debian/guestfs-ruby.install
@@ -0,0 +1 @@
+usr/lib/ruby
diff --git a/debian/rules b/debian/rules
index 397f97a..5b87255 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,7 +8,6 @@ PYTHON_DEFAULT := $(shell pyversions --default)
 COMMON_CONFIG_FLAGS = \
 	--disable-appliance  \
 	--with-readline	     \
-	--disable-ruby       \
 	--disable-haskell    \
 	--disable-php
 
@@ -32,6 +31,7 @@ override_dh_auto_configure:
 	            --disable-daemon --disable-fuse \
 	            --disable-ocaml --disable-perl \
 		    --disable-erlang --with-java-home=no \
+		    --disable-ruby \
 	            PYTHON=$$p ; \
 	    fi ; \
 	done
@@ -95,4 +95,6 @@ override_dh_install:
 	dh_install
 
 %:
-	dh --without=python-support --with=autotools-dev,ocaml,python2,python3,bash-completion $@
+	dh --without=python-support \
+	   --with=autotools-dev,ocaml,python2,python3,bash-completion,ruby \
+	   $@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list