summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* Use GResource for loading ui filesFabiano Fidêncio2016-03-031-6/+13
| | | | | | | | | | Let's take advantage of GResource for loading ui files in a better and cleaner way than virt_viewer_util_load_ui() was doing. It also brings the benefit, at least for developers, of being able to test ui changes without having to "make install" virt-viewer. Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com> Acked-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
* configure: Simplify libvirt/libvirt-glib handlingFabiano Fidêncio2016-02-251-2/+0
| | | | | | | | Merge libvirt and libvirt-glib checking in PKG_CHECK_MODULES, then we don't nee the LIBVIRT_GLIB_{CFLAGS,LIBS} in Makefile.am Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com> Acked-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
* Bring back libvirt-glib dependencyFabiano Fidêncio2016-02-251-2/+2
| | | | | | | | | | | | | | | libvirt-glib dependency was dropped in commit 296f91c in favor to maintain the full glib event loop integration into virt-viewer tree. This decision was taken because libvirt-glib was not mature enough at that time, which is not the case nowadays. The libvirt-glib version chosen as dependency (0.1.8) is the first release that includes the fixes for the glib event loop integration that were backported to virt-viewer last year. Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com> Acked-by: Eduardo Lima (Etrunko) <etrunko@redhat.com> Acked-by: Victor Toso <victortoso@redhat.com>
* cleanup: Drop old compatibilty codeFabiano Fidêncio2016-02-241-2/+0
| | | | | | | | A few more pieces of old compatibility code can be dropped, as we already depend on GLib 2.38. Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com> Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
* Drop old compatibility codeEduardo Lima (Etrunko)2016-02-181-2/+0
| | | | | | With glib requirements now being 2.38, these functions do not make sense anymore. Signed-off-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
* Drop support to gtk2Fabiano Fidêncio2016-02-151-1/+0
| | | | | | | | The 3.0 release was the last one that still supports GTK2. For the Windows builds the support to GTK2 was dropped in the previous release. Let's do the same for the entire project now. Signed-off-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
* Build an intermediate convenience libraryJonathon Jongsma2015-06-301-38/+47
| | | | | | | | | | Instead of building every single source file twice (once for virt-viewer, and once for remote-viewer), just build them into a temporary library and link the final executables against that. The one possible drawback to this approach is that we now use the same log domain for both executables: 'virt-viewer'. Previously, the remote-viewer executable used 'remote-viewer' for its log domain.
* Build: put one file on a lineJonathon Jongsma2015-06-301-17/+35
| | | | | For easier maintenance, put a single source file per-line in the makefile
* Remove spice-controller flags from virt-viewer buildJonathon Jongsma2015-06-301-1/+0
| | | | | Virt-viewer does not use spice-controller, only remote-viewer does. So there's no need to ad SPICE_CONTROLLER_CFLAGS to the virt-viewer build.
* remote-viewer-connect: Changed hardcoded UI into XMLLukas Venhoda2015-06-161-0/+1
| | | | | Hardcoded UI removed in favor of XML. Added the new XML file for translation.
* remote-viewer: Connect dialog moved to its own fileLukas Venhoda2015-06-161-0/+2
| | | | | | | | Connect dialog from remote-viewer is now in its own file. Most other dialog also have their own files. This will make changing the dialog into a window easier. Renamed connect_dialog to remote_viewer_connect_dialog.
* test: Add test case for virt_viewer_compare_buildidChristophe Fergeau2015-06-091-0/+20
|
* Add preferences dialog UI fileMarc-André Lureau2015-03-051-0/+1
|
* Show VM chooser dialog when oVirt VM name is missingPavel Grunt2014-10-101-0/+2
| | | | | | | When a user tries to connect to ovirt without specifying VM name (remote-viewer ovirt://ovirt.example.com) or with wrong VM name a list of available virtual machines is shown, and the user may pick a machine he wants to connect to.
* ovirt: Add OvirtForeignMenu classChristophe Fergeau2014-08-181-0/+4
| | | | | | | This class is used to implement the so-called oVirt 'foreign menu' which is a menu populated with ISO images available on the oVirt instance that the user can dynamically insert into the virtual machine he is currently viewing.
* Add a dialog showing details of the current guestJonathon Jongsma2014-08-071-0/+1
| | | | | | This allows the user to obtain the GUID and vm name of the currently-connected guest. Obviously, this only works with spice. In the future, it will allow them to set guest-specific configuration options (using a GUID as a key)
* Load ui files first from installed locationJonathon Jongsma2014-01-201-0/+2
| | | | | | | virt_viewer_util_load_ui() looks first in the current directory, and then looks in the system data dirs for a ui file to load, but if you install virt-viewer in a different prefix, it will load the system UI file rather than the one from the install prefix. Try to load the ui file from pkgdatadir first.
* build-sys: Simplify setting of optional CFLAGS/LDFLAGSChristophe Fergeau2013-04-121-25/+15
| | | | | | | They don't need to be wrapped inside if HAVE_XXX blocks in Makefile.am as when XXX is not available, XXX_CFLAGS and XXX_LIBS will expand to the empty string, and thus we can carry them unconditionally in our app_CFLAGS/app_LDFLAGS variables.
* Add oVirt supportChristophe Fergeau2013-04-121-0/+8
| | | | | | This commit adds support for ovirt:// URIs. It does so by using libgovirt to get the spice/vnc connection information through oVirt xmlrpc API.
* Fix compilation with older glib versionsChristophe Fergeau2013-03-201-0/+1
| | | | | | Recent commits introduced use of g_clear_object and g_byte_array_new_take which are only present respectively in glib 2.28 and 2.32
* Register remote-viewer mime handlingMarc-André Lureau2013-02-111-5/+0
| | | | | | Unfortunately, I don't see yet how we could avoid the browser dialog asking which application to open. On Firefox, each user has a mimeTypes.rdf, but we can't really modify it..
* Add VirtViewerFileMarc-André Lureau2012-11-271-0/+1
| | | | | | | v2: - use !! for boolean values setter - switch from bytearray/base64 to plain string for CA (PEM) - add file format comment
* windows: add debug-helperMarc-André Lureau2012-10-231-0/+5
| | | | | | | | | | | | This is a simple program that will set some debug variable, and run gdb and wait until it finished. This makes it possible to debug "remote-viewer --spice-controller" easily, by setting the necessary variables and keeping the parent process running (the activex whatches its death) To use it, replace the HKCU "Software\spice-space.org\spicex\client" value "$INSTDIR\bin\remote-viewer.exe --spice-controller" with "$INSTDIR\bin\debug-helper.exe remote-viewer.exe --spice-controller".
* Use a more specific regex to fix enum include pathsDaniel P. Berrange2012-09-141-1/+1
| | | | | | Simply doing a search replace on $(srcdir) doesn't work very well in non-VPATH builds. Use a more specific regex that won't generate false matches
* Look in builddir for icons & strip build dir prefix from enum file includsDaniel P. Berrange2012-09-141-2/+4
|
* Bump glib > 2.22, add compat fileMarc-André Lureau2012-07-231-0/+1
| | | | | We use API from 2.22, and some from further version. Add virt-glib-compat.h fallback file for those.
* build: generate enums type boilerplateMarc-André Lureau2012-07-231-3/+20
|
* dist: ship .ico in tarballMarc-André Lureau2012-05-141-2/+2
| | | | | | | | | Some distros (a 4-letters) don't have icotool. Let's ship the .ico in the tarball. The build will fail if icoutil is not installed when building from git or when the .ico is absent. The error should be explicit.
* Fix debug output on glib >= 2.31Daniel P. Berrange2012-04-251-0/+2
|
* Fix scaling of window to avoid integer truncationDaniel P. Berrange2012-04-191-0/+2
| | | | | Use round() instead of integer truncation when scaling the window, to avoid floating point precision problems on i386
* Add a desktop file for launching remote-viewerDaniel P. Berrange2012-04-181-0/+5
| | | | | | Enable automagic handling of spice:// URLs in firefox by registering a desktop handler for remote-viewer with the SPICE URI scheme
* Fix typo in variable names for Win32 command helperDaniel P. Berrange2012-04-041-2/+2
|
* build-sys: fix Windows specific LDFLAGS on non-mingwChristophe Fergeau2012-04-031-1/+3
|
* remote-viewer: make it a GUI/windows application with hybrid consoleMarc-André Lureau2012-04-021-0/+1
| | | | | If the application can attach to its parent console, redirect input/output. So that will work nicely with the command line wrapper.
* Add a Windows command line wrapperMarc-André Lureau2012-04-021-0/+4
| | | | Add a small command line wrapper, to be able to call GUI/windows application from the console
* build-sys: use git.mk to generate gitignoreMarc-André Lureau2012-03-301-0/+2
| | | | | | | | This makefile is just fantastic, it forces you into good practices, support various build targets (my windows builddir ignore the right files etc..) The more I use it, the more I like it.
* win32: add a few Windows sepecific dataMarc-André Lureau2012-03-301-0/+17
| | | | Add application icon and manifest
* Make sure we call g_thread_init()Marc-André Lureau2012-03-091-6/+6
| | | | GThread is needed by spice-gtk
* fix make distcheckMarc-André Lureau2012-03-011-1/+1
|
* Fix compilation with gtk 2.18Marc-André Lureau2012-03-011-0/+1
|
* Add back compat for GObject 2.22 which lacks GBindingDaniel P. Berrange2012-02-161-1/+3
|
* Only link remote-viewer program against SPICE controllerDaniel P. Berrange2012-02-161-2/+2
|
* Remove use of a libtool convenience libraryDaniel P. Berrange2012-02-161-46/+64
| | | | | | | The use of a libtool convenience library causes some platforms to loose the ability to use the GNU_RELRO security feature in the resulting binary. Refactor the makefile to simply compile the common files twice, once for virt-viewer & once for remote-viewer
* Replace @FOO@ with $(FOO) in all Makefile.amDaniel P. Berrange2012-02-061-15/+15
|
* Adapt remote-viewer so that it builds without SPICEDaniel P. Berrange2012-01-311-2/+0
|
* build: make libvirt optionnalMarc-André Lureau2012-01-311-1/+4
|
* Add remote-viewer programMarc-André Lureau2012-01-311-43/+71
| | | | | This program is meant for direct URI connections. ex: remote-viewer vnc://uri
* build: make gtk-vnc optionalMarc-André Lureau2011-11-071-3/+5
|
* Revert 1a56de3acad6a19fd958fae9278cf1c97fdabb18Daniel P. Berrange2011-11-071-0/+2
| | | | | | | The GLIB2 check previously removed was misleading because it in fact checked for gmodule-export-2.0 which is needed to export the signal handlers. Revert the previous commit, but rename the var to GMODULE2 to make it clearer
* Remove pkgconfig check for GLIB2 since it is implied by GTK2/3Daniel P. Berrange2011-11-041-2/+0
|