diff -Nru virt-manager-1.3.2/debian/changelog virt-manager-1.3.2/debian/changelog --- virt-manager-1.3.2/debian/changelog 2016-03-31 21:52:25.000000000 +0000 +++ virt-manager-1.3.2/debian/changelog 2016-05-18 10:11:38.000000000 +0000 @@ -1,3 +1,11 @@ +virt-manager (1:1.3.2-3ubuntu1.16.04.1) xenial; urgency=medium + + * debian/patches/0001-details-Fix-screenshot-on-F24-rawhide-bz-1297988.patch: + Cherry-pick from upstream. Fix screenshot capture with newer + gdk-pixbuf/pygobject. (LP: #1571702) + + -- Iain Lane Wed, 18 May 2016 11:08:46 +0100 + virt-manager (1:1.3.2-3ubuntu1) xenial; urgency=medium * Merge from Debian. Remaining changes: (LP: #1556671) diff -Nru virt-manager-1.3.2/debian/patches/0001-details-Fix-screenshot-on-F24-rawhide-bz-1297988.patch virt-manager-1.3.2/debian/patches/0001-details-Fix-screenshot-on-F24-rawhide-bz-1297988.patch --- virt-manager-1.3.2/debian/patches/0001-details-Fix-screenshot-on-F24-rawhide-bz-1297988.patch 1970-01-01 00:00:00.000000000 +0000 +++ virt-manager-1.3.2/debian/patches/0001-details-Fix-screenshot-on-F24-rawhide-bz-1297988.patch 2016-05-18 09:58:27.000000000 +0000 @@ -0,0 +1,26 @@ +From f454798b337aedb881671f62fe3b25fad703b768 Mon Sep 17 00:00:00 2001 +From: Cole Robinson +Date: Fri, 15 Jan 2016 15:07:58 -0500 +Subject: [PATCH] details: Fix screenshot on F24 rawhide (bz 1297988) + +--- + virtManager/details.py | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/virtManager/details.py b/virtManager/details.py +index 0bd2569..3dbd82f 100644 +--- a/virtManager/details.py ++++ b/virtManager/details.py +@@ -1486,6 +1486,9 @@ class vmmDetails(vmmGObjectUI): + # and future proof it a bit + if type(ret) is tuple and len(ret) >= 2: + ret = ret[1] ++ # F24 rawhide, ret[1] is a named tuple with a 'buffer' element... ++ if hasattr(ret, "buffer"): ++ ret = ret.buffer + + import datetime + now = str(datetime.datetime.now()).split(".")[0].replace(" ", "_") +-- +2.7.4 + diff -Nru virt-manager-1.3.2/debian/patches/series virt-manager-1.3.2/debian/patches/series --- virt-manager-1.3.2/debian/patches/series 2016-03-31 21:36:05.000000000 +0000 +++ virt-manager-1.3.2/debian/patches/series 2016-05-18 09:58:27.000000000 +0000 @@ -10,3 +10,4 @@ virtinst/use_qxl_for_ubuntu.patch prefer-qemu.patch virtinst/dont_disable_vmport.patch +0001-details-Fix-screenshot-on-F24-rawhide-bz-1297988.patch