Gtk does it for us already with GtkGlArea.
Signed-off-by: Marc-André Lureau <marcandre.lur...@gmail.com>
---
src/spice-widget-egl.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/spice-widget-egl.c b/src/spice-widget-egl.c
index fff2831..210b834 100644
--- a/src
)' failed
Signed-off-by: Marc-André Lureau <marcandre.lur...@gmail.com>
---
src/spice-channel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/spice-channel.c b/src/spice-channel.c
index 35a2cae..c555f75 100644
--- a/src/spice-channel.c
+++ b/src/spice-channel.c
@@ -
They are no longer needed since 0a9ec4ec0.
Signed-off-by: Marc-André Lureau <marcandre.lur...@gmail.com>
---
src/channel-usbredir.c | 10 +-
src/spice-channel-priv.h | 2 +-
src/spice-channel.c | 28 ++--
src/spice-util-priv.h| 6 --
4
This function was wrongly marked as deprecated in commit b41220b1441b8.
Signed-off-by: Marc-André Lureau <marcandre.lur...@gmail.com>
---
server/spice-migration.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/spice-migration.h b/server/spice-migration.h
index 9
Then we can probably close https://bugs.freedesktop.org/show_bug.cgi?id=90872
as wontfix.
- Original Message -
> Only spicec was using it - removed by spice server commit:
> 1876971442ef808b5dcdaa5dc12df617f2179cb5
> ---
> common/Makefile.am |2 -
> common/canvas_base.c | 37 -
>
UC_DEPRECATED;
>>
>> int spice_server_is_server_mouse(SpiceServer *s);
>>
>> @@ -123,6 +125,6 @@ void spice_server_set_uuid(SpiceServer *s, const uint8_t
>> uuid[16]);
>> void spice_server_vm_start(SpiceServer *s);
>> void spice_server_vm_stop(SpiceServer *s);
>>
>> -int spice_server_get_num_clients(SpiceServer *s);
>> +int spice_server_get_num_clients(SpiceServer *s) G_GNUC_DEPRECATED;
>>
>> #endif /* SPICE_SERVER_H_ */
> ___
> Spice-devel mailing list
> Spice-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
--
Marc-André Lureau
___
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/spice-devel
Hi,
This is a resent of a previous series, see description in the first
patch. Thanks!
Marc-André Lureau (3):
gtk: add spice_main_request_mouse_mode()
main: do not always request client mouse mode
spicy: add toggle mouse mode menu
doc/reference/spice-gtk-sections.txt | 1 +
src/channel
From: Marc-André Lureau <marcandre.lur...@redhat.com>
This is just for testing, the UI could be different in better clients.
Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com>
---
src/spicy.c | 22 ++
1 file changed, 22 insertions(+)
diff --git a/s
From: Marc-André Lureau <marcandre.lur...@redhat.com>
Whenever the mouse mode changed on the server, spice-gtk was requesting
client mode. Instead keep the last requested mode and request it
whenever it's possible.
Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com&
From: Marc-André Lureau <marcandre.lur...@redhat.com>
Send a SpiceMsgcMainMouseModeRequest message to request a mouse mode.
This allows to switch between client/absolute and server/relative mouse
modes.
This is necessary for some applications that require pointer
re-positioning, which we
on server mode.
This is not directly related to this series. Furthermore, spice-gtk is
a testing UI. I don't think we need to change this behaviour.
> Can you rebase and send the patches again?
I will.
thanks
--
Marc-André Lureau
___
Spice-devel mailin
ck
mouse, also vmmouse is redundant with the tablet we use), so I will
send a patch to qemu to disable it by default when spice is used and
error when enabled.
--
Marc-André Lureau
___
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/spice-devel
Hi
- Original Message -
> Hi Marc-André,
>
> On Tue, 2016-05-03 at 20:15 +0200, Marc-André Lureau wrote:
> > Hi
> >
> > On Tue, May 3, 2016 at 3:41 PM, Pavel Grunt <pgr...@redhat.com> wrote:
> > > This patches introduces and uses a spic
de,
> missmatch between client's and guest's keyboard layout.
Is this a guest configuration issue? How are you going to expose this
property to the user? It would look bad to add some weird tweaks like
that to the UI.
--
Marc-André Lureau
___
Spice-devel
On Tue, May 3, 2016 at 7:36 PM, Marc-André Lureau
<marcandre.lur...@gmail.com> wrote:
> +gtk_container_add(GTK_CONTAINER(display), d->stack);
better with GTK_WIDGET() to avoid the warning, fixed
--
Marc-André Lureau
___
Spice-devel
things worse.
Making the widget an eventbox solves the grab issue.
Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=94764
Signed-off-by: Marc-André Lureau <marcandre.lur...@gmail.com>
---
src/spice-widget-priv.h | 5 +++--
src/spice-widget.c | 24 +---
2 files c
Hi
- Original Message -
> >> 1) We should have specified --fallback in AC_INIT line
> >
> > Why "should we"? even autoconf.git (the source of the script) isn't using
> > it.
> >
> > http://git.savannah.gnu.org/cgit/autoconf.git/tree/configure.ac
> >
>
> Well, the fact that they are
ack
- Original Message -
> spice-gtk does not use python, the spice-common submodule needs it, but
> it has its own python check through the use of AM_PATH_PYTHON
> ---
> configure.ac | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index
ack
- Original Message -
> They are no longer needed since 0917002c which dropped pygtk2 support
> ---
> m4/check_python.m4| 46
> src/Makefile.am | 2 -
> src/spice-client-gtk-module.c | 45 ---
> src/spice-client-gtk.override | 171
>
On Mon, May 2, 2016 at 2:33 PM, Eduardo Lima (Etrunko)
<etru...@redhat.com> wrote:
> See previous thread "How to modify spice version"
replied there, --fallback is the wrong the solution to me.
--
Marc-André Lureau
___
Spice-devel
implement some fallback method in git-version-gen.
Yes, tags must be present.
>
>
> So, as far as I understand, there are two issues.
>
> 1) We should have specified --fallback in AC_INIT line
Why "should we"? even autoconf.git (the source of the script) isn't using it.
http://git.savannah.gnu.org/cgit/autoconf.git/tree/configure.ac
--
Marc-André Lureau
___
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/spice-devel
Hi Gerd
On Fri, Feb 19, 2016 at 1:32 PM, Marc-André Lureau
<marcandre.lur...@gmail.com> wrote:
> Hi
>
> On Fri, Feb 19, 2016 at 10:14 AM, Gerd Hoffmann <kra...@redhat.com> wrote:
>> Signed-off-by: Gerd Hoffmann <kra...@redhat.com>
>> ---
>> i
Hi
- Original Message -
> Compressed message type is CompressedData which contains compression
> type (1 byte) followed by the uncompressed data size (4 bytes) followed
> by the compressed data size (4 bytes) followed by the compressed data
>
> If SPICE_SPICEVMC_CAP_DATA_COMPRESS_LZ4
Hi
- Original Message -
> 2.38 is the version that we are using in spice-gtk since:
> 8693e7d3f7de1ff102082212fa6e35fb1a252ef7
>
> This is also removing glib-compat header as it isn't used anymore.
What does spice-gtk has to do with vdagent here?
It may still be worth to keep
top/toolkits these days. However, egl may not be
available on some systems (?).
> Pavel
>
> On Thu, 2016-04-07 at 09:16 -0400, Marc-André Lureau wrote:
> > Hi
> >
> > - Original Message -
> > >
> > > Fix memory leaks of cursor:
> >
Hi
- Original Message -
> Fix memory leaks of cursor:
>
> 240 bytes in 1 blocks are possibly lost in loss record 10,786 of 12,521
>at 0x4C2FA60: calloc (vg_replace_malloc.c:711)
>by 0x3700F861: ralloc_size (ralloc.c:113)
>by 0x36FD2D68: UnknownInlinedFun (list.h:83)
>by
ack
- Original Message -
> The label can be used only with GDK_WINDOWING_WAYLAND
>
> Silence -Wunused-label
> ---
> src/spice-widget-egl.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/src/spice-widget-egl.c b/src/spice-widget-egl.c
> index 51bb5c5..c54d9f6 100644
> ---
ack
- Original Message -
> Dropped in 70a00b8fcc2ca85d3601f6ac4895f906f9032e77
> ---
> doc/reference/spice-gtk-sections.txt | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/doc/reference/spice-gtk-sections.txt
> b/doc/reference/spice-gtk-sections.txt
> index a108386..8947893
Hi
- Original Message -
> Hi,
>
> On Tue, Mar 29, 2016 at 09:55:53AM -0400, Marc-André Lureau wrote:
> > ack (that makes me wonder if we should have a global EGLDisplay instead of
> > each widget).
>
> Single EGLDisplay would work with multi-monitor?
It do
ack (that makes me wonder if we should have a global EGLDisplay instead of each
widget).
- Original Message -
> eglTerminate should be called on unrealize. This not yet fix all the
> leaks but reduces it significantly from 318kb to 74kb as definitely lost
> and around 1mb to 8kb as
> * state here. If 'resize-guest' is false, we can assume that the
> --
> 2.7.4
>
> ___
> Spice-devel mailing list
> Spice-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
--
Marc-André Lureau
___
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/spice-devel
Once the egl/GL context are initialized, check if there is a scanout to
associate to display widget. This solves races when scanout update is
happening before the egl/GL context is ready.
Signed-off-by: Marc-André Lureau <marcandre.lur...@gmail.com>
---
src/spice-widget-egl.c | 6 ++
If egl display is enabled, use GL scanout geometry to check intersection
with the monitor area. This solves displaying GL display without
software canvas (currently d->area is empty and gl drawing fails)
Signed-off-by: Marc-André Lureau <marcandre.lur...@gmail.com>
Acked-by: Pavel G
The following changes will call these functions from spice-widget-egl.c
Signed-off-by: Marc-André Lureau <marcandre.lur...@gmail.com>
Acked-by: Pavel Grunt <pgr...@redhat.com>
---
src/spice-widget-priv.h | 3 +++
src/spice-widget.c | 17 +++--
2 files changed, 1
If there is no valid scanout, return NULL.
Signed-off-by: Marc-André Lureau <marcandre.lur...@gmail.com>
Acked-by: Pavel Grunt <pgr...@redhat.com>
---
src/channel-display.c | 4 ++--
src/spice-widget.c| 1 +
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/chann
unchanged. This fixes monitor
autoconfig with virgl (when the display is regularly updated).
It also solves/avoids problems with a guest running on wayland when the
"resize-guest" property is TRUE.
Fixes:
https://bugzilla.redhat.com/show_bug.cgi?id=1266484
Signed-off-by: Marc-An
The GLArea is realized lazily, when it is made visible in
set_egl_enabled(). The egl context is initialized once the GLArea is
realized. Enable egl before updating the scanout.
Signed-off-by: Marc-André Lureau <marcandre.lur...@gmail.com>
Acked-by: Pavel Grunt <pgr...@redhat.com>
--
Add a new GL status field to check if the GL context is ready. This
helps debugging races where GL is called before the context is ready.
Signed-off-by: Marc-André Lureau <marcandre.lur...@gmail.com>
Acked-by: Pavel Grunt <pgr...@redhat.com>
---
src/spice-widget-egl.c | 10 -
patch to enable egl before updating scanout
- fix wayland display
Marc-André Lureau (9):
widget: remove superflous WIN32 check
egl: check context is ready
widget: enable egl before updating scanout
display: return NULL in spice_display_get_gl_scanout()
widget: make gl-scanout and update-m
The egl call is already inside a X11 conditional block.
Signed-off-by: Marc-André Lureau <marcandre.lur...@gmail.com>
Acked-by: Pavel Grunt <pgr...@redhat.com>
---
src/spice-widget.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/spice-widget.c b/src/spice-widget.c
i
t to investigate it further before we
apply this fix? I'd apply now, as it fixes 2 existing problems ;)
thanks
--
Marc-André Lureau
___
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/spice-devel
On Thu, Mar 24, 2016 at 12:39 AM, Marc-André Lureau <mlur...@redhat.com> wrote:
>> When / how it can happen ? Looking at gl_scanout() there is g_return if
>> scanout == NULL, if NULL is a valid/expected return value then that
>> g_return should be changed.
>
>
Hi
- Original Message -
> Hi Marc-André,
>
> On Tue, 2016-03-22 at 13:57 +0100, Marc-André Lureau wrote:
> > If there is no valid scanout, return NULL.
>
> When / how it can happen ? Looking at gl_scanout() there is g_return if
> scanout == NULL, if NULL is a val
Hi
- Original Message -
> Hi,
>
> On Tue, 2016-03-22 at 13:57 +0100, Marc-André Lureau wrote:
> > Once the egl/GL context are initialized, check if there is a scanout
> > to
> > associate to display widget. This solves races when scanout update is
> > ha
Hi
- Original Message -
> Hi,
>
> as we discussed, I prefer this patch to go in after 9/8 to avoid some
> incorrect resizes
Ok
>
> On Tue, 2016-03-22 at 13:57 +0100, Marc-André Lureau wrote:
> > If egl display is enabled, use GL scanout geometry t
unchanged. This fixes monitor
autoconfig with virgl (when the display is regularly updated).
Signed-off-by: Marc-André Lureau <marcandre.lur...@gmail.com>
---
src/channel-main.c | 29 ++---
1 file changed, 18 insertions(+), 11 deletions(-)
diff --git a/src/channel-ma
ack
- Original Message -
> It is a leftover - see "Remove GnomeRR code"
> commit 30986505ba6041c293c38cb4b7f4b618a59f4716
> ---
> src/spicy.c | 18 --
> 1 file changed, 18 deletions(-)
>
> diff --git a/src/spicy.c b/src/spicy.c
> index 6ca014b..ca9db84 100644
> ---
Since spice-gtk 57df040cc, the SpiceDisplay no longer forces its own
window. Get allocation instead of window size. This fixes a "top
border" issue in spicy with gtk+ >= 3.19.8.
Signed-off-by: Marc-André Lureau <marcandre.lur...@gmail.com>
---
src/Makefile.am | 1
a function applying offset if necessary.
This solves drawing glitches and perceived slowness with spice-gtk git
and gtk+ >= 3.19.8.
Signed-off-by: Marc-André Lureau <marcandre.lur...@gmail.com>
Acked-by: Pavel Grunt <pgr...@redhat.com>
---
src/spice-widget.c | 31 +
Hi
- Original Message -
> Hi,
>
> This fixes the "top border" in spicy.
>
> considering how the allocation is used I would prefer some helper
> function to get the width and height.
>
I will replace it with gtk_widget_get_allocated_{width,height} (don't know how
I missed it)
ack
- Original Message -
> Seems that GTask heuristic only makes sense in a non-coroutine case.
> After opening a bug[0] on spice-gtk and a few discussions in the mailing
> list, seems that is completely fine for coroutine code to deal with the
> idle explicitly.
>
> Signed-off-by:
Hi
- Original Message -
> Seems that our coroutines can mess up with GTask's return, ending up
> in an early return from g_task_return_now() instead of doing a return
> in idle.
> As I still don't know if the bug is on spice-gtk or on GTask itself,
> I've opened a bug[0] in spice-gtk's
Hi
- Original Message -
> Seems that our coroutines can mess up with GTask's return, ending up
> in an early return from g_task_return_now() instead of doing a return
> in idle.
> As I still don't know if the bug is on spice-gtk or on GTask itself,
> I've opened a bug[0] in spice-gtk's
a function applying offset if necessary.
This solves drawing glitches with spice-gtk git and gtk+ >= 3.19.8.
Signed-off-by: Marc-André Lureau <marcandre.lur...@gmail.com>
---
src/spice-widget.c | 30 ++
1 file changed, 22 insertions(+), 8 deletions(-)
diff
gt; #include
>
> #include
> -#if GTK_CHECK_VERSION(3,16,0)
> +#ifdef GDK_WINDOWING_WAYLAND
> #include
> #endif
>
> --
> 2.1.4
>
> ___
> Spice-devel mailing list
> Spice-devel@lists.freedesk
Hi
- Original Message -
> Hi,
>
> > diff --git a/src/spice-widget-egl.c b/src/spice-widget-egl.c
> > index 1b3cd07..a9bea52 100644
> > --- a/src/spice-widget-egl.c
> > +++ b/src/spice-widget-egl.c
> > @@ -29,7 +29,9 @@
> > #include
> >
> > #include
> > +#if
Once the egl/GL context are initialized, check if there is a scanout to
associate to display widget. This solves races when scanout update is
happening before the egl/GL context is ready.
Signed-off-by: Marc-André Lureau <marcandre.lur...@gmail.com>
---
src/spice-widget-egl.c | 5 +
The following changes will call these functions from spice-widget-egl.c
Signed-off-by: Marc-André Lureau <marcandre.lur...@gmail.com>
---
src/spice-widget-priv.h | 3 +++
src/spice-widget.c | 17 +++--
2 files changed, 14 insertions(+), 6 deletions(-)
diff --git a/src
If there is no valid scanout, return NULL.
Signed-off-by: Marc-André Lureau <marcandre.lur...@gmail.com>
---
src/channel-display.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/channel-display.c b/src/channel-display.c
index 2c54df7..90d155e 100644
--- a/src/c
If egl display is enabled, use GL scanout geometry to check intersection
with the monitor area. This solves displaying GL display without
software canvas.
Signed-off-by: Marc-André Lureau <marcandre.lur...@gmail.com>
---
src/spice-widget.c | 41 -
The egl call is already inside a X11 conditional block.
Signed-off-by: Marc-André Lureau <marcandre.lur...@gmail.com>
---
src/spice-widget.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/spice-widget.c b/src/spice-widget.c
index e329809..c8bb72c 100644
--- a/src/spice-widget.c
d->ready is updated based on monitor area & canvas. In case of GL
rendering, update it based on monitor area & scanout and add check
before drawing update.
Signed-off-by: Marc-André Lureau <marcandre.lur...@gmail.com>
---
src/spice-widget-egl.c | 6 ++
src/spice-widget.c
The following series fixes GL-only display (when there is no 2d
primary canvas at all). A few cleanups also fix Wayland display.
v1->v2:
- fix mingw build
- add a patch to enable egl before updating scanout
- fix wayland display
Marc-André Lureau (8):
widget: remove superflous WIN32 ch
The GLArea is realized lazily, when it is made visible in
set_egl_enabled(). The egl context is initialized once the GLArea is
realized. Enable egl before updating the scanout.
Signed-off-by: Marc-André Lureau <marcandre.lur...@gmail.com>
---
src/spice-widget.c | 6 +++---
1 file chan
Add a new GL status field to check if the GL context is ready. This
helps debugging races where GL is called before the context is ready.
Signed-off-by: Marc-André Lureau <marcandre.lur...@gmail.com>
---
src/spice-widget-egl.c | 10 --
src/spice-widget-priv.h | 1 +
src/spice-wi
If egl display is enabled, use GL scanout geometry to check intersection
with the monitor area. This solves displaying GL display without
software canvas.
Signed-off-by: Marc-André Lureau <marcandre.lur...@gmail.com>
---
src/spice-widget.c | 35 ++-
1 file c
The egl call is already inside a X11 conditional block.
Signed-off-by: Marc-André Lureau <marcandre.lur...@gmail.com>
---
src/spice-widget.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/spice-widget.c b/src/spice-widget.c
index e329809..c8bb72c 100644
--- a/src/spice-widget.c
We want the cursor to be initialized even if there is no canvas,
especially when using a GL scanout. This solves some client warnings
when using qemu with GL scanout-only (patches under review on qemu ML).
Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com>
---
server/d
Once the egl/GL context are initialized, check if there is a scanout to
associate to display widget. This solves races when scanout update is
happening before the egl/GL context is ready.
Signed-off-by: Marc-André Lureau <marcandre.lur...@gmail.com>
---
src/spice-widget-egl.c | 5 +
If there is no valid scanout, return NULL.
Signed-off-by: Marc-André Lureau <marcandre.lur...@gmail.com>
---
src/channel-display.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/channel-display.c b/src/channel-display.c
index 2c54df7..90d155e 100644
--- a/src/c
The following changes will call these functions from spice-widget-egl.c
Signed-off-by: Marc-André Lureau <marcandre.lur...@gmail.com>
---
src/spice-widget-priv.h | 3 +++
src/spice-widget.c | 17 +++--
2 files changed, 14 insertions(+), 6 deletions(-)
diff --git a/src
d->ready is updated based on monitor area & canvas. In case of GL
rendering, update it based on monitor area & scanout and add check
before drawing update.
Signed-off-by: Marc-André Lureau <marcandre.lur...@gmail.com>
---
src/spice-widget-egl.c | 4 +++-
src/spice-widget.c
Add a new GL status field to check if the GL context is ready. This
helps debugging races where GL is called before the context is ready.
Signed-off-by: Marc-André Lureau <marcandre.lur...@gmail.com>
---
src/spice-widget-egl.c | 7 ++-
src/spice-widget-priv.h | 1 +
src/spice-wi
- Original Message -
> On Mon, Mar 21, 2016 at 3:04 PM, Marc-André Lureau <mlur...@redhat.com>
> wrote:
> > Hi
> >
> > - Original Message -
> >> epoxy/egl.h header is not provided by mingw-epoxy package.
> >> Let's avoid egl usage
Hi
On Mon, Mar 21, 2016 at 11:24 AM, Gerd Hoffmann <kra...@redhat.com> wrote:
> On Fr, 2016-03-18 at 14:45 +0100, Marc-André Lureau wrote:
>> Hi
>>
>> On Fri, Mar 18, 2016 at 2:17 PM, Gerd Hoffmann <kra...@redhat.com> wrote:
>> > Ping Marc? Any comment
Hi
- Original Message -
> epoxy/egl.h header is not provided by mingw-epoxy package.
> Let's avoid egl usage when building using mingw then.
>
> Signed-off-by: Fabiano Fidêncio
> ---
> configure.ac| 1 -
> src/Makefile.am | 2 ++
>
Hi
On Fri, Mar 18, 2016 at 2:17 PM, Gerd Hoffmann <kra...@redhat.com> wrote:
> Ping Marc? Any comment on this?
Could you send a rebased series, for the patches that lead to the
issue? I assume "render DisplaySurface via opengl" patch?
--
Hi
- Original Message -
> > gtkglarea and found out that it just worked. And since recent gtk+ is
> > required for wayland, depending on gtkglarea sounds like the best move
> > forward anyway. But anyone, feel free to fix gl support on wayland
> > with gtk 3.10.
>
> 3.10 + wayland isn't
Tests should be allowed to include directly private headers. Set
__SPICE_CLIENT_H_INSIDE__ where necessary or include spice-client.h
where possible.
Signed-off-by: Marc-André Lureau <marcandre.lur...@gmail.com>
---
tests/session.c | 4 +---
tests/util.c| 1 +
2 files changed, 2 inse
Hi
- Original Message -
> > If need be, we could lower gtk3 requirement to 3.10 (droping wayland
> > support in this case). Afaik, 3.16 is going to make it in rhel7 as
> > part of regular desktop rebase.
>
> I think we should continue to support older 3.x versions for a while.
I just
libepoxy doesn't need to figure in spice-gtk pkg-config requires, it's a
private dependency.
Signed-off-by: Marc-André Lureau <marcandre.lur...@gmail.com>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 6983b6b..0
In order to build spice-gtk on current rhel7.
(in general, spice-gtk is a GNOME desktop library and should thus be
allowed to follow the GNOME schedule and require recent gtk+, but for
various reasons, it helps to keep building on rhel7 too when possible)
Marc-André Lureau (2):
build-sys
Make GtkGlArea optional allows to lower gtk+ requirement to
3.10 (required for GtkStack). However, gl display is unsupported on
wayland with gtk+ < 3.16.
Signed-off-by: Marc-André Lureau <marcandre.lur...@gmail.com>
---
configure.ac | 4 ++--
src/spice-widget-egl.c | 2 ++
Hi
- Original Message -
> On Fr, 2016-03-11 at 21:50 +0100, Marc-André Lureau wrote:
> > 3.16 is the minimal version for GtkGLArea widget, used in following
> > patches.
>
> > - 3.0) GTK_REQUIRED=2.91.3
> > + 3.0) GTK_REQUIRED=3.16
>
> That puts th
| 34 +++---
> src/usb-device-manager.c | 64 +--
> src/usb-device-widget.c| 7 +-
> src/usbutil.c | 4 +-
> src/vmcstream.c| 14 +--
> src/vncdisplaykeymap.c | 46
On Mon, Mar 14, 2016 at 9:22 AM, Fabiano Fidêncio <fiden...@redhat.com> wrote:
> On Fri, Mar 11, 2016 at 9:50 PM, Marc-André Lureau
> <marcandre.lur...@gmail.com> wrote:
>> GtkGLArea is the proper modern way to have opengl in an gtk+
>> application. Unfortunatel
n imagine other display widgets to show text etc..
--
Marc-André Lureau
___
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/spice-devel
Breaking ABI is a good time to remove deprecated code.
Signed-off-by: Marc-André Lureau <marcandre.lur...@gmail.com>
---
src/spice-widget.c | 71 --
src/spice-widget.h | 7 --
2 files changed, 78 deletions(-)
diff --git a/src
3.16 is the minimal version for GtkGLArea widget, used in following
patches.
Drop conditionnal epoxy, as it is now also required by gtk+.
Signed-off-by: Marc-André Lureau <marcandre.lur...@gmail.com>
---
configure.ac| 29 ++---
src/Makefile.am
Not so many systems require gtk+ 2.0 these days, let's move on.
This drops the old python bindings (non-gir based), and the
unsteady/experimental gtk2-only XShm support.
Signed-off-by: Marc-André Lureau <marcandre.lur...@gmail.com>
---
Makefile.am| 2 +-
config
, such as the wayland one. This brings
wayland support for local gl to spice-gtk.
Signed-off-by: Marc-André Lureau <marcandre.lur...@gmail.com>
---
src/spice-widget-egl.c | 9 ++
src/spice-widget-priv.h | 1 +
src/spice-widget.c | 79 --
Do not leak internals of SpiceUsbDeviceWidget in public headers. This makes also
the class final, which let us extend more easily without fear of breaking ABI.
Signed-off-by: Marc-André Lureau <marcandre.lur...@gmail.com>
---
src/usb-device-widget.c | 16
src/usb-device-wi
Do not leak internals of SpiceGrabSequence in public headers. This makes also
the class final, which let us extend more easily without fear of breaking ABI.
Signed-off-by: Marc-André Lureau <marcandre.lur...@gmail.com>
---
src/Makefile.am | 1 +
src/spice-grabsequence-priv.
Do not leak internals of SpiceGtkSession in our headers. This makes also
the class final, which let us extend more easily without fear of
breaking ABI.
Signed-off-by: Marc-André Lureau <marcandre.lur...@gmail.com>
---
src/spice-gtk-session-priv.h | 13 +
src/spice-gtk-ses
Move the GtkDrawingArea in a GtkStack, so other widgets can be switched
to for the display.
Signed-off-by: Marc-André Lureau <marcandre.lur...@gmail.com>
---
src/spice-widget-priv.h | 4 +--
src/spice-widget.c | 69 -
2 files chang
The following patches need to break the ABI (in particular the parent of the
SpiceDisplay widget).
Signed-off-by: Marc-André Lureau <marcandre.lur...@gmail.com>
---
src/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index 6
Do not leak internals of SpiceDisplay in our headers. This makes also
the class final, which let us extend more easily without fear of
breaking ABI.
Signed-off-by: Marc-André Lureau <marcandre.lur...@gmail.com>
---
src/spice-widget-priv.h | 15 +++
src/spice-widget.h
now useless shmid field in display_surface
- fix year comment
Marc-André Lureau (10):
build-sys: bump spice-gtk current version info
gtk: make SpiceDisplay private
gtk: move gtk session
gtk: move SpiceUsbDeviceWidget
gtk: move SpiceGrabSequence
Drop GTK+ 2.0
gtk: drop deprecated stuff f
sha1sum:
949d99191fae7c5f4e54a303384616ce2c40162f spice-gtk-0.31.tar.bz2
--
Marc-André Lureau
___
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/spice-devel
Hi
- Original Message -
> Hmm, that initial empty noinst_PROGRAMS looks a bit like a mistake. Perhaps
> add
> a $(NULL) to that to make it explicit?
It's fairly idiomatic to initialize variables with empty. $(NULL) is mainly use
to help with sorted-lines and trailing \ (for the last
701 - 800 of 3826 matches
Mail list logo