Commit Graph

200 Commits

Author SHA1 Message Date
Cole Robinson 84decb61f8 spec: Add BuildRequires: python for f22/rawhide 2015-02-22 10:01:43 -05:00
Giuseppe Scrivano 23d2047576 spec: move dependency to libosinfo from virt-manager to common
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1159370
2014-11-04 09:04:09 +01:00
Giuseppe Scrivano ea0cded87b spec: add a dependency on "gnome-icon-theme"
virt-manager uses some icons included in the gnome-icon-theme package.
Make it explicit and add a dependency.

Desktop folks agree that this is the place where to add this
dependency as adding it to gtk is too problematic.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1146612

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2014-10-06 17:47:24 +02:00
Cole Robinson a4db445a45 spec: Install the gconf .convert file 2014-09-30 08:41:37 -04:00
Cole Robinson 2224364b1d spec: Remove changelog
It just duplicates the NEWS file, not really that interesting
2014-09-10 13:29:25 -04:00
Cole Robinson f4fcf4c3e7 Prep for release 1.1.0 2014-09-07 16:22:04 -04:00
Cole Robinson 5aafe008bc Remove virt-image, as scheduled
As promised with the last release, remove virt-image. In 6 months I didn't
hear a peep from any actual users that cared.
2014-09-06 18:05:43 -04:00
Giuseppe Scrivano f73c5683c5 virt-manager: add dependency to libosinfo
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2014-03-24 12:40:42 +01:00
Cole Robinson 8b7ebd4538 Prep for release 1.0.1 2014-03-22 18:38:44 -04:00
Cole Robinson 907c9c4dec spec: Drop needless version/release macros 2014-03-07 09:57:04 -05:00
Cole Robinson b83ee891ab Prep for release 1.0.0 2014-02-14 18:45:01 -05:00
Cole Robinson 748ff1c4cc virt-xml: Initial commit, basic set of tests 2014-01-25 17:20:29 -05:00
Martin Kletzander dc0b9bbaaf Rename hide_unsupported_rhel_options to stable_defaults and clean-up its usage
There were multiple problems with the setting and usage of
hide_unsupported_rhel_options.  Due to the fact that the option has
several diferent namings throughout the code, this patch is renaming
it to stable_defaults, which basically says what the option does and
makes it possible to use it without need for more than one negation
(where the old code had up to 4 of them in some places), which also
helps understanding it.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
2014-01-21 17:13:18 +01:00
Cole Robinson e57cd46904 spec: Require dbus-x11 (bz 1039803)
virt-manager is one of those tools that people will often install when
no traditional desktop is present. dbus-x11 is pulled in by desktop
environments, but not by gtk3 for (presumably) legitimate reasons.
But we need it to do anything worthwhile with dbus.
2013-12-14 12:02:47 -05:00
Cole Robinson 7c3c70d3d0 Remove gconf dep, Require dconf 2013-10-04 16:34:32 -04:00
Cole Robinson cda621548b Fix last remnants of default_graphics=vnc 2013-10-02 18:51:27 -04:00
Cole Robinson 2148eaa2ae Distribute appdata xml (bz 1011120)
More info: http://people.freedesktop.org/~hughsient/appdata/
2013-09-24 08:38:12 -04:00
Cole Robinson 7edd2c5208 Fix spelling error in function names 2013-08-18 12:30:58 -04:00
Cole Robinson 10cf80c25b Prep for release 0.10.0 2013-06-19 18:37:21 -04:00
Martin Kletzander 5fe2d5e977 One more vnc->spice cleanup
Last commit changing the default was de1695b2, but there was still one
place in man page left and the spec file was left dirty.  This is
hopefully the last vnc->spice patch

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
2013-06-19 17:31:51 -04:00
Cole Robinson 0c9552bccb spec: Drop libguestfs conditional
We will likely never explicitly depend on it.
2013-06-13 15:56:41 -04:00
Cole Robinson 799bca76f3 spec: Make sure libvirt-daemon-config-network is installed (bz 950329) 2013-05-27 18:41:40 -04:00
Cole Robinson a0961e35b7 spec: Unconditionally add default-graphics=spice (bz 965864) 2013-05-27 18:40:11 -04:00
Cole Robinson d8deda4264 spec: Make sure virt-manager pulls in -common (bz 958730) 2013-05-09 18:32:30 -04:00
Cole Robinson a3da77dab6 spec: Fix dep on vte (bz 958945) 2013-05-09 18:24:09 -04:00
Cole Robinson a58442ec3e Remove AUTHORS
Kind of a maintenance pain, and it's just poorly duplicating info
from the git logs. We could autogenerate this but I don't really
have the interest in figuring it out. Patches welcome :)
2013-04-21 14:05:06 -04:00
Cole Robinson d6d3d9e78c setup: Drop use of python-distutils-extra
The only bits were were using was the icon installation and
translation building, which amounted to about 70 lines of code.

Just steal it so we can avoid the dep which will cause trouble
for future RHEL.
2013-04-18 17:20:10 -04:00
Cole Robinson f6f55314cb Remove virt-manager-tui
Was originally added with hopes for being used in an ovirt related
product, but was more or less a code dump, and the author has been
allocated to other things. He confirmed it's okay to remove.

That, and it's currently broken, and we've had approximately 0 user
feedback since it was committed.
2013-04-18 16:12:03 -04:00
Cole Robinson 7e23244096 Port from gconf to gsettings
This unfortunately has a decent amount of fallout: add a wrapper class
in config.py that reduces much of the churn.

Another big piece is that gsettings can't accept arbitrary paths like
gconf would, everything needs to be described in the schema.

Also do a bunch more RPM spec modernizing
2013-04-18 12:43:16 -04:00
Guannan Ren 9f832bbd84 requires libvirt-glib >= 0.0.9 for LibvirtGLib(None) work 2013-04-17 15:15:54 -04:00
Gene Czarcinski 996bc5cc10 update spec file to use its version at runtime
This is a "sanity" patch so that the version on the rpm
and the version at runtime are the same.

This patch depends on the patch which processes the spec.in
file into the spec file, the patch which adds pkgversion to
configure, and the snapshot patch.
.
Signed-off-by: Gene Czarcinski <gene@czarc.net>
2013-04-17 15:03:32 -04:00
Gene Czarcinski ad3f69e12d automate @VERSION@ in virt-manager.spec
This update renames virt-manager.spec to be
virt-manager.spec.in and changes the version-id to
@VERSION@ ... setup.py is modified to copy the
virt-manager-spec.in file to virt-manager.spec and
replace @VERSION@ with the current/actual version id.

.gitignore is updated to ignore virt-manager.spec
.
Signed-off-by: Gene Czarcinski <gene@czarc.net>
2013-04-17 15:02:58 -04:00
Cole Robinson 9d05583c26 Remove autotools, replace with distutils-extra
Despite being a known quantity, autotools is so overkill for our needs,
so let's drop it and replace it with a much simpler and easy to customize
system.
2013-04-03 18:20:51 -04:00
Cole Robinson d057cce292 Remove local copy of IPy 2013-04-03 18:13:25 -04:00
Cole Robinson 53b12d82c5 Stop tracking old help files, they are long dead 2013-04-03 18:13:25 -04:00
Daniel P. Berrange 3c3237b951 Convert to use GTK3 and GObject Introspection bindings
Switch over to use GObject introspection bindings for all python
modules related to GObject/GTK3/etc. It is not possible to mix
and match old pyggtk/pygobject manual bindings with new introspection
based bindings so it must be all changed in one go.

Imports like

    import gtk

Change to

    from gi.repository import Gtk

The vmmGObject class is changed to always inherit from GObject.GObject
There is no compelling reason to avoid a GObject dep for the
virt-manager TUI & it horribly messed up the code.

Signal declarations are changed from

  vmmChooseCD.signal_new(vmmChooseCD, "cdrom-chosen", [object, str])

To

     __gsignals__ = {
        "cdrom-chosen": (GObject.SignalFlags.RUN_FIRST, None, [object, str])
    }

which is required by new GObject bindings

Most of the rest of the change is simply dealing with renamed
constants / classes.

Alot of legacy compat code was removed - ie helpers which
check to see if certain GTK2 methods are available are no
longer required since we're mandating GTK3 only.

The event loop is replaced with LibvirtGLib's event loop.

Still todo

 - Rip out all DBus stuff & make vmmEngine class inherit GtkApplication
   which provides unique support & DBus method handling
 - Switch to use LibvirtGConfig & LibvirtGObject for libvirt interaction
 - Possibly switch to Python 3 too ?
 - Figure out why GNOME keyring is missing Introspection support

My suggestion is that the standalone GIT repo for virt-install
only live on as a support branch for legacy platforms.

A stable-0.9 branch of virt-manager can be kept for legacy PyGtk2
based virt-manager releases.

The virt-manager master branch should exclusively use GObject
inspection and ideally Python3 and contain both the virt-manager
and virt-install codebases in one since they are intimately
related to each other & using separate GIT repos has needlessly
complicated life for everyone.

crobinso:
    Some locking fixes
    Misc cleanups and dropping now-useless code
    Fix dbus usage
    Fix graph cell renderer regression
    Fix a couple tooltip issues
2013-04-03 18:13:24 -04:00
Cole Robinson be49fa63c0 Prep for release 0.9.5 2013-04-01 07:36:57 -04:00
Cole Robinson 97156c6e15 spec: Add explicit pod2man dep 2013-03-01 12:40:48 -05:00
Cole Robinson 04a414553d spec: Fix libgnome-keyring conditional 2012-10-19 12:13:39 -04:00
Cole Robinson 6524324244 Prep for release 0.9.4 2012-07-29 16:17:50 -04:00
Cole Robinson cf182296fc Prep for release 0.9.3 2012-07-09 17:06:10 -04:00
Cole Robinson a2a51861a4 spec: tidy up default_graphics placement 2012-07-09 16:07:32 -04:00
Cole Robinson d9e6d1a5e1 Fix spec file conditional for all cases 2012-07-09 15:13:20 -04:00
Cole Robinson efa3aac23e Prep for release 0.9.2 2012-07-09 08:07:50 -04:00
Cole Robinson 8b08f1a071 spec: Changes to handle askpass-package 2012-07-08 19:42:06 -04:00
Cole Robinson c5a10caae3 Spec file updates 2012-04-25 09:26:17 -04:00
Daniel P. Berrange 9727c89cda Fix inclusion of extra_release to be unconditional on %dist existing 2012-02-23 10:15:31 +00:00
Cole Robinson f2eba998a1 Build system changes for UI move 2012-02-02 17:09:20 -05:00
Cole Robinson bc7f27a468 Prep for release 2012-01-31 20:23:23 -05:00
Cole Robinson a1057be68f spec: Fix disabling RHEL6 unsupported options 2011-08-29 11:13:34 -04:00
Cole Robinson 79d6063075 rpm: Update icon cache after install 2011-08-02 13:19:58 -04:00
Cole Robinson ad2b33626f rpm: TUI requires a newer version of python-newt_syrup 2011-08-01 12:10:44 -04:00
Cole Robinson d3cf1065b3 rpm: Don't error building if with_spice isn't defined 2011-08-01 12:09:08 -04:00
Cole Robinson 93764a9731 rpm: Handle lack of gconf helper macros 2011-08-01 12:08:59 -04:00
Cole Robinson 0e8b3bdc65 spec: Add buildreq: GConf2 for gconf macros
Also have with_spice imply default=spice
2011-07-28 10:42:13 -04:00
Cole Robinson a6e0531dfc Prep for release 2011-07-26 19:56:33 -04:00
Cole Robinson 1029e8eb32 rpm: Add option for depending on libguestfs 2011-07-26 19:55:18 -04:00
Cole Robinson f0019113b6 rpm: TUI: Requires libuser and IPy 2011-07-22 18:52:43 -04:00
Cole Robinson 7ed8a258b8 rpm: refactor spec to optionally build 'common' and 'tui' packages 2011-07-13 18:01:10 -04:00
Cole Robinson bea75e35a1 Some spec and build system cleanups
Make clean keeps wanting to remove virt-manager.pot, so let it I guess.
2011-07-12 15:03:06 -04:00
Cole Robinson 4465d6f0be Add new app icon and massively reorg our icon folder
New icon from Jakub Steiner is based on virt-manager.org theme.

Actually organize all our existing icons into a proper icon hierarchy.
2011-07-12 14:35:33 -04:00
Cole Robinson 458664423b spec: Fix spice-gtk-python dep 2011-04-19 10:29:35 -04:00
Cole Robinson 8c1eba2573 spec: Move all local config to top of file
Makes diffing between distro specs easier
2011-03-29 09:36:07 -04:00
Cole Robinson f85ceb8cba Prep for release 2011-03-24 16:36:26 -04:00
Cole Robinson ecc039e8bc Prep for release 2011-01-14 15:27:40 -05:00
Cole Robinson e7c3ea0071 rpm: Don't build TUI
The RPM spec isn't set up to properly install the TUI and GUI, so disable
TUI building for now.
2010-11-30 10:42:38 -05:00
Cole Robinson 3f03d2f0ce Small spec file cleanups 2010-08-26 08:45:28 -04:00
Cole Robinson 7c4cc05fd9 Prep for release 2010-08-24 17:14:36 -04:00
Cole Robinson 4738c898e5 Don't install the help docs, they are too outdated. 2010-05-13 11:43:29 -04:00
Cole Robinson e9c87c09f5 Small spec file fix 2010-03-24 12:29:15 -04:00
Cole Robinson 75ccfa1afc Prep for release 2010-03-24 11:53:08 -04:00
Cole Robinson 3fedb00dcb Use properly sized icons 2010-03-23 14:27:30 -04:00
Cole Robinson 53fe0f746f Prep for release. 2010-02-08 23:03:48 -05:00
Cole Robinson d3e9cc9eef Prep for release 2009-12-14 17:20:00 -05:00
Cole Robinson fd2bca7e5a Prep for release (Update NEWS, translations, configure...) 2009-12-03 15:33:47 -05:00
Cole Robinson 2ce3fef46b Drop gnomevfs dependency 2009-12-03 15:52:53 -05:00
Cole Robinson f66409ecbf Don't use deprecated libgnome. 2009-11-10 12:43:51 -05:00
Cole Robinson e72bd648de Bump version number, update NEWS and CHANGELOG. 2009-07-28 21:50:55 -04:00
Cole Robinson 22443dde10 Remove graphwidgets written in 'C'. We are now 100% python! 2009-07-22 11:16:06 -04:00
Cole Robinson 3a64188162 Use proper spec checking for PolicyKit UI. 2009-04-06 11:24:07 -04:00
Cole Robinson d3ef51e130 Allow building rpm without byte-compiling python files. 2009-04-06 11:18:56 -04:00
Cole Robinson 00d4c1fa13 Remove redundant files from spec. 2009-04-03 14:14:46 -04:00
Cole Robinson 5a94b14c17 Adjust PolicyKit requires for F11 2009-03-08 15:08:37 -04:00
Cole Robinson bf40585d8f Bump gtk-vnc dependency in specfile. 2009-02-23 18:57:56 -05:00
Cole Robinson 7f0f02b91a Rpm spec fix for building on older RH distros. 2009-02-15 17:24:35 -05:00
Cole Robinson 36e80a2f25 Update NEWS, changelog, bump release number. 2009-01-26 12:23:05 -05:00
Cole Robinson 5ed7c244d4 Yet another spec file fix. 2008-12-07 16:32:56 -05:00
Cole Robinson 7aecbc5bb8 Let's fix that spec file one more time: actually build for f9 and f10. 2008-12-05 16:12:51 -05:00
Cole Robinson 19279ba69c Actually fix spec building to accomodate F9. 2008-11-25 11:14:30 -05:00
Cole Robinson d4f8a54a11 Fix specfile for building on f9. 2008-11-24 11:43:35 -05:00
Cole Robinson b69ad34a93 Add dbus-x11 to spec Requires:. 2008-10-23 15:32:49 -04:00
Cole Robinson 5fd8776570 Add gnome-python2-gnome to spec (used in config.py) 2008-09-16 14:39:25 -04:00
Cole Robinson 847a69084d Sync some fedora spec file changes with upstream. 2008-09-10 18:51:18 -04:00
Cole Robinson f114d7c76c Update spec changelog. 2008-09-10 15:08:33 -04:00
Cole Robinson 3b1b7d5a75 Bump python-virtinst dependency 2008-09-10 11:42:22 -04:00
Cole Robinson 634fc37590 Update spec file description. 2008-09-10 11:18:06 -04:00
Cole Robinson feb2c33f6d Add rpm dependency on latest libvirt. 2008-09-08 20:17:58 -04:00
Cole Robinson 59698423fd Make .spec BuildRequires a bit more thorough. 2008-09-02 11:33:10 -04:00
Daniel P. Berrange 2843bb16fe Update for new release 2008-03-10 20:16:52 -04:00
Daniel P. Berrange 552151a8d9 Control create wizard state based on capabilities info 2008-03-09 18:18:33 -04:00