Commit graph

32 commits

Author SHA1 Message Date
Artturin f69a8fabf1 treewide: withIntrospection (host == build) -> (host.emulatorAvailable buildPackages)
cross-os (like linux -> *BSD) doesn't have emulators
2023-03-10 17:05:10 +02:00
Alyssa Ross 52c286ee5b
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	pkgs/development/libraries/pmdk/default.nix
2023-02-23 13:51:34 +00:00
Artturin f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Artturin 6f6cc4a22d treewide: use toString on list NIX_CFLAGS_COMPILE
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper
2023-02-22 21:23:04 +02:00
Alyssa Ross fcda6023e2
libvirt-glib: remove obsolete gobject-introspection build input
Since b2f9cd34e7 ("gobject-introspection: use wrapper.nix for the
native package too so we can propagate the dev output"),
gobject-introspection doesn't need to be included in buildInputs when
it's in nativeBuildInputs, as it's propagated from the setup hook.

Removing the build input fixes evaluation in buildPackages when
cross-compiling to platforms that gobject-introspection is unsupported
on, like ghcjs.

Tested building natively on x86_64-linux, in
pkgsCross.aarch64-multiplatform, and in pkgsCross.ghcjs.buildPackages.
2023-02-04 18:45:25 +00:00
Alyssa Ross 6f024f8dd3 libvirt-glib: fix cross 2023-01-29 10:45:22 +00:00
Vladimír Čunát c35a930454
libvirt-glib: fixup build after glib update
I see only one instance of the warning where *equality* of strings
is tested and char signedness differs.  That one seems perfectly safe.
```
../libvirt-gconfig/libvirt-gconfig-domain-capabilities-os.c: In function 'search_firmwares':
../libvirt-gconfig/libvirt-gconfig-domain-capabilities-os.c:70:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
   70 |     if (!g_str_equal(node->name, "enum"))
/nix/store/fmqcm52w0p5jmzdbjjskwjiwyj9kqic9-glib-2.74.1-dev/include/glib-2.0/glib/ghash.h:165:39: note: in definition of macro 'g_str_equal'
  165 | #define g_str_equal(v1, v2) (strcmp ((v1), (v2)) == 0)
      |                                       ^~
```
2022-11-08 11:07:29 +01:00
Weijia Wang eaeb09002a libvirt-glib: add darwin support 2022-08-03 01:57:01 +02:00
Jan Tojnar 55e4899855 libvirt-glib: fix build with GLib 2.70 2021-10-09 21:35:51 +02:00
Felix Buehler 58a2d4b666 development: /s/name/pname&version/ 2021-07-02 00:03:10 +02:00
Jan Tojnar 99e679eeb9
libvirt-glib: 3.0.0 → 4.0.0 2021-05-05 22:43:00 +02:00
Ben Siraphob 66e44425c6 pkgs/development/libraries: stdenv.lib -> lib 2021-01-21 19:11:02 -08:00
Jonathan Ringer 9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
R. RyanTM 809ec69fd3 libvirt-glib: 2.0.0 -> 3.0.0 2019-12-08 08:33:46 -08:00
Izorkin 066bd13613
libvirt-glib: remove unused packages 2019-08-29 15:16:34 +02:00
Robin Gloster 2cc05be907
treewide: openssl_1_1 pinning is unnecessary 2019-08-23 02:02:50 +02:00
Jan Tojnar a51a99c690
gobject-introspection: rename package
camelCase package name was a huge inconsistency in GNOME package set.
2018-12-02 12:42:29 +01:00
R. RyanTM 174445a239 libvirt-glib: 1.0.0 -> 2.0.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/libvirt-glib/versions
2018-10-14 05:06:46 -07:00
Silvan Mosberger 57bccb3cb8 treewide: http -> https sources (#42676)
* treewide: http -> https sources

This updates the source urls of all top-level packages from http to
https where possible.

* buildtorrent: fix url and tab -> spaces
2018-06-28 20:43:35 +02:00
Jan Tojnar 55c4927fe7
libvirt-glib: add vapi 2018-03-22 07:46:56 +01:00
John Doe 750a7c677b libvirt: remove xen dependency on aarch64 2017-12-11 19:46:05 +02:00
John Ericson ed14223f8c treewide: Manual fix more pkg-config build-inputs 2017-09-21 15:49:54 -04:00
Franz Pletz ddb608814a
libvirt: build with attr and apparmor 2017-03-25 14:58:26 +01:00
Franz Pletz 268e57bcc5
libvirt-glib: 0.2.3 -> 1.0.0 2017-01-22 13:01:03 +01:00
Frederik Rietdijk 5ef97b39dc libvirt-glib: do not use top-level python packages 2016-09-26 11:10:50 +02:00
Kirill Boltaev bccd75094f treewide: explicitly specify gtk and related package versions 2016-09-12 18:26:06 +03:00
Robin Gloster 8260022a1b libvirt-glib: 0.2.0 -> 0.2.3
This also fixes the build with the xen-supporting libvirt and removes
obsolete workarounds.
2015-12-28 21:43:25 +00:00
Domen Kožar 0944d05e2e libvirt-glib: add numa support 2015-12-16 11:07:08 +01:00
Nathaniel Baxter 0be8418275 libvirt: update from 1.2.9 to 1.2.12
libvirt-glib: update from 0.1.9 to 0.2.0
pythonPackages.libvirt: update from 1.2.9 to 1.2.12

Potentially fixes CVE-2014-7823 CVE-2015-0236
2015-02-23 20:09:54 +01:00
Aristid Breitkreuz dbeb5099bb libvirt-glib: update from 0.1.8 to 0.1.9 2014-10-07 22:56:38 +02:00
Jaka Hudoklin 413ebfb246 virt-manager: update to 1.0.1, fix & update dependencies, gtk3 support
- Vte, add gtk3 support, enable introspection, update to 0.35.90
- Spice-gtk, add gtk3 support
- gtk-vnc, add gtk3 support
- Add libvirt-glib (thanks @bjornfor)
- Add usbredir
- qemu, enable usbredir
- spice-gtk, enable usbredir
- virt-manager, update to 1.0.1

[Bjørn:
* Set namePrefix = "" to preserve package name "virt-manager"
  (instead of "python2.7-virt-manager")
* Add dconf to GIO_EXTRA_MODULES to get persistent settings in
  virt-manager. Without it:
  GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
* Add ${gtk3}/share to XDG_DATA_DIRS to unbreak "Take Screenshot"
  feature (fixes "Settings schema 'org.gtk.Settings.FileChooser' is not installed")
* gtk-vnc: don't pull "pkgs" attrset for optionalString, use stdenv.lib.optionalString instead.
]
2014-04-05 18:37:05 +02:00