Add libvirt-glib v2.0.0

libvirt is a C toolkit to interact with the virtualization capabilities
of recent versions of Linux (and other OSes). It is free software
available under the GNU Lesser General Public License. Virtualization on
the Linux Operating System means the ability to run multiple instances of
Operating Systems concurrently on a single hardware system where the basic
resources are driven by a Linux instance. The library aim at providing
long term stable C API initially for the Xen paravirtualization but
should be able to integrate other virtualization mechanisms if needed.

libvirt-glib wraps libvirt to provide a high-level object-oriented API better
suited for glib-based applications.
This commit is contained in:
Maya Rashish 2019-10-20 10:28:51 +03:00
parent a8ff750707
commit bbc6057559
6 changed files with 303 additions and 0 deletions

11
libvirt-glib/DESCR Normal file
View File

@ -0,0 +1,11 @@
libvirt is a C toolkit to interact with the virtualization capabilities
of recent versions of Linux (and other OSes). It is free software
available under the GNU Lesser General Public License. Virtualization on
the Linux Operating System means the ability to run multiple instances of
Operating Systems concurrently on a single hardware system where the basic
resources are driven by a Linux instance. The library aim at providing
long term stable C API initially for the Xen paravirtualization but
should be able to integrate other virtualization mechanisms if needed.
libvirt-glib wraps libvirt to provide a high-level object-oriented API better
suited for glib-based applications.

31
libvirt-glib/Makefile Normal file
View File

@ -0,0 +1,31 @@
# $NetBSD$
GITHUB_PROJECT= libvirt-glib
DISTNAME= v2.0.0
PKGNAME= ${GITHUB_PROJECT}-${DISTNAME:S/v//}
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_GITHUB:=libvirt/}
DIST_SUBDIR= ${GITHUB_PROJECT}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://libvirt.org/
COMMENT= GLib-friendly libvirt wrapper
LICENSE= gnu-lgpl-v2.1
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
WRKSRC= ${WRKDIR}/libvirt-glib-2.0.0
USE_TOOLS+= autoconf automake pkg-config gmake intltool
PKGCONFIG_OVERRIDE+= libvirt-gconfig-1.0.pc.in
PKGCONFIG_OVERRIDE+= libvirt-glib-1.0.pc.in
PKGCONFIG_OVERRIDE+= libvirt-gobject-1.0.pc.in
CONFIGURE_SCRIPT= autogen.sh
BUILDLINK_DEPMETHOD.vala:= build
.include "../../lang/vala/buildlink3.mk"
.include "../../wip/libvirt/buildlink3.mk"
.include "../../textproc/gtk-doc/buildlink3.mk"
.include "../../devel/gobject-introspection/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

219
libvirt-glib/PLIST Normal file
View File

@ -0,0 +1,219 @@
@comment $NetBSD$
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-capabilities-cpu-feature.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-capabilities-cpu-model.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-capabilities-cpu-topology.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-capabilities-cpu.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-capabilities-guest-arch.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-capabilities-guest-domain.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-capabilities-guest-feature.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-capabilities-guest.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-capabilities-host-secmodel.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-capabilities-host.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-capabilities.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-address-pci.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-address-usb.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-address.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-channel.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-chardev-source-pty.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-chardev-source-spiceport.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-chardev-source-spicevmc.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-chardev-source-unix.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-chardev-source.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-chardev.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-clock.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-console.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-controller-usb.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-controller.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-cpu-feature.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-cpu-model.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-cpu.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-device.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-disk-driver.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-disk.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-filesys.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-graphics-desktop.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-graphics-rdp.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-graphics-sdl.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-graphics-spice.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-graphics-vnc.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-graphics.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-hostdev-pci.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-hostdev.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-input.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-interface-bridge.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-interface-filterref-parameter.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-interface-filterref.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-interface-network.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-interface-user.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-interface.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-memballoon.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-os.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-parallel.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-power-management.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-redirdev.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-seclabel.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-serial.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-smartcard-host-certificates.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-smartcard-host.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-smartcard-passthrough.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-smartcard.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-snapshot-disk.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-snapshot.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-sound.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-timer-hpet.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-timer-pit.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-timer-rtc.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-timer.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain-video.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-domain.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-enum-types.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-helpers.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-interface.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-main.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-network-filter.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-network.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-node-device.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-object.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-secret.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-storage-permissions.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-storage-pool-source.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-storage-pool-target.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-storage-pool.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-storage-vol-backing-store.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-storage-vol-target.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-storage-vol.h
include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig.h
include/libvirt-glib-1.0/libvirt-glib/libvirt-glib-error.h
include/libvirt-glib-1.0/libvirt-glib/libvirt-glib-event.h
include/libvirt-glib-1.0/libvirt-glib/libvirt-glib-main.h
include/libvirt-glib-1.0/libvirt-glib/libvirt-glib.h
include/libvirt-gobject-1.0/libvirt-gobject/libvirt-gobject-connection.h
include/libvirt-gobject-1.0/libvirt-gobject/libvirt-gobject-domain-device.h
include/libvirt-gobject-1.0/libvirt-gobject/libvirt-gobject-domain-disk.h
include/libvirt-gobject-1.0/libvirt-gobject/libvirt-gobject-domain-interface.h
include/libvirt-gobject-1.0/libvirt-gobject/libvirt-gobject-domain-snapshot.h
include/libvirt-gobject-1.0/libvirt-gobject/libvirt-gobject-domain.h
include/libvirt-gobject-1.0/libvirt-gobject/libvirt-gobject-enums.h
include/libvirt-gobject-1.0/libvirt-gobject/libvirt-gobject-interface.h
include/libvirt-gobject-1.0/libvirt-gobject/libvirt-gobject-main.h
include/libvirt-gobject-1.0/libvirt-gobject/libvirt-gobject-manager.h
include/libvirt-gobject-1.0/libvirt-gobject/libvirt-gobject-network-dhcp-lease.h
include/libvirt-gobject-1.0/libvirt-gobject/libvirt-gobject-network-filter.h
include/libvirt-gobject-1.0/libvirt-gobject/libvirt-gobject-network.h
include/libvirt-gobject-1.0/libvirt-gobject/libvirt-gobject-node-device.h
include/libvirt-gobject-1.0/libvirt-gobject/libvirt-gobject-secret.h
include/libvirt-gobject-1.0/libvirt-gobject/libvirt-gobject-storage-pool.h
include/libvirt-gobject-1.0/libvirt-gobject/libvirt-gobject-storage-vol.h
include/libvirt-gobject-1.0/libvirt-gobject/libvirt-gobject-stream.h
include/libvirt-gobject-1.0/libvirt-gobject/libvirt-gobject.h
lib/girepository-1.0/LibvirtGConfig-1.0.typelib
lib/girepository-1.0/LibvirtGLib-1.0.typelib
lib/girepository-1.0/LibvirtGObject-1.0.typelib
lib/libvirt-gconfig-1.0.la
lib/libvirt-glib-1.0.la
lib/libvirt-gobject-1.0.la
lib/pkgconfig/libvirt-gconfig-1.0.pc
lib/pkgconfig/libvirt-glib-1.0.pc
lib/pkgconfig/libvirt-gobject-1.0.pc
share/gir-1.0/LibvirtGConfig-1.0.gir
share/gir-1.0/LibvirtGLib-1.0.gir
share/gir-1.0/LibvirtGObject-1.0.gir
share/locale/af/LC_MESSAGES/libvirt-glib.mo
share/locale/am/LC_MESSAGES/libvirt-glib.mo
share/locale/anp/LC_MESSAGES/libvirt-glib.mo
share/locale/ar/LC_MESSAGES/libvirt-glib.mo
share/locale/as/LC_MESSAGES/libvirt-glib.mo
share/locale/ast/LC_MESSAGES/libvirt-glib.mo
share/locale/bal/LC_MESSAGES/libvirt-glib.mo
share/locale/be/LC_MESSAGES/libvirt-glib.mo
share/locale/bg/LC_MESSAGES/libvirt-glib.mo
share/locale/bn/LC_MESSAGES/libvirt-glib.mo
share/locale/bn_IN/LC_MESSAGES/libvirt-glib.mo
share/locale/bo/LC_MESSAGES/libvirt-glib.mo
share/locale/br/LC_MESSAGES/libvirt-glib.mo
share/locale/brx/LC_MESSAGES/libvirt-glib.mo
share/locale/bs/LC_MESSAGES/libvirt-glib.mo
share/locale/ca/LC_MESSAGES/libvirt-glib.mo
share/locale/cs/LC_MESSAGES/libvirt-glib.mo
share/locale/cy/LC_MESSAGES/libvirt-glib.mo
share/locale/da/LC_MESSAGES/libvirt-glib.mo
share/locale/de/LC_MESSAGES/libvirt-glib.mo
share/locale/de_CH/LC_MESSAGES/libvirt-glib.mo
share/locale/el/LC_MESSAGES/libvirt-glib.mo
share/locale/en_GB/LC_MESSAGES/libvirt-glib.mo
share/locale/eo/LC_MESSAGES/libvirt-glib.mo
share/locale/es/LC_MESSAGES/libvirt-glib.mo
share/locale/et/LC_MESSAGES/libvirt-glib.mo
share/locale/eu/LC_MESSAGES/libvirt-glib.mo
share/locale/fa/LC_MESSAGES/libvirt-glib.mo
share/locale/fi/LC_MESSAGES/libvirt-glib.mo
share/locale/fr/LC_MESSAGES/libvirt-glib.mo
share/locale/gl/LC_MESSAGES/libvirt-glib.mo
share/locale/gu/LC_MESSAGES/libvirt-glib.mo
share/locale/he/LC_MESSAGES/libvirt-glib.mo
share/locale/hi/LC_MESSAGES/libvirt-glib.mo
share/locale/hr/LC_MESSAGES/libvirt-glib.mo
share/locale/hu/LC_MESSAGES/libvirt-glib.mo
share/locale/ia/LC_MESSAGES/libvirt-glib.mo
share/locale/id/LC_MESSAGES/libvirt-glib.mo
share/locale/ilo/LC_MESSAGES/libvirt-glib.mo
share/locale/is/LC_MESSAGES/libvirt-glib.mo
share/locale/it/LC_MESSAGES/libvirt-glib.mo
share/locale/ja/LC_MESSAGES/libvirt-glib.mo
share/locale/ka/LC_MESSAGES/libvirt-glib.mo
share/locale/kk/LC_MESSAGES/libvirt-glib.mo
share/locale/km/LC_MESSAGES/libvirt-glib.mo
share/locale/kn/LC_MESSAGES/libvirt-glib.mo
share/locale/ko/LC_MESSAGES/libvirt-glib.mo
share/locale/kw/LC_MESSAGES/libvirt-glib.mo
share/locale/kw@kkcor/LC_MESSAGES/libvirt-glib.mo
share/locale/kw@uccor/LC_MESSAGES/libvirt-glib.mo
share/locale/kw_GB/LC_MESSAGES/libvirt-glib.mo
share/locale/ky/LC_MESSAGES/libvirt-glib.mo
share/locale/lt/LC_MESSAGES/libvirt-glib.mo
share/locale/lv/LC_MESSAGES/libvirt-glib.mo
share/locale/mai/LC_MESSAGES/libvirt-glib.mo
share/locale/mk/LC_MESSAGES/libvirt-glib.mo
share/locale/ml/LC_MESSAGES/libvirt-glib.mo
share/locale/mn/LC_MESSAGES/libvirt-glib.mo
share/locale/mr/LC_MESSAGES/libvirt-glib.mo
share/locale/ms/LC_MESSAGES/libvirt-glib.mo
share/locale/nb/LC_MESSAGES/libvirt-glib.mo
share/locale/nds/LC_MESSAGES/libvirt-glib.mo
share/locale/ne/LC_MESSAGES/libvirt-glib.mo
share/locale/nl/LC_MESSAGES/libvirt-glib.mo
share/locale/nn/LC_MESSAGES/libvirt-glib.mo
share/locale/nso/LC_MESSAGES/libvirt-glib.mo
share/locale/or/LC_MESSAGES/libvirt-glib.mo
share/locale/pa/LC_MESSAGES/libvirt-glib.mo
share/locale/pl/LC_MESSAGES/libvirt-glib.mo
share/locale/pt/LC_MESSAGES/libvirt-glib.mo
share/locale/pt_BR/LC_MESSAGES/libvirt-glib.mo
share/locale/ro/LC_MESSAGES/libvirt-glib.mo
share/locale/ru/LC_MESSAGES/libvirt-glib.mo
share/locale/si/LC_MESSAGES/libvirt-glib.mo
share/locale/sk/LC_MESSAGES/libvirt-glib.mo
share/locale/sl/LC_MESSAGES/libvirt-glib.mo
share/locale/sq/LC_MESSAGES/libvirt-glib.mo
share/locale/sr/LC_MESSAGES/libvirt-glib.mo
share/locale/sr@latin/LC_MESSAGES/libvirt-glib.mo
share/locale/sv/LC_MESSAGES/libvirt-glib.mo
share/locale/ta/LC_MESSAGES/libvirt-glib.mo
share/locale/te/LC_MESSAGES/libvirt-glib.mo
share/locale/tg/LC_MESSAGES/libvirt-glib.mo
share/locale/th/LC_MESSAGES/libvirt-glib.mo
share/locale/tr/LC_MESSAGES/libvirt-glib.mo
share/locale/tw/LC_MESSAGES/libvirt-glib.mo
share/locale/uk/LC_MESSAGES/libvirt-glib.mo
share/locale/ur/LC_MESSAGES/libvirt-glib.mo
share/locale/vi/LC_MESSAGES/libvirt-glib.mo
share/locale/wba/LC_MESSAGES/libvirt-glib.mo
share/locale/yo/LC_MESSAGES/libvirt-glib.mo
share/locale/zh_CN/LC_MESSAGES/libvirt-glib.mo
share/locale/zh_HK/LC_MESSAGES/libvirt-glib.mo
share/locale/zh_TW/LC_MESSAGES/libvirt-glib.mo
share/locale/zu/LC_MESSAGES/libvirt-glib.mo
share/vala/vapi/libvirt-gconfig-1.0.vapi
share/vala/vapi/libvirt-glib-1.0.vapi
share/vala/vapi/libvirt-gobject-1.0.deps
share/vala/vapi/libvirt-gobject-1.0.vapi

View File

@ -0,0 +1,14 @@
# $NetBSD$
BUILDLINK_TREE+= libvirt-glib
.if !defined(LIBVIRT_GLIB_BUILDLINK3_MK)
LIBVIRT_GLIB_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.libvirt-glib+= libvirt-glib>=2.0.0
BUILDLINK_PKGSRCDIR.libvirt-glib?= ../../wip/libvirt-glib
.include "../../wip/libvirt/buildlink3.mk"
.endif # LIBVIRT_GLIB_BUILDLINK3_MK
BUILDLINK_TREE+= -libvirt-glib

6
libvirt-glib/distinfo Normal file
View File

@ -0,0 +1,6 @@
$NetBSD$
SHA1 (libvirt-glib/v2.0.0.tar.gz) = 90f380ccc5e4cfad5b05a5ac42f71641f9995f0b
RMD160 (libvirt-glib/v2.0.0.tar.gz) = 6a1fdd34a99af91e8479a83b24ccdd592d8ed6a9
SHA512 (libvirt-glib/v2.0.0.tar.gz) = 79191a1d3ebbcff02136986c9ea863ffd771fac0c47ab3d94633674a2aea0ebf9f31a5fac3c3bcdf8ccbf7dbb6304b7f463d9e1a5f89d661b0e458b5ae9fd997
Size (libvirt-glib/v2.0.0.tar.gz) = 245817 bytes

22
libvirt-glib/files/libvirtd.sh Executable file
View File

@ -0,0 +1,22 @@
#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: libvirtd.sh,v 1.2 2012/09/10 17:29:09 gls Exp $
#
# PROVIDE: libvirtd
# # REQUIRE: DAEMON network
# KEYWORD: shutdown
. /etc/rc.subr
name="libvirtd"
rcvar=$name
command="@PREFIX@/sbin/libvirtd"
command_args="-d"
if [ -f /etc/rc.subr ]; then
load_rc_config $name
run_rc_command "$1"
else
echo -n "${name}"
${command} ${command_args}
fi