mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
Merge heads
This commit is contained in:
commit
57a18da5f3
2
AUTHORS
2
AUTHORS
@ -18,7 +18,7 @@ Further patches have been submitted by:
|
|||||||
Karel Zak <kzak-at-redhat-dot-com>
|
Karel Zak <kzak-at-redhat-dot-com>
|
||||||
Damien Durand <splinux25-at-gmail-dot-com>
|
Damien Durand <splinux25-at-gmail-dot-com>
|
||||||
Charles Coffing <ccoffing-at-novell-dot-com>
|
Charles Coffing <ccoffing-at-novell-dot-com>
|
||||||
|
Mark Cave-Ayland <mark.cave-ayland-at-ilande-dot-co-dot-uk>
|
||||||
|
|
||||||
<...send a patch & get your name here...>
|
<...send a patch & get your name here...>
|
||||||
|
|
||||||
|
355
COPYING-DOCS
Normal file
355
COPYING-DOCS
Normal file
@ -0,0 +1,355 @@
|
|||||||
|
GNU Free Documentation License
|
||||||
|
Version 1.1, March 2000
|
||||||
|
|
||||||
|
Copyright (C) 2000 Free Software Foundation, Inc.
|
||||||
|
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
|
of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
|
|
||||||
|
0. PREAMBLE
|
||||||
|
|
||||||
|
The purpose of this License is to make a manual, textbook, or other
|
||||||
|
written document "free" in the sense of freedom: to assure everyone
|
||||||
|
the effective freedom to copy and redistribute it, with or without
|
||||||
|
modifying it, either commercially or noncommercially. Secondarily,
|
||||||
|
this License preserves for the author and publisher a way to get
|
||||||
|
credit for their work, while not being considered responsible for
|
||||||
|
modifications made by others.
|
||||||
|
|
||||||
|
This License is a kind of "copyleft", which means that derivative
|
||||||
|
works of the document must themselves be free in the same sense. It
|
||||||
|
complements the GNU General Public License, which is a copyleft
|
||||||
|
license designed for free software.
|
||||||
|
|
||||||
|
We have designed this License in order to use it for manuals for free
|
||||||
|
software, because free software needs free documentation: a free
|
||||||
|
program should come with manuals providing the same freedoms that the
|
||||||
|
software does. But this License is not limited to software manuals;
|
||||||
|
it can be used for any textual work, regardless of subject matter or
|
||||||
|
whether it is published as a printed book. We recommend this License
|
||||||
|
principally for works whose purpose is instruction or reference.
|
||||||
|
|
||||||
|
|
||||||
|
1. APPLICABILITY AND DEFINITIONS
|
||||||
|
|
||||||
|
This License applies to any manual or other work that contains a
|
||||||
|
notice placed by the copyright holder saying it can be distributed
|
||||||
|
under the terms of this License. The "Document", below, refers to any
|
||||||
|
such manual or work. Any member of the public is a licensee, and is
|
||||||
|
addressed as "you".
|
||||||
|
|
||||||
|
A "Modified Version" of the Document means any work containing the
|
||||||
|
Document or a portion of it, either copied verbatim, or with
|
||||||
|
modifications and/or translated into another language.
|
||||||
|
|
||||||
|
A "Secondary Section" is a named appendix or a front-matter section of
|
||||||
|
the Document that deals exclusively with the relationship of the
|
||||||
|
publishers or authors of the Document to the Document's overall subject
|
||||||
|
(or to related matters) and contains nothing that could fall directly
|
||||||
|
within that overall subject. (For example, if the Document is in part a
|
||||||
|
textbook of mathematics, a Secondary Section may not explain any
|
||||||
|
mathematics.) The relationship could be a matter of historical
|
||||||
|
connection with the subject or with related matters, or of legal,
|
||||||
|
commercial, philosophical, ethical or political position regarding
|
||||||
|
them.
|
||||||
|
|
||||||
|
The "Invariant Sections" are certain Secondary Sections whose titles
|
||||||
|
are designated, as being those of Invariant Sections, in the notice
|
||||||
|
that says that the Document is released under this License.
|
||||||
|
|
||||||
|
The "Cover Texts" are certain short passages of text that are listed,
|
||||||
|
as Front-Cover Texts or Back-Cover Texts, in the notice that says that
|
||||||
|
the Document is released under this License.
|
||||||
|
|
||||||
|
A "Transparent" copy of the Document means a machine-readable copy,
|
||||||
|
represented in a format whose specification is available to the
|
||||||
|
general public, whose contents can be viewed and edited directly and
|
||||||
|
straightforwardly with generic text editors or (for images composed of
|
||||||
|
pixels) generic paint programs or (for drawings) some widely available
|
||||||
|
drawing editor, and that is suitable for input to text formatters or
|
||||||
|
for automatic translation to a variety of formats suitable for input
|
||||||
|
to text formatters. A copy made in an otherwise Transparent file
|
||||||
|
format whose markup has been designed to thwart or discourage
|
||||||
|
subsequent modification by readers is not Transparent. A copy that is
|
||||||
|
not "Transparent" is called "Opaque".
|
||||||
|
|
||||||
|
Examples of suitable formats for Transparent copies include plain
|
||||||
|
ASCII without markup, Texinfo input format, LaTeX input format, SGML
|
||||||
|
or XML using a publicly available DTD, and standard-conforming simple
|
||||||
|
HTML designed for human modification. Opaque formats include
|
||||||
|
PostScript, PDF, proprietary formats that can be read and edited only
|
||||||
|
by proprietary word processors, SGML or XML for which the DTD and/or
|
||||||
|
processing tools are not generally available, and the
|
||||||
|
machine-generated HTML produced by some word processors for output
|
||||||
|
purposes only.
|
||||||
|
|
||||||
|
The "Title Page" means, for a printed book, the title page itself,
|
||||||
|
plus such following pages as are needed to hold, legibly, the material
|
||||||
|
this License requires to appear in the title page. For works in
|
||||||
|
formats which do not have any title page as such, "Title Page" means
|
||||||
|
the text near the most prominent appearance of the work's title,
|
||||||
|
preceding the beginning of the body of the text.
|
||||||
|
|
||||||
|
|
||||||
|
2. VERBATIM COPYING
|
||||||
|
|
||||||
|
You may copy and distribute the Document in any medium, either
|
||||||
|
commercially or noncommercially, provided that this License, the
|
||||||
|
copyright notices, and the license notice saying this License applies
|
||||||
|
to the Document are reproduced in all copies, and that you add no other
|
||||||
|
conditions whatsoever to those of this License. You may not use
|
||||||
|
technical measures to obstruct or control the reading or further
|
||||||
|
copying of the copies you make or distribute. However, you may accept
|
||||||
|
compensation in exchange for copies. If you distribute a large enough
|
||||||
|
number of copies you must also follow the conditions in section 3.
|
||||||
|
|
||||||
|
You may also lend copies, under the same conditions stated above, and
|
||||||
|
you may publicly display copies.
|
||||||
|
|
||||||
|
|
||||||
|
3. COPYING IN QUANTITY
|
||||||
|
|
||||||
|
If you publish printed copies of the Document numbering more than 100,
|
||||||
|
and the Document's license notice requires Cover Texts, you must enclose
|
||||||
|
the copies in covers that carry, clearly and legibly, all these Cover
|
||||||
|
Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on
|
||||||
|
the back cover. Both covers must also clearly and legibly identify
|
||||||
|
you as the publisher of these copies. The front cover must present
|
||||||
|
the full title with all words of the title equally prominent and
|
||||||
|
visible. You may add other material on the covers in addition.
|
||||||
|
Copying with changes limited to the covers, as long as they preserve
|
||||||
|
the title of the Document and satisfy these conditions, can be treated
|
||||||
|
as verbatim copying in other respects.
|
||||||
|
|
||||||
|
If the required texts for either cover are too voluminous to fit
|
||||||
|
legibly, you should put the first ones listed (as many as fit
|
||||||
|
reasonably) on the actual cover, and continue the rest onto adjacent
|
||||||
|
pages.
|
||||||
|
|
||||||
|
If you publish or distribute Opaque copies of the Document numbering
|
||||||
|
more than 100, you must either include a machine-readable Transparent
|
||||||
|
copy along with each Opaque copy, or state in or with each Opaque copy
|
||||||
|
a publicly-accessible computer-network location containing a complete
|
||||||
|
Transparent copy of the Document, free of added material, which the
|
||||||
|
general network-using public has access to download anonymously at no
|
||||||
|
charge using public-standard network protocols. If you use the latter
|
||||||
|
option, you must take reasonably prudent steps, when you begin
|
||||||
|
distribution of Opaque copies in quantity, to ensure that this
|
||||||
|
Transparent copy will remain thus accessible at the stated location
|
||||||
|
until at least one year after the last time you distribute an Opaque
|
||||||
|
copy (directly or through your agents or retailers) of that edition to
|
||||||
|
the public.
|
||||||
|
|
||||||
|
It is requested, but not required, that you contact the authors of the
|
||||||
|
Document well before redistributing any large number of copies, to give
|
||||||
|
them a chance to provide you with an updated version of the Document.
|
||||||
|
|
||||||
|
|
||||||
|
4. MODIFICATIONS
|
||||||
|
|
||||||
|
You may copy and distribute a Modified Version of the Document under
|
||||||
|
the conditions of sections 2 and 3 above, provided that you release
|
||||||
|
the Modified Version under precisely this License, with the Modified
|
||||||
|
Version filling the role of the Document, thus licensing distribution
|
||||||
|
and modification of the Modified Version to whoever possesses a copy
|
||||||
|
of it. In addition, you must do these things in the Modified Version:
|
||||||
|
|
||||||
|
A. Use in the Title Page (and on the covers, if any) a title distinct
|
||||||
|
from that of the Document, and from those of previous versions
|
||||||
|
(which should, if there were any, be listed in the History section
|
||||||
|
of the Document). You may use the same title as a previous version
|
||||||
|
if the original publisher of that version gives permission.
|
||||||
|
B. List on the Title Page, as authors, one or more persons or entities
|
||||||
|
responsible for authorship of the modifications in the Modified
|
||||||
|
Version, together with at least five of the principal authors of the
|
||||||
|
Document (all of its principal authors, if it has less than five).
|
||||||
|
C. State on the Title page the name of the publisher of the
|
||||||
|
Modified Version, as the publisher.
|
||||||
|
D. Preserve all the copyright notices of the Document.
|
||||||
|
E. Add an appropriate copyright notice for your modifications
|
||||||
|
adjacent to the other copyright notices.
|
||||||
|
F. Include, immediately after the copyright notices, a license notice
|
||||||
|
giving the public permission to use the Modified Version under the
|
||||||
|
terms of this License, in the form shown in the Addendum below.
|
||||||
|
G. Preserve in that license notice the full lists of Invariant Sections
|
||||||
|
and required Cover Texts given in the Document's license notice.
|
||||||
|
H. Include an unaltered copy of this License.
|
||||||
|
I. Preserve the section entitled "History", and its title, and add to
|
||||||
|
it an item stating at least the title, year, new authors, and
|
||||||
|
publisher of the Modified Version as given on the Title Page. If
|
||||||
|
there is no section entitled "History" in the Document, create one
|
||||||
|
stating the title, year, authors, and publisher of the Document as
|
||||||
|
given on its Title Page, then add an item describing the Modified
|
||||||
|
Version as stated in the previous sentence.
|
||||||
|
J. Preserve the network location, if any, given in the Document for
|
||||||
|
public access to a Transparent copy of the Document, and likewise
|
||||||
|
the network locations given in the Document for previous versions
|
||||||
|
it was based on. These may be placed in the "History" section.
|
||||||
|
You may omit a network location for a work that was published at
|
||||||
|
least four years before the Document itself, or if the original
|
||||||
|
publisher of the version it refers to gives permission.
|
||||||
|
K. In any section entitled "Acknowledgements" or "Dedications",
|
||||||
|
preserve the section's title, and preserve in the section all the
|
||||||
|
substance and tone of each of the contributor acknowledgements
|
||||||
|
and/or dedications given therein.
|
||||||
|
L. Preserve all the Invariant Sections of the Document,
|
||||||
|
unaltered in their text and in their titles. Section numbers
|
||||||
|
or the equivalent are not considered part of the section titles.
|
||||||
|
M. Delete any section entitled "Endorsements". Such a section
|
||||||
|
may not be included in the Modified Version.
|
||||||
|
N. Do not retitle any existing section as "Endorsements"
|
||||||
|
or to conflict in title with any Invariant Section.
|
||||||
|
|
||||||
|
If the Modified Version includes new front-matter sections or
|
||||||
|
appendices that qualify as Secondary Sections and contain no material
|
||||||
|
copied from the Document, you may at your option designate some or all
|
||||||
|
of these sections as invariant. To do this, add their titles to the
|
||||||
|
list of Invariant Sections in the Modified Version's license notice.
|
||||||
|
These titles must be distinct from any other section titles.
|
||||||
|
|
||||||
|
You may add a section entitled "Endorsements", provided it contains
|
||||||
|
nothing but endorsements of your Modified Version by various
|
||||||
|
parties--for example, statements of peer review or that the text has
|
||||||
|
been approved by an organization as the authoritative definition of a
|
||||||
|
standard.
|
||||||
|
|
||||||
|
You may add a passage of up to five words as a Front-Cover Text, and a
|
||||||
|
passage of up to 25 words as a Back-Cover Text, to the end of the list
|
||||||
|
of Cover Texts in the Modified Version. Only one passage of
|
||||||
|
Front-Cover Text and one of Back-Cover Text may be added by (or
|
||||||
|
through arrangements made by) any one entity. If the Document already
|
||||||
|
includes a cover text for the same cover, previously added by you or
|
||||||
|
by arrangement made by the same entity you are acting on behalf of,
|
||||||
|
you may not add another; but you may replace the old one, on explicit
|
||||||
|
permission from the previous publisher that added the old one.
|
||||||
|
|
||||||
|
The author(s) and publisher(s) of the Document do not by this License
|
||||||
|
give permission to use their names for publicity for or to assert or
|
||||||
|
imply endorsement of any Modified Version.
|
||||||
|
|
||||||
|
|
||||||
|
5. COMBINING DOCUMENTS
|
||||||
|
|
||||||
|
You may combine the Document with other documents released under this
|
||||||
|
License, under the terms defined in section 4 above for modified
|
||||||
|
versions, provided that you include in the combination all of the
|
||||||
|
Invariant Sections of all of the original documents, unmodified, and
|
||||||
|
list them all as Invariant Sections of your combined work in its
|
||||||
|
license notice.
|
||||||
|
|
||||||
|
The combined work need only contain one copy of this License, and
|
||||||
|
multiple identical Invariant Sections may be replaced with a single
|
||||||
|
copy. If there are multiple Invariant Sections with the same name but
|
||||||
|
different contents, make the title of each such section unique by
|
||||||
|
adding at the end of it, in parentheses, the name of the original
|
||||||
|
author or publisher of that section if known, or else a unique number.
|
||||||
|
Make the same adjustment to the section titles in the list of
|
||||||
|
Invariant Sections in the license notice of the combined work.
|
||||||
|
|
||||||
|
In the combination, you must combine any sections entitled "History"
|
||||||
|
in the various original documents, forming one section entitled
|
||||||
|
"History"; likewise combine any sections entitled "Acknowledgements",
|
||||||
|
and any sections entitled "Dedications". You must delete all sections
|
||||||
|
entitled "Endorsements."
|
||||||
|
|
||||||
|
|
||||||
|
6. COLLECTIONS OF DOCUMENTS
|
||||||
|
|
||||||
|
You may make a collection consisting of the Document and other documents
|
||||||
|
released under this License, and replace the individual copies of this
|
||||||
|
License in the various documents with a single copy that is included in
|
||||||
|
the collection, provided that you follow the rules of this License for
|
||||||
|
verbatim copying of each of the documents in all other respects.
|
||||||
|
|
||||||
|
You may extract a single document from such a collection, and distribute
|
||||||
|
it individually under this License, provided you insert a copy of this
|
||||||
|
License into the extracted document, and follow this License in all
|
||||||
|
other respects regarding verbatim copying of that document.
|
||||||
|
|
||||||
|
|
||||||
|
7. AGGREGATION WITH INDEPENDENT WORKS
|
||||||
|
|
||||||
|
A compilation of the Document or its derivatives with other separate
|
||||||
|
and independent documents or works, in or on a volume of a storage or
|
||||||
|
distribution medium, does not as a whole count as a Modified Version
|
||||||
|
of the Document, provided no compilation copyright is claimed for the
|
||||||
|
compilation. Such a compilation is called an "aggregate", and this
|
||||||
|
License does not apply to the other self-contained works thus compiled
|
||||||
|
with the Document, on account of their being thus compiled, if they
|
||||||
|
are not themselves derivative works of the Document.
|
||||||
|
|
||||||
|
If the Cover Text requirement of section 3 is applicable to these
|
||||||
|
copies of the Document, then if the Document is less than one quarter
|
||||||
|
of the entire aggregate, the Document's Cover Texts may be placed on
|
||||||
|
covers that surround only the Document within the aggregate.
|
||||||
|
Otherwise they must appear on covers around the whole aggregate.
|
||||||
|
|
||||||
|
|
||||||
|
8. TRANSLATION
|
||||||
|
|
||||||
|
Translation is considered a kind of modification, so you may
|
||||||
|
distribute translations of the Document under the terms of section 4.
|
||||||
|
Replacing Invariant Sections with translations requires special
|
||||||
|
permission from their copyright holders, but you may include
|
||||||
|
translations of some or all Invariant Sections in addition to the
|
||||||
|
original versions of these Invariant Sections. You may include a
|
||||||
|
translation of this License provided that you also include the
|
||||||
|
original English version of this License. In case of a disagreement
|
||||||
|
between the translation and the original English version of this
|
||||||
|
License, the original English version will prevail.
|
||||||
|
|
||||||
|
|
||||||
|
9. TERMINATION
|
||||||
|
|
||||||
|
You may not copy, modify, sublicense, or distribute the Document except
|
||||||
|
as expressly provided for under this License. Any other attempt to
|
||||||
|
copy, modify, sublicense or distribute the Document is void, and will
|
||||||
|
automatically terminate your rights under this License. However,
|
||||||
|
parties who have received copies, or rights, from you under this
|
||||||
|
License will not have their licenses terminated so long as such
|
||||||
|
parties remain in full compliance.
|
||||||
|
|
||||||
|
|
||||||
|
10. FUTURE REVISIONS OF THIS LICENSE
|
||||||
|
|
||||||
|
The Free Software Foundation may publish new, revised versions
|
||||||
|
of the GNU Free Documentation License from time to time. Such new
|
||||||
|
versions will be similar in spirit to the present version, but may
|
||||||
|
differ in detail to address new problems or concerns. See
|
||||||
|
http://www.gnu.org/copyleft/.
|
||||||
|
|
||||||
|
Each version of the License is given a distinguishing version number.
|
||||||
|
If the Document specifies that a particular numbered version of this
|
||||||
|
License "or any later version" applies to it, you have the option of
|
||||||
|
following the terms and conditions either of that specified version or
|
||||||
|
of any later version that has been published (not as a draft) by the
|
||||||
|
Free Software Foundation. If the Document does not specify a version
|
||||||
|
number of this License, you may choose any version ever published (not
|
||||||
|
as a draft) by the Free Software Foundation.
|
||||||
|
|
||||||
|
|
||||||
|
ADDENDUM: How to use this License for your documents
|
||||||
|
|
||||||
|
To use this License in a document you have written, include a copy of
|
||||||
|
the License in the document and put the following copyright and
|
||||||
|
license notices just after the title page:
|
||||||
|
|
||||||
|
Copyright (c) YEAR YOUR NAME.
|
||||||
|
Permission is granted to copy, distribute and/or modify this document
|
||||||
|
under the terms of the GNU Free Documentation License, Version 1.1
|
||||||
|
or any later version published by the Free Software Foundation;
|
||||||
|
with the Invariant Sections being LIST THEIR TITLES, with the
|
||||||
|
Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST.
|
||||||
|
A copy of the license is included in the section entitled "GNU
|
||||||
|
Free Documentation License".
|
||||||
|
|
||||||
|
If you have no Invariant Sections, write "with no Invariant Sections"
|
||||||
|
instead of saying which ones are invariant. If you have no
|
||||||
|
Front-Cover Texts, write "no Front-Cover Texts" instead of
|
||||||
|
"Front-Cover Texts being LIST"; likewise for Back-Cover Texts.
|
||||||
|
|
||||||
|
If your document contains nontrivial examples of program code, we
|
||||||
|
recommend releasing these examples in parallel under your choice of
|
||||||
|
free software license, such as the GNU General Public License,
|
||||||
|
to permit their use in free software.
|
@ -1,7 +1,7 @@
|
|||||||
ACLOCAL_AMFLAGS = -I m4/
|
ACLOCAL_AMFLAGS = -I m4/
|
||||||
|
|
||||||
SUBDIRS = src pixmaps po
|
SUBDIRS = src pixmaps po help
|
||||||
|
|
||||||
EXTRA_DIST = @PACKAGE@.spec
|
EXTRA_DIST = @PACKAGE@.spec COPYING-DOCS xmldocs.make omf.make
|
||||||
|
|
||||||
DISTCLEAN_FILES = @PACKAGE@.spec
|
DISTCLEAN_FILES = @PACKAGE@.spec
|
||||||
|
16
configure.ac
16
configure.ac
@ -9,6 +9,17 @@ AC_PYTHON_DEVEL([>= '2.3.4'])
|
|||||||
PKG_CHECK_MODULES(PYGTK2, pygtk-2.0 >= 1.99.11)
|
PKG_CHECK_MODULES(PYGTK2, pygtk-2.0 >= 1.99.11)
|
||||||
PKG_CHECK_MODULES(GTK2, gtk+-2.0 >= 2.2.0)
|
PKG_CHECK_MODULES(GTK2, gtk+-2.0 >= 2.2.0)
|
||||||
|
|
||||||
|
dnl ====================================
|
||||||
|
dnl = Begin tests for scrollkeeper
|
||||||
|
dnl ====================================
|
||||||
|
AC_PATH_PROG(SCROLLKEEPER_CONFIG, scrollkeeper-config,no)
|
||||||
|
if test x$SCROLLKEEPER_CONFIG = xno; then
|
||||||
|
AC_MSG_ERROR(Couldn't find scrollkeeper-config. Please install the scrollkeeper package: http://scrollkeeper.sourceforge.net)
|
||||||
|
fi
|
||||||
|
dnl ====================================
|
||||||
|
dnl = End tests for scrollkeeper
|
||||||
|
dnl ====================================
|
||||||
|
|
||||||
AC_OUTPUT(Makefile
|
AC_OUTPUT(Makefile
|
||||||
pixmaps/Makefile
|
pixmaps/Makefile
|
||||||
po/Makefile
|
po/Makefile
|
||||||
@ -16,4 +27,7 @@ AC_OUTPUT(Makefile
|
|||||||
src/virtManager/Makefile
|
src/virtManager/Makefile
|
||||||
src/vncViewer/Makefile
|
src/vncViewer/Makefile
|
||||||
src/graphWidgets/Makefile
|
src/graphWidgets/Makefile
|
||||||
virt-manager.spec)
|
virt-manager.spec
|
||||||
|
help/Makefile
|
||||||
|
help/virt-manager/Makefile
|
||||||
|
help/virt-manager/C/Makefile)
|
||||||
|
2
help/Makefile.am
Normal file
2
help/Makefile.am
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
SUBDIRS = \
|
||||||
|
virt-manager
|
7
help/virt-manager/C/Makefile.am
Normal file
7
help/virt-manager/C/Makefile.am
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
figdir = figures
|
||||||
|
docname = virt-manager
|
||||||
|
lang = C
|
||||||
|
omffile = virt-manager-C.omf
|
||||||
|
entities = fdl-appendix.xml legal.xml
|
||||||
|
include $(top_srcdir)/xmldocs.make
|
||||||
|
dist-hook: app-dist-hook
|
667
help/virt-manager/C/fdl-appendix.xml
Normal file
667
help/virt-manager/C/fdl-appendix.xml
Normal file
@ -0,0 +1,667 @@
|
|||||||
|
<!--
|
||||||
|
The GNU Free Documentation License 1.1 in DocBook
|
||||||
|
Markup by Eric Baudais <baudais@okstate.edu>
|
||||||
|
Maintained by the GNOME Documentation Project
|
||||||
|
http://developer.gnome.org/projects/gdp
|
||||||
|
Version: 1.0.1
|
||||||
|
Last Modified: Nov 16, 2000
|
||||||
|
-->
|
||||||
|
|
||||||
|
<appendix id="fdl">
|
||||||
|
<appendixinfo>
|
||||||
|
<releaseinfo>
|
||||||
|
Version 1.1, March 2000
|
||||||
|
</releaseinfo>
|
||||||
|
<copyright>
|
||||||
|
<year>2000</year><holder>Free Software Foundation, Inc.</holder>
|
||||||
|
</copyright>
|
||||||
|
<legalnotice id="fdl-legalnotice">
|
||||||
|
<para>
|
||||||
|
<address>Free Software Foundation, Inc. <street>59 Temple Place,
|
||||||
|
Suite 330</street>, <city>Boston</city>, <state>MA</state>
|
||||||
|
<postcode>02111-1307</postcode> <country>USA</country></address>
|
||||||
|
Everyone is permitted to copy and distribute verbatim copies of this
|
||||||
|
license document, but changing it is not allowed.
|
||||||
|
</para>
|
||||||
|
</legalnotice>
|
||||||
|
</appendixinfo>
|
||||||
|
<title>GNU Free Documentation License</title>
|
||||||
|
|
||||||
|
<sect1 id="fdl-preamble">
|
||||||
|
<title>0. PREAMBLE</title>
|
||||||
|
<para>
|
||||||
|
The purpose of this License is to make a manual, textbook, or
|
||||||
|
other written document <quote>free</quote> in the sense of
|
||||||
|
freedom: to assure everyone the effective freedom to copy and
|
||||||
|
redistribute it, with or without modifying it, either
|
||||||
|
commercially or noncommercially. Secondarily, this License
|
||||||
|
preserves for the author and publisher a way to get credit for
|
||||||
|
their work, while not being considered responsible for
|
||||||
|
modifications made by others.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
This License is a kind of <quote>copyleft</quote>, which means
|
||||||
|
that derivative works of the document must themselves be free in
|
||||||
|
the same sense. It complements the GNU General Public License,
|
||||||
|
which is a copyleft license designed for free software.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
We have designed this License in order to use it for manuals for
|
||||||
|
free software, because free software needs free documentation: a
|
||||||
|
free program should come with manuals providing the same
|
||||||
|
freedoms that the software does. But this License is not limited
|
||||||
|
to software manuals; it can be used for any textual work,
|
||||||
|
regardless of subject matter or whether it is published as a
|
||||||
|
printed book. We recommend this License principally for works
|
||||||
|
whose purpose is instruction or reference.
|
||||||
|
</para>
|
||||||
|
</sect1>
|
||||||
|
<sect1 id="fdl-section1">
|
||||||
|
<title>1. APPLICABILITY AND DEFINITIONS</title>
|
||||||
|
<para id="fdl-document">
|
||||||
|
This License applies to any manual or other work that contains a
|
||||||
|
notice placed by the copyright holder saying it can be
|
||||||
|
distributed under the terms of this License. The
|
||||||
|
<quote>Document</quote>, below, refers to any such manual or
|
||||||
|
work. Any member of the public is a licensee, and is addressed
|
||||||
|
as <quote>you</quote>.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<para id="fdl-modified">
|
||||||
|
A <quote>Modified Version</quote> of the Document means any work
|
||||||
|
containing the Document or a portion of it, either copied
|
||||||
|
verbatim, or with modifications and/or translated into another
|
||||||
|
language.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<para id="fdl-secondary">
|
||||||
|
A <quote>Secondary Section</quote> is a named appendix or a
|
||||||
|
front-matter section of the <link
|
||||||
|
linkend="fdl-document">Document</link> that deals exclusively
|
||||||
|
with the relationship of the publishers or authors of the
|
||||||
|
Document to the Document's overall subject (or to related
|
||||||
|
matters) and contains nothing that could fall directly within
|
||||||
|
that overall subject. (For example, if the Document is in part a
|
||||||
|
textbook of mathematics, a Secondary Section may not explain any
|
||||||
|
mathematics.) The relationship could be a matter of historical
|
||||||
|
connection with the subject or with related matters, or of
|
||||||
|
legal, commercial, philosophical, ethical or political position
|
||||||
|
regarding them.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<para id="fdl-invariant">
|
||||||
|
The <quote>Invariant Sections</quote> are certain <link
|
||||||
|
linkend="fdl-secondary"> Secondary Sections</link> whose titles
|
||||||
|
are designated, as being those of Invariant Sections, in the
|
||||||
|
notice that says that the <link
|
||||||
|
linkend="fdl-document">Document</link> is released under this
|
||||||
|
License.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<para id="fdl-cover-texts">
|
||||||
|
The <quote>Cover Texts</quote> are certain short passages of
|
||||||
|
text that are listed, as Front-Cover Texts or Back-Cover Texts,
|
||||||
|
in the notice that says that the <link
|
||||||
|
linkend="fdl-document">Document</link> is released under this
|
||||||
|
License.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<para id="fdl-transparent">
|
||||||
|
A <quote>Transparent</quote> copy of the <link
|
||||||
|
linkend="fdl-document"> Document</link> means a machine-readable
|
||||||
|
copy, represented in a format whose specification is available
|
||||||
|
to the general public, whose contents can be viewed and edited
|
||||||
|
directly and straightforwardly with generic text editors or (for
|
||||||
|
images composed of pixels) generic paint programs or (for
|
||||||
|
drawings) some widely available drawing editor, and that is
|
||||||
|
suitable for input to text formatters or for automatic
|
||||||
|
translation to a variety of formats suitable for input to text
|
||||||
|
formatters. A copy made in an otherwise Transparent file format
|
||||||
|
whose markup has been designed to thwart or discourage
|
||||||
|
subsequent modification by readers is not Transparent. A copy
|
||||||
|
that is not <quote>Transparent</quote> is called
|
||||||
|
<quote>Opaque</quote>.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
Examples of suitable formats for Transparent copies include
|
||||||
|
plain ASCII without markup, Texinfo input format, LaTeX input
|
||||||
|
format, SGML or XML using a publicly available DTD, and
|
||||||
|
standard-conforming simple HTML designed for human
|
||||||
|
modification. Opaque formats include PostScript, PDF,
|
||||||
|
proprietary formats that can be read and edited only by
|
||||||
|
proprietary word processors, SGML or XML for which the DTD
|
||||||
|
and/or processing tools are not generally available, and the
|
||||||
|
machine-generated HTML produced by some word processors for
|
||||||
|
output purposes only.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<para id="fdl-title-page">
|
||||||
|
The <quote>Title Page</quote> means, for a printed book, the
|
||||||
|
title page itself, plus such following pages as are needed to
|
||||||
|
hold, legibly, the material this License requires to appear in
|
||||||
|
the title page. For works in formats which do not have any title
|
||||||
|
page as such, <quote>Title Page</quote> means the text near the
|
||||||
|
most prominent appearance of the work's title, preceding the
|
||||||
|
beginning of the body of the text.
|
||||||
|
</para>
|
||||||
|
</sect1>
|
||||||
|
|
||||||
|
<sect1 id="fdl-section2">
|
||||||
|
<title>2. VERBATIM COPYING</title>
|
||||||
|
<para>
|
||||||
|
You may copy and distribute the <link
|
||||||
|
linkend="fdl-document">Document</link> in any medium, either
|
||||||
|
commercially or noncommercially, provided that this License, the
|
||||||
|
copyright notices, and the license notice saying this License
|
||||||
|
applies to the Document are reproduced in all copies, and that
|
||||||
|
you add no other conditions whatsoever to those of this
|
||||||
|
License. You may not use technical measures to obstruct or
|
||||||
|
control the reading or further copying of the copies you make or
|
||||||
|
distribute. However, you may accept compensation in exchange for
|
||||||
|
copies. If you distribute a large enough number of copies you
|
||||||
|
must also follow the conditions in <link
|
||||||
|
linkend="fdl-section3">section 3</link>.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
You may also lend copies, under the same conditions stated
|
||||||
|
above, and you may publicly display copies.
|
||||||
|
</para>
|
||||||
|
</sect1>
|
||||||
|
|
||||||
|
<sect1 id="fdl-section3">
|
||||||
|
<title>3. COPYING IN QUANTITY</title>
|
||||||
|
<para>
|
||||||
|
If you publish printed copies of the <link
|
||||||
|
linkend="fdl-document">Document</link> numbering more than 100,
|
||||||
|
and the Document's license notice requires <link
|
||||||
|
linkend="fdl-cover-texts">Cover Texts</link>, you must enclose
|
||||||
|
the copies in covers that carry, clearly and legibly, all these
|
||||||
|
Cover Texts: Front-Cover Texts on the front cover, and
|
||||||
|
Back-Cover Texts on the back cover. Both covers must also
|
||||||
|
clearly and legibly identify you as the publisher of these
|
||||||
|
copies. The front cover must present the full title with all
|
||||||
|
words of the title equally prominent and visible. You may add
|
||||||
|
other material on the covers in addition. Copying with changes
|
||||||
|
limited to the covers, as long as they preserve the title of the
|
||||||
|
<link linkend="fdl-document">Document</link> and satisfy these
|
||||||
|
conditions, can be treated as verbatim copying in other
|
||||||
|
respects.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
If the required texts for either cover are too voluminous to fit
|
||||||
|
legibly, you should put the first ones listed (as many as fit
|
||||||
|
reasonably) on the actual cover, and continue the rest onto
|
||||||
|
adjacent pages.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
If you publish or distribute <link
|
||||||
|
linkend="fdl-transparent">Opaque</link> copies of the <link
|
||||||
|
linkend="fdl-document">Document</link> numbering more than 100,
|
||||||
|
you must either include a machine-readable <link
|
||||||
|
linkend="fdl-transparent">Transparent</link> copy along with
|
||||||
|
each Opaque copy, or state in or with each Opaque copy a
|
||||||
|
publicly-accessible computer-network location containing a
|
||||||
|
complete Transparent copy of the Document, free of added
|
||||||
|
material, which the general network-using public has access to
|
||||||
|
download anonymously at no charge using public-standard network
|
||||||
|
protocols. If you use the latter option, you must take
|
||||||
|
reasonably prudent steps, when you begin distribution of Opaque
|
||||||
|
copies in quantity, to ensure that this Transparent copy will
|
||||||
|
remain thus accessible at the stated location until at least one
|
||||||
|
year after the last time you distribute an Opaque copy (directly
|
||||||
|
or through your agents or retailers) of that edition to the
|
||||||
|
public.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
It is requested, but not required, that you contact the authors
|
||||||
|
of the <link linkend="fdl-document">Document</link> well before
|
||||||
|
redistributing any large number of copies, to give them a chance
|
||||||
|
to provide you with an updated version of the Document.
|
||||||
|
</para>
|
||||||
|
</sect1>
|
||||||
|
|
||||||
|
<sect1 id="fdl-section4">
|
||||||
|
<title>4. MODIFICATIONS</title>
|
||||||
|
<para>
|
||||||
|
You may copy and distribute a <link
|
||||||
|
linkend="fdl-modified">Modified Version</link> of the <link
|
||||||
|
linkend="fdl-document">Document</link> under the conditions of
|
||||||
|
sections <link linkend="fdl-section2">2</link> and <link
|
||||||
|
linkend="fdl-section3">3</link> above, provided that you release
|
||||||
|
the Modified Version under precisely this License, with the
|
||||||
|
Modified Version filling the role of the Document, thus
|
||||||
|
licensing distribution and modification of the Modified Version
|
||||||
|
to whoever possesses a copy of it. In addition, you must do
|
||||||
|
these things in the Modified Version:
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<itemizedlist mark="opencircle">
|
||||||
|
<listitem>
|
||||||
|
<formalpara>
|
||||||
|
<title>A</title>
|
||||||
|
<para>
|
||||||
|
Use in the <link linkend="fdl-title-page">Title
|
||||||
|
Page</link> (and on the covers, if any) a title distinct
|
||||||
|
from that of the <link
|
||||||
|
linkend="fdl-document">Document</link>, and from those of
|
||||||
|
previous versions (which should, if there were any, be
|
||||||
|
listed in the History section of the Document). You may
|
||||||
|
use the same title as a previous version if the original
|
||||||
|
publisher of that version gives permission.
|
||||||
|
</para>
|
||||||
|
</formalpara>
|
||||||
|
</listitem>
|
||||||
|
|
||||||
|
<listitem>
|
||||||
|
<formalpara>
|
||||||
|
<title>B</title>
|
||||||
|
<para>
|
||||||
|
List on the <link linkend="fdl-title-page">Title
|
||||||
|
Page</link>, as authors, one or more persons or entities
|
||||||
|
responsible for authorship of the modifications in the
|
||||||
|
<link linkend="fdl-modified">Modified Version</link>,
|
||||||
|
together with at least five of the principal authors of
|
||||||
|
the <link linkend="fdl-document">Document</link> (all of
|
||||||
|
its principal authors, if it has less than five).
|
||||||
|
</para>
|
||||||
|
</formalpara>
|
||||||
|
</listitem>
|
||||||
|
|
||||||
|
<listitem>
|
||||||
|
<formalpara>
|
||||||
|
<title>C</title>
|
||||||
|
<para>
|
||||||
|
State on the <link linkend="fdl-title-page">Title
|
||||||
|
Page</link> the name of the publisher of the <link
|
||||||
|
linkend="fdl-modified">Modified Version</link>, as the
|
||||||
|
publisher.
|
||||||
|
</para>
|
||||||
|
</formalpara>
|
||||||
|
</listitem>
|
||||||
|
|
||||||
|
<listitem>
|
||||||
|
<formalpara>
|
||||||
|
<title>D</title>
|
||||||
|
<para>
|
||||||
|
Preserve all the copyright notices of the <link
|
||||||
|
linkend="fdl-document">Document</link>.
|
||||||
|
</para>
|
||||||
|
</formalpara>
|
||||||
|
</listitem>
|
||||||
|
|
||||||
|
<listitem>
|
||||||
|
<formalpara>
|
||||||
|
<title>E</title>
|
||||||
|
<para>
|
||||||
|
Add an appropriate copyright notice for your modifications
|
||||||
|
adjacent to the other copyright notices.
|
||||||
|
</para>
|
||||||
|
</formalpara>
|
||||||
|
</listitem>
|
||||||
|
|
||||||
|
<listitem>
|
||||||
|
<formalpara>
|
||||||
|
<title>F</title>
|
||||||
|
<para>
|
||||||
|
Include, immediately after the copyright notices, a
|
||||||
|
license notice giving the public permission to use the
|
||||||
|
<link linkend="fdl-modified">Modified Version</link> under
|
||||||
|
the terms of this License, in the form shown in the
|
||||||
|
Addendum below.
|
||||||
|
</para>
|
||||||
|
</formalpara>
|
||||||
|
</listitem>
|
||||||
|
|
||||||
|
<listitem>
|
||||||
|
<formalpara>
|
||||||
|
<title>G</title>
|
||||||
|
<para>
|
||||||
|
Preserve in that license notice the full lists of <link
|
||||||
|
linkend="fdl-invariant"> Invariant Sections</link> and
|
||||||
|
required <link linkend="fdl-cover-texts">Cover
|
||||||
|
Texts</link> given in the <link
|
||||||
|
linkend="fdl-document">Document's</link> license notice.
|
||||||
|
</para>
|
||||||
|
</formalpara>
|
||||||
|
</listitem>
|
||||||
|
|
||||||
|
<listitem>
|
||||||
|
<formalpara>
|
||||||
|
<title>H</title>
|
||||||
|
<para>
|
||||||
|
Include an unaltered copy of this License.
|
||||||
|
</para>
|
||||||
|
</formalpara>
|
||||||
|
</listitem>
|
||||||
|
|
||||||
|
<listitem>
|
||||||
|
<formalpara>
|
||||||
|
<title>I</title>
|
||||||
|
<para>
|
||||||
|
Preserve the section entitled <quote>History</quote>, and
|
||||||
|
its title, and add to it an item stating at least the
|
||||||
|
title, year, new authors, and publisher of the <link
|
||||||
|
linkend="fdl-modified">Modified Version </link>as given on
|
||||||
|
the <link linkend="fdl-title-page">Title Page</link>. If
|
||||||
|
there is no section entitled <quote>History</quote> in the
|
||||||
|
<link linkend="fdl-document">Document</link>, create one
|
||||||
|
stating the title, year, authors, and publisher of the
|
||||||
|
Document as given on its Title Page, then add an item
|
||||||
|
describing the Modified Version as stated in the previous
|
||||||
|
sentence.
|
||||||
|
</para>
|
||||||
|
</formalpara>
|
||||||
|
</listitem>
|
||||||
|
|
||||||
|
<listitem>
|
||||||
|
<formalpara>
|
||||||
|
<title>J</title>
|
||||||
|
<para>
|
||||||
|
Preserve the network location, if any, given in the <link
|
||||||
|
linkend="fdl-document">Document</link> for public access
|
||||||
|
to a <link linkend="fdl-transparent">Transparent</link>
|
||||||
|
copy of the Document, and likewise the network locations
|
||||||
|
given in the Document for previous versions it was based
|
||||||
|
on. These may be placed in the <quote>History</quote>
|
||||||
|
section. You may omit a network location for a work that
|
||||||
|
was published at least four years before the Document
|
||||||
|
itself, or if the original publisher of the version it
|
||||||
|
refers to gives permission.
|
||||||
|
</para>
|
||||||
|
</formalpara>
|
||||||
|
</listitem>
|
||||||
|
|
||||||
|
<listitem>
|
||||||
|
<formalpara>
|
||||||
|
<title>K</title>
|
||||||
|
<para>
|
||||||
|
In any section entitled <quote>Acknowledgements</quote> or
|
||||||
|
<quote>Dedications</quote>, preserve the section's title,
|
||||||
|
and preserve in the section all the substance and tone of
|
||||||
|
each of the contributor acknowledgements and/or
|
||||||
|
dedications given therein.
|
||||||
|
</para>
|
||||||
|
</formalpara>
|
||||||
|
</listitem>
|
||||||
|
|
||||||
|
<listitem>
|
||||||
|
<formalpara>
|
||||||
|
<title>L</title>
|
||||||
|
<para>
|
||||||
|
Preserve all the <link linkend="fdl-invariant">Invariant
|
||||||
|
Sections</link> of the <link
|
||||||
|
linkend="fdl-document">Document</link>, unaltered in their
|
||||||
|
text and in their titles. Section numbers or the
|
||||||
|
equivalent are not considered part of the section titles.
|
||||||
|
</para>
|
||||||
|
</formalpara>
|
||||||
|
</listitem>
|
||||||
|
|
||||||
|
<listitem>
|
||||||
|
<formalpara>
|
||||||
|
<title>M</title>
|
||||||
|
<para>
|
||||||
|
Delete any section entitled
|
||||||
|
<quote>Endorsements</quote>. Such a section may not be
|
||||||
|
included in the <link linkend="fdl-modified">Modified
|
||||||
|
Version</link>.
|
||||||
|
</para>
|
||||||
|
</formalpara>
|
||||||
|
</listitem>
|
||||||
|
|
||||||
|
<listitem>
|
||||||
|
<formalpara>
|
||||||
|
<title>N</title>
|
||||||
|
<para>
|
||||||
|
Do not retitle any existing section as
|
||||||
|
<quote>Endorsements</quote> or to conflict in title with
|
||||||
|
any <link linkend="fdl-invariant">Invariant
|
||||||
|
Section</link>.
|
||||||
|
</para>
|
||||||
|
</formalpara>
|
||||||
|
</listitem>
|
||||||
|
</itemizedlist>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
If the <link linkend="fdl-modified">Modified Version</link>
|
||||||
|
includes new front-matter sections or appendices that qualify as
|
||||||
|
<link linkend="fdl-secondary">Secondary Sections</link> and
|
||||||
|
contain no material copied from the Document, you may at your
|
||||||
|
option designate some or all of these sections as invariant. To
|
||||||
|
do this, add their titles to the list of <link
|
||||||
|
linkend="fdl-invariant">Invariant Sections</link> in the
|
||||||
|
Modified Version's license notice. These titles must be
|
||||||
|
distinct from any other section titles.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
You may add a section entitled <quote>Endorsements</quote>,
|
||||||
|
provided it contains nothing but endorsements of your <link
|
||||||
|
linkend="fdl-modified">Modified Version</link> by various
|
||||||
|
parties--for example, statements of peer review or that the text
|
||||||
|
has been approved by an organization as the authoritative
|
||||||
|
definition of a standard.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
You may add a passage of up to five words as a <link
|
||||||
|
linkend="fdl-cover-texts">Front-Cover Text</link>, and a passage
|
||||||
|
of up to 25 words as a <link
|
||||||
|
linkend="fdl-cover-texts">Back-Cover Text</link>, to the end of
|
||||||
|
the list of <link linkend="fdl-cover-texts">Cover Texts</link>
|
||||||
|
in the <link linkend="fdl-modified">Modified Version</link>.
|
||||||
|
Only one passage of Front-Cover Text and one of Back-Cover Text
|
||||||
|
may be added by (or through arrangements made by) any one
|
||||||
|
entity. If the <link linkend="fdl-document">Document</link>
|
||||||
|
already includes a cover text for the same cover, previously
|
||||||
|
added by you or by arrangement made by the same entity you are
|
||||||
|
acting on behalf of, you may not add another; but you may
|
||||||
|
replace the old one, on explicit permission from the previous
|
||||||
|
publisher that added the old one.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
The author(s) and publisher(s) of the <link
|
||||||
|
linkend="fdl-document">Document</link> do not by this License
|
||||||
|
give permission to use their names for publicity for or to
|
||||||
|
assert or imply endorsement of any <link
|
||||||
|
linkend="fdl-modified">Modified Version </link>.
|
||||||
|
</para>
|
||||||
|
</sect1>
|
||||||
|
|
||||||
|
<sect1 id="fdl-section5">
|
||||||
|
<title>5. COMBINING DOCUMENTS</title>
|
||||||
|
<para>
|
||||||
|
You may combine the <link linkend="fdl-document">Document</link>
|
||||||
|
with other documents released under this License, under the
|
||||||
|
terms defined in <link linkend="fdl-section4">section 4</link>
|
||||||
|
above for modified versions, provided that you include in the
|
||||||
|
combination all of the <link linkend="fdl-invariant">Invariant
|
||||||
|
Sections</link> of all of the original documents, unmodified,
|
||||||
|
and list them all as Invariant Sections of your combined work in
|
||||||
|
its license notice.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
The combined work need only contain one copy of this License,
|
||||||
|
and multiple identical <link linkend="fdl-invariant">Invariant
|
||||||
|
Sections</link> may be replaced with a single copy. If there are
|
||||||
|
multiple Invariant Sections with the same name but different
|
||||||
|
contents, make the title of each such section unique by adding
|
||||||
|
at the end of it, in parentheses, the name of the original
|
||||||
|
author or publisher of that section if known, or else a unique
|
||||||
|
number. Make the same adjustment to the section titles in the
|
||||||
|
list of Invariant Sections in the license notice of the combined
|
||||||
|
work.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
In the combination, you must combine any sections entitled
|
||||||
|
<quote>History</quote> in the various original documents,
|
||||||
|
forming one section entitled <quote>History</quote>; likewise
|
||||||
|
combine any sections entitled <quote>Acknowledgements</quote>,
|
||||||
|
and any sections entitled <quote>Dedications</quote>. You must
|
||||||
|
delete all sections entitled <quote>Endorsements.</quote>
|
||||||
|
</para>
|
||||||
|
</sect1>
|
||||||
|
|
||||||
|
<sect1 id="fdl-section6">
|
||||||
|
<title>6. COLLECTIONS OF DOCUMENTS</title>
|
||||||
|
<para>
|
||||||
|
You may make a collection consisting of the <link
|
||||||
|
linkend="fdl-document">Document</link> and other documents
|
||||||
|
released under this License, and replace the individual copies
|
||||||
|
of this License in the various documents with a single copy that
|
||||||
|
is included in the collection, provided that you follow the
|
||||||
|
rules of this License for verbatim copying of each of the
|
||||||
|
documents in all other respects.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
You may extract a single document from such a collection, and
|
||||||
|
dispbibute it individually under this License, provided you
|
||||||
|
insert a copy of this License into the extracted document, and
|
||||||
|
follow this License in all other respects regarding verbatim
|
||||||
|
copying of that document.
|
||||||
|
</para>
|
||||||
|
</sect1>
|
||||||
|
|
||||||
|
<sect1 id="fdl-section7">
|
||||||
|
<title>7. AGGREGATION WITH INDEPENDENT WORKS</title>
|
||||||
|
<para>
|
||||||
|
A compilation of the <link
|
||||||
|
linkend="fdl-document">Document</link> or its derivatives with
|
||||||
|
other separate and independent documents or works, in or on a
|
||||||
|
volume of a storage or distribution medium, does not as a whole
|
||||||
|
count as a <link linkend="fdl-modified">Modified Version</link>
|
||||||
|
of the Document, provided no compilation copyright is claimed
|
||||||
|
for the compilation. Such a compilation is called an
|
||||||
|
<quote>aggregate</quote>, and this License does not apply to the
|
||||||
|
other self-contained works thus compiled with the Document , on
|
||||||
|
account of their being thus compiled, if they are not themselves
|
||||||
|
derivative works of the Document. If the <link
|
||||||
|
linkend="fdl-cover-texts">Cover Text</link> requirement of <link
|
||||||
|
linkend="fdl-section3">section 3</link> is applicable to these
|
||||||
|
copies of the Document, then if the Document is less than one
|
||||||
|
quarter of the entire aggregate, the Document's Cover Texts may
|
||||||
|
be placed on covers that surround only the Document within the
|
||||||
|
aggregate. Otherwise they must appear on covers around the whole
|
||||||
|
aggregate.
|
||||||
|
</para>
|
||||||
|
</sect1>
|
||||||
|
|
||||||
|
<sect1 id="fdl-section8">
|
||||||
|
<title>8. TRANSLATION</title>
|
||||||
|
<para>
|
||||||
|
Translation is considered a kind of modification, so you may
|
||||||
|
distribute translations of the <link
|
||||||
|
linkend="fdl-document">Document</link> under the terms of <link
|
||||||
|
linkend="fdl-section4">section 4</link>. Replacing <link
|
||||||
|
linkend="fdl-invariant"> Invariant Sections</link> with
|
||||||
|
translations requires special permission from their copyright
|
||||||
|
holders, but you may include translations of some or all
|
||||||
|
Invariant Sections in addition to the original versions of these
|
||||||
|
Invariant Sections. You may include a translation of this
|
||||||
|
License provided that you also include the original English
|
||||||
|
version of this License. In case of a disagreement between the
|
||||||
|
translation and the original English version of this License,
|
||||||
|
the original English version will prevail.
|
||||||
|
</para>
|
||||||
|
</sect1>
|
||||||
|
|
||||||
|
<sect1 id="fdl-section9">
|
||||||
|
<title>9. TERMINATION</title>
|
||||||
|
<para>
|
||||||
|
You may not copy, modify, sublicense, or distribute the <link
|
||||||
|
linkend="fdl-document">Document</link> except as expressly
|
||||||
|
provided for under this License. Any other attempt to copy,
|
||||||
|
modify, sublicense or distribute the Document is void, and will
|
||||||
|
automatically terminate your rights under this License. However,
|
||||||
|
parties who have received copies, or rights, from you under this
|
||||||
|
License will not have their licenses terminated so long as such
|
||||||
|
parties remain in full compliance.
|
||||||
|
</para>
|
||||||
|
</sect1>
|
||||||
|
|
||||||
|
<sect1 id="fdl-section10">
|
||||||
|
<title>10. FUTURE REVISIONS OF THIS LICENSE</title>
|
||||||
|
<para>
|
||||||
|
The <ulink type="http"
|
||||||
|
url="http://www.gnu.org/fsf/fsf.html">Free Software
|
||||||
|
Foundation</ulink> may publish new, revised versions of the GNU
|
||||||
|
Free Documentation License from time to time. Such new versions
|
||||||
|
will be similar in spirit to the present version, but may differ
|
||||||
|
in detail to address new problems or concerns. See <ulink
|
||||||
|
type="http"
|
||||||
|
url="http://www.gnu.org/copyleft">http://www.gnu.org/copyleft/</ulink>.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
Each version of the License is given a distinguishing version
|
||||||
|
number. If the <link linkend="fdl-document">Document</link>
|
||||||
|
specifies that a particular numbered version of this License
|
||||||
|
<quote>or any later version</quote> applies to it, you have the
|
||||||
|
option of following the terms and conditions either of that
|
||||||
|
specified version or of any later version that has been
|
||||||
|
published (not as a draft) by the Free Software Foundation. If
|
||||||
|
the Document does not specify a version number of this License,
|
||||||
|
you may choose any version ever published (not as a draft) by
|
||||||
|
the Free Software Foundation.
|
||||||
|
</para>
|
||||||
|
</sect1>
|
||||||
|
|
||||||
|
<sect1 id="fdl-using">
|
||||||
|
<title>Addendum</title>
|
||||||
|
<para>
|
||||||
|
To use this License in a document you have written, include a copy of
|
||||||
|
the License in the document and put the following copyright and
|
||||||
|
license notices just after the title page:
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<blockquote>
|
||||||
|
<para>
|
||||||
|
Copyright YEAR YOUR NAME.
|
||||||
|
</para>
|
||||||
|
<para>
|
||||||
|
Permission is granted to copy, distribute and/or modify this
|
||||||
|
document under the terms of the GNU Free Documentation
|
||||||
|
License, Version 1.1 or any later version published by the
|
||||||
|
Free Software Foundation; with the <link
|
||||||
|
linkend="fdl-invariant">Invariant Sections</link> being LIST
|
||||||
|
THEIR TITLES, with the <link
|
||||||
|
linkend="fdl-cover-texts">Front-Cover Texts</link> being LIST,
|
||||||
|
and with the <link linkend="fdl-cover-texts">Back-Cover
|
||||||
|
Texts</link> being LIST. A copy of the license is included in
|
||||||
|
the section entitled <quote>GNU Free Documentation
|
||||||
|
License</quote>.
|
||||||
|
</para>
|
||||||
|
</blockquote>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
If you have no <link linkend="fdl-invariant">Invariant
|
||||||
|
Sections</link>, write <quote>with no Invariant Sections</quote>
|
||||||
|
instead of saying which ones are invariant. If you have no
|
||||||
|
<link linkend="fdl-cover-texts">Front-Cover Texts</link>, write
|
||||||
|
<quote>no Front-Cover Texts</quote> instead of
|
||||||
|
<quote>Front-Cover Texts being LIST</quote>; likewise for <link
|
||||||
|
linkend="fdl-cover-texts">Back-Cover Texts</link>.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
If your document contains nontrivial examples of program code,
|
||||||
|
we recommend releasing these examples in parallel under your
|
||||||
|
choice of free software license, such as the <ulink type="http"
|
||||||
|
url="http://www.gnu.org/copyleft/gpl.html"> GNU General Public
|
||||||
|
License</ulink>, to permit their use in free software.
|
||||||
|
</para>
|
||||||
|
</sect1>
|
||||||
|
</appendix>
|
||||||
|
|
||||||
|
|
BIN
help/virt-manager/C/figures/vm-connection-window.png
Executable file
BIN
help/virt-manager/C/figures/vm-connection-window.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 19 KiB |
BIN
help/virt-manager/C/figures/vm-manager-window.png
Executable file
BIN
help/virt-manager/C/figures/vm-manager-window.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 34 KiB |
76
help/virt-manager/C/legal.xml
Normal file
76
help/virt-manager/C/legal.xml
Normal file
@ -0,0 +1,76 @@
|
|||||||
|
<legalnotice id="legalnotice">
|
||||||
|
<para>
|
||||||
|
Permission is granted to copy, distribute and/or modify this
|
||||||
|
document under the terms of the GNU Free Documentation
|
||||||
|
License (GFDL), Version 1.1 or any later version published
|
||||||
|
by the Free Software Foundation with no Invariant Sections,
|
||||||
|
no Front-Cover Texts, and no Back-Cover Texts. You can find
|
||||||
|
a copy of the GFDL at this <ulink type="help"
|
||||||
|
url="ghelp:fdl">link</ulink> or in the file COPYING-DOCS
|
||||||
|
distributed with this manual.
|
||||||
|
</para>
|
||||||
|
<para> This manual is part of a collection of GNOME manuals
|
||||||
|
distributed under the GFDL. If you want to distribute this
|
||||||
|
manual separately from the collection, you can do so by
|
||||||
|
adding a copy of the license to the manual, as described in
|
||||||
|
section 6 of the license.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
Many of the names used by companies to distinguish their
|
||||||
|
products and services are claimed as trademarks. Where those
|
||||||
|
names appear in any GNOME documentation, and the members of
|
||||||
|
the GNOME Documentation Project are made aware of those
|
||||||
|
trademarks, then the names are in capital letters or initial
|
||||||
|
capital letters.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
DOCUMENT AND MODIFIED VERSIONS OF THE DOCUMENT ARE PROVIDED
|
||||||
|
UNDER THE TERMS OF THE GNU FREE DOCUMENTATION LICENSE
|
||||||
|
WITH THE FURTHER UNDERSTANDING THAT:
|
||||||
|
|
||||||
|
<orderedlist>
|
||||||
|
<listitem>
|
||||||
|
<para>DOCUMENT IS PROVIDED ON AN "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR
|
||||||
|
IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES
|
||||||
|
THAT THE DOCUMENT OR MODIFIED VERSION OF THE
|
||||||
|
DOCUMENT IS FREE OF DEFECTS MERCHANTABLE, FIT FOR
|
||||||
|
A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE
|
||||||
|
RISK AS TO THE QUALITY, ACCURACY, AND PERFORMANCE
|
||||||
|
OF THE DOCUMENT OR MODIFIED VERSION OF THE
|
||||||
|
DOCUMENT IS WITH YOU. SHOULD ANY DOCUMENT OR
|
||||||
|
MODIFIED VERSION PROVE DEFECTIVE IN ANY RESPECT,
|
||||||
|
YOU (NOT THE INITIAL WRITER, AUTHOR OR ANY
|
||||||
|
CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY
|
||||||
|
SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
|
||||||
|
OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS
|
||||||
|
LICENSE. NO USE OF ANY DOCUMENT OR MODIFIED
|
||||||
|
VERSION OF THE DOCUMENT IS AUTHORIZED HEREUNDER
|
||||||
|
EXCEPT UNDER THIS DISCLAIMER; AND
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para>UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL
|
||||||
|
THEORY, WHETHER IN TORT (INCLUDING NEGLIGENCE),
|
||||||
|
CONTRACT, OR OTHERWISE, SHALL THE AUTHOR,
|
||||||
|
INITIAL WRITER, ANY CONTRIBUTOR, OR ANY
|
||||||
|
DISTRIBUTOR OF THE DOCUMENT OR MODIFIED VERSION
|
||||||
|
OF THE DOCUMENT, OR ANY SUPPLIER OF ANY OF SUCH
|
||||||
|
PARTIES, BE LIABLE TO ANY PERSON FOR ANY
|
||||||
|
DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR
|
||||||
|
CONSEQUENTIAL DAMAGES OF ANY CHARACTER
|
||||||
|
INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS
|
||||||
|
OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR
|
||||||
|
MALFUNCTION, OR ANY AND ALL OTHER DAMAGES OR
|
||||||
|
LOSSES ARISING OUT OF OR RELATING TO USE OF THE
|
||||||
|
DOCUMENT AND MODIFIED VERSIONS OF THE DOCUMENT,
|
||||||
|
EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF
|
||||||
|
THE POSSIBILITY OF SUCH DAMAGES.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
</orderedlist>
|
||||||
|
</para>
|
||||||
|
</legalnotice>
|
||||||
|
|
27
help/virt-manager/C/virt-manager-C.omf
Normal file
27
help/virt-manager/C/virt-manager-C.omf
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
<?xml version="1.0" standalone="no"?>
|
||||||
|
<omf>
|
||||||
|
<resource>
|
||||||
|
<creator>
|
||||||
|
hbrock@redhat.com (Hugh Brock)
|
||||||
|
</creator>
|
||||||
|
<title>
|
||||||
|
Virtual Machine Manager Manual
|
||||||
|
</title>
|
||||||
|
<date>
|
||||||
|
2007-03-01
|
||||||
|
</date>
|
||||||
|
<version identifier="0.0.1" date="2007-03-01" description="First Release"/>
|
||||||
|
<subject category="GNOME|Applications|System Tools"/>
|
||||||
|
<description>
|
||||||
|
This is the manual for the Virtual Machine Manager application.
|
||||||
|
</description>
|
||||||
|
<type>
|
||||||
|
manual
|
||||||
|
</type>
|
||||||
|
<format mime="text/xml" dtd="-//OASIS//DTD DocBook XML V4.1.2//EN"/>
|
||||||
|
<identifier url=""/>
|
||||||
|
<language code="C"/>
|
||||||
|
<relation seriesid="37dd0df4-cd98-11db-8f4f-fd6860e92e9b"/>
|
||||||
|
<rights type="GNU FDL" license.version="1.1" license="http://www.gnu.org/licenses/fdl.html" holder="Red Hat Inc., and Hugh Brock"/>
|
||||||
|
</resource>
|
||||||
|
</omf>
|
519
help/virt-manager/C/virt-manager.xml
Normal file
519
help/virt-manager/C/virt-manager.xml
Normal file
@ -0,0 +1,519 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
|
||||||
|
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
|
||||||
|
<!ENTITY legal SYSTEM "legal.xml">
|
||||||
|
<!ENTITY GFDL SYSTEM "fdl-appendix.xml">
|
||||||
|
<!ENTITY appversion "0.3.0">
|
||||||
|
<!ENTITY manrevision "0.1">
|
||||||
|
<!ENTITY date "March 2007">
|
||||||
|
<!ENTITY app "virt-manager">
|
||||||
|
]>
|
||||||
|
<!--
|
||||||
|
(Do not remove this comment block.)
|
||||||
|
Template Maintained by the GNOME Documentation Project:
|
||||||
|
http://developer.gnome.org/projects/gdp
|
||||||
|
Template version: 2.0 beta
|
||||||
|
Template last modified Feb 12, 2002
|
||||||
|
-->
|
||||||
|
|
||||||
|
|
||||||
|
<!--
|
||||||
|
(Do not remove this comment block.)
|
||||||
|
Version: 0.0.1
|
||||||
|
Last modified: March 2, 2007
|
||||||
|
Maintainers:
|
||||||
|
Hugh Brock <hbrock@redhat.com>
|
||||||
|
Dan Berrange <berrange@redhat.com>
|
||||||
|
Translators:
|
||||||
|
(translators put your name and email here)
|
||||||
|
-->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- =============Document Header ============================= -->
|
||||||
|
<article id="index" lang="en">
|
||||||
|
<!-- please do not change the id; for translations, change lang to -->
|
||||||
|
<!-- appropriate code -->
|
||||||
|
|
||||||
|
<articleinfo>
|
||||||
|
<title>Virtual Machine Manager Manual</title>
|
||||||
|
<copyright>
|
||||||
|
<year>2007</year>
|
||||||
|
<holder>Red Hat Inc., and Hugh Brock</holder>
|
||||||
|
</copyright>
|
||||||
|
|
||||||
|
<!-- translators: uncomment this:
|
||||||
|
|
||||||
|
<copyright>
|
||||||
|
<year>2000</year>
|
||||||
|
<holder>ME-THE-TRANSLATOR (Latin translation)</holder>
|
||||||
|
</copyright>
|
||||||
|
|
||||||
|
-->
|
||||||
|
<!-- An address can be added to the publisher information. If a role is
|
||||||
|
not specified, the publisher/author is the same for all versions of the
|
||||||
|
document. -->
|
||||||
|
<publisher>
|
||||||
|
<publishername> Red Hat Inc. </publishername>
|
||||||
|
</publisher>
|
||||||
|
|
||||||
|
&legal;
|
||||||
|
<!-- This file contains link to license for the documentation (GNU FDL), and
|
||||||
|
other legal stuff such as "NO WARRANTY" statement. Please do not change
|
||||||
|
any of this. -->
|
||||||
|
|
||||||
|
<authorgroup>
|
||||||
|
<author>
|
||||||
|
<firstname>Hugh</firstname>
|
||||||
|
<surname>Brock</surname>
|
||||||
|
<affiliation>
|
||||||
|
<orgname>Red Hat Inc.</orgname>
|
||||||
|
<address> <email>hbrock@redhat.com</email> </address>
|
||||||
|
</affiliation>
|
||||||
|
</author>
|
||||||
|
<author>
|
||||||
|
<firstname>Daniel</firstname>
|
||||||
|
<surname>Berrange</surname>
|
||||||
|
<affiliation>
|
||||||
|
<orgname>Red Hat Inc.</orgname>
|
||||||
|
<address> <email>berrange@redhat.com</email> </address>
|
||||||
|
</affiliation>
|
||||||
|
</author>
|
||||||
|
<!-- This is appropriate place for other contributors: translators,
|
||||||
|
maintainers, etc. Commented out by default.
|
||||||
|
<othercredit role="translator">
|
||||||
|
<firstname>Latin</firstname>
|
||||||
|
<surname>Translator 1</surname>
|
||||||
|
<affiliation>
|
||||||
|
<orgname>Latin Translation Team</orgname>
|
||||||
|
<address> <email>translator@gnome.org</email> </address>
|
||||||
|
</affiliation>
|
||||||
|
<contrib>Latin translation</contrib>
|
||||||
|
</othercredit>
|
||||||
|
-->
|
||||||
|
</authorgroup>
|
||||||
|
|
||||||
|
<!-- According to GNU FDL, revision history is mandatory if you are -->
|
||||||
|
<!-- modifying/reusing someone else's document. If not, you can omit it. -->
|
||||||
|
<!-- Remember to remove the &manrevision; entity from the revision entries other
|
||||||
|
-->
|
||||||
|
<!-- than the current revision. -->
|
||||||
|
<!-- The revision numbering system for GNOME manuals is as follows: -->
|
||||||
|
<!-- * the revision number consists of two components -->
|
||||||
|
<!-- * the first component of the revision number reflects the release version of the GNOME desktop. -->
|
||||||
|
<!-- * the second component of the revision number is a decimal unit that is incremented with each revision of the manual. -->
|
||||||
|
<!-- For example, if the GNOME desktop release is V2.x, the first version of the manual that -->
|
||||||
|
<!-- is written in that desktop timeframe is V2.0, the second version of the manual is V2.1, etc. -->
|
||||||
|
<!-- When the desktop release version changes to V3.x, the revision number of the manual changes -->
|
||||||
|
<!-- to V3.0, and so on. -->
|
||||||
|
<!--
|
||||||
|
<revhistory>
|
||||||
|
<revision>
|
||||||
|
<revnumber>&app; Manual V&manrevision;</revnumber>
|
||||||
|
<date>&date;</date>
|
||||||
|
<revdescription>
|
||||||
|
<para role="author">Documentation Writer 2
|
||||||
|
<email>docwriter2@gnome.org</email>
|
||||||
|
</para>
|
||||||
|
<para role="publisher">GNOME Documentation Project</para>
|
||||||
|
</revdescription>
|
||||||
|
</revision>
|
||||||
|
<revision>
|
||||||
|
<revnumber>Full title of previous manual.</revnumber>
|
||||||
|
<date>Release date of previous manual.</date>
|
||||||
|
<revdescription>
|
||||||
|
<para role="author">Documentation Writer 1
|
||||||
|
<email>docwriter1@gnome.org</email>
|
||||||
|
</para>
|
||||||
|
<para role="publisher">GNOME Documentation Project</para>
|
||||||
|
</revdescription>
|
||||||
|
</revision>
|
||||||
|
</revhistory>
|
||||||
|
-->
|
||||||
|
<releaseinfo>This manual describes how to manage virtual machines
|
||||||
|
with the Virtual Machine Manager program.
|
||||||
|
</releaseinfo>
|
||||||
|
<legalnotice>
|
||||||
|
<title>Feedback</title>
|
||||||
|
<para>To report a bug or make a suggestion regarding this package or
|
||||||
|
this manual, follow the directions in the
|
||||||
|
<ulink url="ghelp:gnome-feedback"
|
||||||
|
type="help">GNOME Feedback Page</ulink>.
|
||||||
|
</para>
|
||||||
|
<!-- Translators may also add here feedback address for translations -->
|
||||||
|
</legalnotice>
|
||||||
|
</articleinfo>
|
||||||
|
|
||||||
|
<!-- ============= Document Body ============================= -->
|
||||||
|
<!-- ============= Introduction ============================== -->
|
||||||
|
<sect1 id="intro">
|
||||||
|
<title>Introduction</title>
|
||||||
|
|
||||||
|
<sect2 id="about-virt-manager">
|
||||||
|
<title>About <application>&app;</application></title>
|
||||||
|
<indexterm>
|
||||||
|
<primary>virt-manager</primary>
|
||||||
|
<secondary>About</secondary>
|
||||||
|
</indexterm>
|
||||||
|
<para>
|
||||||
|
<application>&app;</application> is a GUI tool for managing virtual
|
||||||
|
machines. It helps you create, destroy, edit, monitor, save, restore,
|
||||||
|
pause, and use the console on virtual machines running on multiple
|
||||||
|
hypervisors (and, soon, multiple physical hosts). Because
|
||||||
|
<application>&app;</application> relies entirely on
|
||||||
|
<application>libvirt</application> (<ulink type="http"
|
||||||
|
url="http://libvirt.org">http://libvirt.org</ulink>), the platform- and
|
||||||
|
hypervisor-independent virtualization library, it is insulated from
|
||||||
|
hypervisor API changes and virtualization system changes.
|
||||||
|
</para>
|
||||||
|
<para>
|
||||||
|
<application>&app;</application> is released under the GNU General Public
|
||||||
|
License. Contributions of source code patches are welcome and encouraged
|
||||||
|
at <ulink type="http"
|
||||||
|
url="http://virt-manager.org">virt-manager.org</ulink>, where you will
|
||||||
|
also find plans for future development.
|
||||||
|
</para>
|
||||||
|
</sect2>
|
||||||
|
<sect2 id="aboutex">
|
||||||
|
<title>About this Document</title>
|
||||||
|
<para>
|
||||||
|
This document is released under the GNU Free Documentation
|
||||||
|
License. Corrections are welcome and encouraged at <ulink type="http"
|
||||||
|
url="http://virt-manager.org">virt-manager.org</ulink>.
|
||||||
|
</para>
|
||||||
|
</sect2>
|
||||||
|
</sect1>
|
||||||
|
|
||||||
|
<sect1 id="getting-started">
|
||||||
|
<title>Getting Started</title>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
This section describes the different ways to start
|
||||||
|
<application>&app;</application>, the command-line options that are
|
||||||
|
available, and the various options in the Connection window.
|
||||||
|
</para>
|
||||||
|
<sect2 id="starting-virt-manager">
|
||||||
|
<title>Starting virt-manager</title>
|
||||||
|
<para>You can start
|
||||||
|
virt-manager from the Applications menu or from the command
|
||||||
|
line</para>
|
||||||
|
<variablelist>
|
||||||
|
<varlistentry>
|
||||||
|
From the <term><guimenu>Applications</guimenu> menu</term>:
|
||||||
|
<listitem>
|
||||||
|
<para>Choose <menuchoice><guisubmenu>System
|
||||||
|
Tools</guisubmenu><guimenuitem>Virtual Machine Manager</guimenuitem></menuchoice>. </para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
<varlistentry>
|
||||||
|
From the <term>command line</term>:
|
||||||
|
<listitem>
|
||||||
|
<para>Execute the following command: <command>virt-manager</command></para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
</variablelist>
|
||||||
|
</sect2>
|
||||||
|
|
||||||
|
<sect2 id="connection-window">
|
||||||
|
<title>The Connection Window</title>
|
||||||
|
<para>The connection window
|
||||||
|
lets you choose the type of hypervisor to connect to, and also
|
||||||
|
whether to connect locally or to a remote machine.</para>
|
||||||
|
<para>When you start <application>&app;</application>, the following window is displayed:</para>
|
||||||
|
|
||||||
|
<figure id="virt-manager-connection-window">
|
||||||
|
<title>Connection Window</title>
|
||||||
|
<screenshot>
|
||||||
|
<mediaobject>
|
||||||
|
<imageobject>
|
||||||
|
<imagedata fileref="figures/vm-connection-window.png" format="PNG"/>
|
||||||
|
</imageobject>
|
||||||
|
<textobject> <phrase>Shows &app; connection window.</phrase>
|
||||||
|
</textobject>
|
||||||
|
</mediaobject>
|
||||||
|
</screenshot>
|
||||||
|
</figure>
|
||||||
|
|
||||||
|
<para>The Connection Window contains the following
|
||||||
|
elements: </para>
|
||||||
|
<variablelist>
|
||||||
|
<varlistentry> <term>Hypervisor pull-down</term>
|
||||||
|
<listitem>
|
||||||
|
<para>The Hypervisor pull-down lets you choose a supported hypervisor to
|
||||||
|
connect to. The hypervisor must be started before you can connect to it.</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
<varlistentry> <term>"Host Type" radio buttons</term>
|
||||||
|
<listitem>
|
||||||
|
<para>The "Host Type" radio buttons let you choose whether to connect to
|
||||||
|
a hypervisor on the local physical host, or (soon) a hypervisor on a
|
||||||
|
remote physical host.</para>
|
||||||
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para>The "Host" box lets you enter the hostname of a remote host to
|
||||||
|
connect to.</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
<varlistentry> <term>Read-only connection</term>
|
||||||
|
<listitem>
|
||||||
|
<para>Checking "Read-only connection" will allow you to
|
||||||
|
monitor a hypervisor's virtual machines, but not make any changes to
|
||||||
|
them. If you are running as an unprivileged user, you may only be able
|
||||||
|
to connect to certain hypervisors read-only.</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
</variablelist>
|
||||||
|
</sect2>
|
||||||
|
<sect2 id="command-line">
|
||||||
|
<title>Command-line Options</title>
|
||||||
|
<para>If you run &app; from the command line, you can specify a hypervisor
|
||||||
|
URI to connect to, bypassing the Connection Window. You can also make
|
||||||
|
specific &app; windows appear using the command line, if you have already
|
||||||
|
established a connection to a hypervisor. The command line options are:</para>
|
||||||
|
<itemizedlist>
|
||||||
|
<listitem><para><command>-h, --help</command>: show command line help and exit</para>
|
||||||
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para><command>--profile=FILE</command>: Generate runtime performance profile stats</para>
|
||||||
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para><command>-c URI, --connect=URI</command>: Connect to hypervisor at
|
||||||
|
URI</para>
|
||||||
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para><command>--no-dbus</command>: Disable DBus service for controlling
|
||||||
|
UI</para>
|
||||||
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para><command>--show-domain-creator</command>: Create a new virtual
|
||||||
|
machine</para>
|
||||||
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para><command>--show-domain-editor=UUID</command>: Edit a domain
|
||||||
|
configuration</para>
|
||||||
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para><command>--show-domain-performance=UUID</command>: Show a domain
|
||||||
|
performance</para>
|
||||||
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para><command>--show-domain-console=UUID</command>: Show a domain
|
||||||
|
console</para>
|
||||||
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para><command>--show-host-summary</command>: Show a host summary</para>
|
||||||
|
</listitem>
|
||||||
|
</itemizedlist>
|
||||||
|
<note>
|
||||||
|
<title>Hypervisor URIs and the test hypervisor</title> <para>To connect to
|
||||||
|
a local Xen hypervisor, the URI is simply "xen" (the
|
||||||
|
default). To connect to a local QEMU session, the URI is
|
||||||
|
"qemu:///session". There is also a test hypervisor that is
|
||||||
|
handy if you are trying to test a new &app; feature you have added. Its
|
||||||
|
URI is "test:///default".</para>
|
||||||
|
</note>
|
||||||
|
</sect2>
|
||||||
|
</sect1>
|
||||||
|
|
||||||
|
<sect1 id="manager-window">
|
||||||
|
<title>The Manager Window</title>
|
||||||
|
<para>The manager window gives you a quick snapshot of the virtual machines
|
||||||
|
that are available on your physical host. It displays both the virtual
|
||||||
|
machines that are actually running
|
||||||
|
on your physical host, and also the virtual machines for which it finds
|
||||||
|
config information even though they are not running. For running virtual
|
||||||
|
machines, the manager window displays the resources those running VMs are
|
||||||
|
consuming. The manager window is customizable as described below.</para>
|
||||||
|
|
||||||
|
<figure id="manager-window-screenshot">
|
||||||
|
<title>Manager Window</title>
|
||||||
|
<screenshot>
|
||||||
|
<mediaobject>
|
||||||
|
<imageobject>
|
||||||
|
<imagedata fileref="figures/vm-manager-window.png" format="PNG"/>
|
||||||
|
</imageobject>
|
||||||
|
<textobject> <phrase>Shows a typical Manager Window.</phrase>
|
||||||
|
</textobject>
|
||||||
|
</mediaobject>
|
||||||
|
</screenshot>
|
||||||
|
</figure>
|
||||||
|
|
||||||
|
<sect2 id="vm-list">
|
||||||
|
<title>The Virtual Machine List</title>
|
||||||
|
<para>The manager window is dominated by a list of the virtual machines on your
|
||||||
|
physical host. By default, the list has six columns of information:</para>
|
||||||
|
<variablelist>
|
||||||
|
<varlistentry><term>ID</term>
|
||||||
|
<listitem>
|
||||||
|
<para>The arbitrarily assigned ID number for the
|
||||||
|
virtual machine. Guaranteed unique only while a virtual machine is
|
||||||
|
running, and only to that particular host.</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
<varlistentry><term>Name</term>
|
||||||
|
<listitem>
|
||||||
|
<para>The name of the virtual machine. Like the ID, guaranteed unique
|
||||||
|
only among running virtual machines on a particular host.</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
<varlistentry><term>Status</term>
|
||||||
|
<listitem>
|
||||||
|
<para>The virtual machine's status. One of <guilabel>Running</guilabel>,
|
||||||
|
<guilabel>Paused</guilabel>, <guilabel>Shutdown</guilabel>,
|
||||||
|
<guilabel>Shutoff</guilabel>, or <guilabel>Crashed</guilabel>.</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
<varlistentry><term>CPU Usage</term>
|
||||||
|
<listitem>
|
||||||
|
<para>The virtual machine's CPU usage, as a percentage of total CPU
|
||||||
|
usage and as a running graph.</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
<varlistentry><term>VCPUs</term>
|
||||||
|
<listitem>
|
||||||
|
<para>The number of VCPUs currently assigned to the guest. This
|
||||||
|
allocation can be changed on the fly for paravirtualized
|
||||||
|
guests.</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
<varlistentry><term>Memory Usage</term>
|
||||||
|
<listitem>
|
||||||
|
<para>The amount of memory allocated to the virtual machine, and the percentage
|
||||||
|
of total physical RAM on the host that the virtual machine is actually
|
||||||
|
using (the percentage will be zero if the guest is not currently
|
||||||
|
running). Note: The amount of memory for a virtual machine is the
|
||||||
|
amount it is currently allocated, not the maximum it could be
|
||||||
|
allocated. See the help for the <xref linkend="details-window"/>.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
</variablelist>
|
||||||
|
</sect2>
|
||||||
|
<sect2 id="file-menu">
|
||||||
|
<title>File Menu Choices</title>
|
||||||
|
<para>The File menu in the Manager window gives you the following
|
||||||
|
options:</para>
|
||||||
|
<variablelist>
|
||||||
|
<varlistentry><term>New machine...</term>
|
||||||
|
<listitem><para>Starts the virtual machine creation wizard. Clicking the
|
||||||
|
<guibutton>New</guibutton> button at the bottom of the window has the
|
||||||
|
same effect.</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
<varlistentry><term>Restore saved machine...</term>
|
||||||
|
<listitem><para>Restores a previously saved virtual machine. You must
|
||||||
|
choose the memory image of a previously saved virtual machine in the
|
||||||
|
dialog that will follow.</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
<varlistentry><term>Open connection...</term>
|
||||||
|
<listitem><para>Brings up the connection window again. You can connect to
|
||||||
|
multiple hypervisors at the same time with
|
||||||
|
<application>&app;</application>. At this writing opening a new
|
||||||
|
connection brings up a new manager window; soon the manager window will
|
||||||
|
display multiple connections to multiple machines.</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
<varlistentry><term>Close</term>
|
||||||
|
<listitem><para>Closes the Manager window. Any other
|
||||||
|
<application>&app;</application> windows you have open will remain open.</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
<varlistentry><term>Quit</term>
|
||||||
|
<listitem><para>Closes the Manager window and any other open windows and
|
||||||
|
stops the application. Note that any virtual machines running on the
|
||||||
|
host will continue running regardless of whether
|
||||||
|
<application>&app;</application> is running or not.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
</variablelist>
|
||||||
|
</sect2>
|
||||||
|
<sect2 id="edit-menu">
|
||||||
|
<title>Edit Menu Choices</title>
|
||||||
|
<para>The choices on the <guimenu>Edit</guimenu> menu are for working with
|
||||||
|
a specific machine, or for changing <application>&app;</application>
|
||||||
|
preferences.</para>
|
||||||
|
<variablelist>
|
||||||
|
<varlistentry><term>Machine details...</term>
|
||||||
|
<listitem><para>Opens the Details window for the virtual machine you have
|
||||||
|
highlighted in the list.</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
<varlistentry><term>Delete machine</term>
|
||||||
|
<listitem><para>Deletes the configuration of an inactive virtual machine you have
|
||||||
|
highlighted in the list. Note that this does not touch the virtual
|
||||||
|
machine's disk storage.</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
<varlistentry><term>Preferences</term>
|
||||||
|
<listitem><para>Brings up the <xref linkend="preferences-window"/></para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
</variablelist>
|
||||||
|
</sect2>
|
||||||
|
<sect2 id="view-menu">
|
||||||
|
<title>View Menu Choices</title>
|
||||||
|
<para>The View Menu choices toggle on and off the virtual machine list
|
||||||
|
columns that are described above.</para>
|
||||||
|
</sect2>
|
||||||
|
</sect1>
|
||||||
|
|
||||||
|
<sect1 id="details-window">
|
||||||
|
<title>The Details Window</title>
|
||||||
|
<para>You manage the details of a specific virtual machine here</para>
|
||||||
|
</sect1>
|
||||||
|
|
||||||
|
<sect1 id="console-window">
|
||||||
|
<title>The Console Window</title>
|
||||||
|
<para>You view the console of a specific virtual machine here</para>
|
||||||
|
</sect1>
|
||||||
|
|
||||||
|
<sect1 id="preferences-window">
|
||||||
|
<title>The Preferences Window</title>
|
||||||
|
<para>You set application preferences here</para>
|
||||||
|
</sect1>
|
||||||
|
|
||||||
|
<sect1 id="create-wizard">
|
||||||
|
<title>The Create Wizard</title>
|
||||||
|
<para>You create new virtual machines here</para>
|
||||||
|
<sect2 id="system-name">
|
||||||
|
<title>The System Name screen</title>
|
||||||
|
<para>Choose a name for your virtual system. The name must be non-blank,
|
||||||
|
alphanumeric (plus underscores), contain at least one letter, and be less
|
||||||
|
than 50 characters.</para>
|
||||||
|
</sect2>
|
||||||
|
|
||||||
|
<sect2 id="virt-method">
|
||||||
|
<title>The Virtualization Method screen</title>
|
||||||
|
<para>Choose a virtualization method for your new system.</para>
|
||||||
|
</sect2>
|
||||||
|
|
||||||
|
<sect2 id="installation-media">
|
||||||
|
<title>The Installation Media screens</title>
|
||||||
|
<para>Choose installation media for your new system.</para>
|
||||||
|
</sect2>
|
||||||
|
|
||||||
|
<sect2 id="storage-space">
|
||||||
|
<title>The Storage Space screen</title>
|
||||||
|
<para>Assign storage space for your new system.</para>
|
||||||
|
</sect2>
|
||||||
|
|
||||||
|
<sect2 id="memory-and-cpu">
|
||||||
|
<title>The Memory And CPU screen</title>
|
||||||
|
<para>Choose memory and cpu for your new system</para>
|
||||||
|
</sect2>
|
||||||
|
|
||||||
|
<sect2 id="begin-installation">
|
||||||
|
<title>The Validation screen</title>
|
||||||
|
<para>Verify the setup for your new system. If you need to, back up and
|
||||||
|
make changes. Clicking "Finish" will begin creating your virtual
|
||||||
|
machine.</para>
|
||||||
|
</sect2>
|
||||||
|
</sect1>
|
||||||
|
|
||||||
|
&GFDL;
|
||||||
|
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
1
help/virt-manager/Makefile.am
Normal file
1
help/virt-manager/Makefile.am
Normal file
@ -0,0 +1 @@
|
|||||||
|
SUBDIRS = C
|
53
omf.make
Normal file
53
omf.make
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
#
|
||||||
|
# No modifications of this Makefile should be necessary.
|
||||||
|
#
|
||||||
|
# This file contains the build instructions for installing OMF files. It is
|
||||||
|
# generally called from the makefiles for particular formats of documentation.
|
||||||
|
#
|
||||||
|
# Note that you must configure your package with --localstatedir=/var/lib
|
||||||
|
# so that the scrollkeeper-update command below will update the database
|
||||||
|
# in the standard scrollkeeper directory.
|
||||||
|
#
|
||||||
|
# If it is impossible to configure with --localstatedir=/var/lib, then
|
||||||
|
# modify the definition of scrollkeeper_localstate_dir so that
|
||||||
|
# it points to the correct location. Note that you must still use
|
||||||
|
# $(localstatedir) in this or when people build RPMs it will update
|
||||||
|
# the real database on their system instead of the one under RPM_BUILD_ROOT.
|
||||||
|
#
|
||||||
|
# Note: This make file is not incorporated into xmldocs.make because, in
|
||||||
|
# general, there will be other documents install besides XML documents
|
||||||
|
# and the makefiles for these formats should also include this file.
|
||||||
|
#
|
||||||
|
# About this file:
|
||||||
|
# This file was taken from scrollkeeper_example2, a package illustrating
|
||||||
|
# how to install documentation and OMF files for use with ScrollKeeper
|
||||||
|
# 0.3.x and 0.4.x. For more information, see:
|
||||||
|
# http://scrollkeeper.sourceforge.net/
|
||||||
|
# Version: 0.1.2 (last updated: March 20, 2002)
|
||||||
|
#
|
||||||
|
|
||||||
|
omf_dest_dir=$(datadir)/omf/@PACKAGE@
|
||||||
|
scrollkeeper_localstate_dir = $(localstatedir)/scrollkeeper
|
||||||
|
|
||||||
|
omf: omf_timestamp
|
||||||
|
|
||||||
|
omf_timestamp: $(omffile)
|
||||||
|
-for file in $(omffile); do \
|
||||||
|
scrollkeeper-preinstall $(docdir)/$(docname).xml $(srcdir)/$$file $$file.out; \
|
||||||
|
done
|
||||||
|
touch omf_timestamp
|
||||||
|
|
||||||
|
install-data-hook-omf:
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(omf_dest_dir)
|
||||||
|
for file in $(omffile); do \
|
||||||
|
$(INSTALL_DATA) $$file.out $(DESTDIR)$(omf_dest_dir)/$$file; \
|
||||||
|
done
|
||||||
|
-scrollkeeper-update -p $(scrollkeeper_localstate_dir) -o $(DESTDIR)$(omf_dest_dir)
|
||||||
|
|
||||||
|
uninstall-local-omf:
|
||||||
|
-for file in $(srcdir)/*.omf; do \
|
||||||
|
basefile=`basename $$file`; \
|
||||||
|
rm -f $(omf_dest_dir)/$$basefile; \
|
||||||
|
done
|
||||||
|
-rmdir $(omf_dest_dir)
|
||||||
|
-scrollkeeper-update -p $(scrollkeeper_localstate_dir)
|
@ -46,6 +46,7 @@ EXTRA_DIST = $(bin_SOURCES) $(desktop_SOURCES) $(dbus_SOURCES) $(python_SOURCES)
|
|||||||
-e "s,::ASSETDIR::,$(pkgdatadir)," \
|
-e "s,::ASSETDIR::,$(pkgdatadir)," \
|
||||||
-e "s,::PYLIBDIR::,$(pkgdatadir)," \
|
-e "s,::PYLIBDIR::,$(pkgdatadir)," \
|
||||||
-e "s,::GETTEXTDIR::,$(datadir)/locale," \
|
-e "s,::GETTEXTDIR::,$(datadir)/locale," \
|
||||||
|
-e "s,::DATADIR::,$(datadir)," \
|
||||||
-e "s,::PYARCHLIBDIR::,$(pkglibdir)," < $< > $@
|
-e "s,::PYARCHLIBDIR::,$(pkglibdir)," < $< > $@
|
||||||
|
|
||||||
$(PACKAGE): $(srcdir)/$(PACKAGE).in
|
$(PACKAGE): $(srcdir)/$(PACKAGE).in
|
||||||
|
@ -81,12 +81,15 @@ glade_dir = asset_dir
|
|||||||
icon_dir = asset_dir + "/pixmaps"
|
icon_dir = asset_dir + "/pixmaps"
|
||||||
pylib_dir = "::PYLIBDIR::"
|
pylib_dir = "::PYLIBDIR::"
|
||||||
pyarchlib_dir = "::PYARCHLIBDIR::"
|
pyarchlib_dir = "::PYARCHLIBDIR::"
|
||||||
|
data_dir = "::DATADIR::"
|
||||||
|
|
||||||
# Hack for dev purposes
|
# Hack for dev purposes
|
||||||
if os.path.exists(os.getcwd() + "/src/vmm-about.glade"):
|
if os.path.exists(os.getcwd() + "/src/vmm-about.glade"):
|
||||||
glade_dir = os.getcwd() + "/src"
|
glade_dir = os.getcwd() + "/src"
|
||||||
if os.path.exists(os.getcwd() + "/pixmaps/icon_run.png"):
|
if os.path.exists(os.getcwd() + "/pixmaps/icon_run.png"):
|
||||||
icon_dir = os.getcwd() + "/pixmaps"
|
icon_dir = os.getcwd() + "/pixmaps"
|
||||||
|
if os.path.exists(os.getcwd() + "../gnome/help/virt-manager/C/virt-manager.xml"):
|
||||||
|
data_dir = os.getcwd() + "../"
|
||||||
|
|
||||||
if os.path.exists(os.getcwd() + "/src/virt-manager.py"):
|
if os.path.exists(os.getcwd() + "/src/virt-manager.py"):
|
||||||
sys.path.insert(0, os.getcwd() + "/src/graphWidgets/.libs")
|
sys.path.insert(0, os.getcwd() + "/src/graphWidgets/.libs")
|
||||||
@ -168,7 +171,7 @@ def main():
|
|||||||
if options.show and options.uri==None:
|
if options.show and options.uri==None:
|
||||||
raise OptionValueError("can't use --show-* options without --connect")
|
raise OptionValueError("can't use --show-* options without --connect")
|
||||||
|
|
||||||
config = vmmConfig(appname, appversion, gconf_dir, glade_dir, icon_dir)
|
config = vmmConfig(appname, appversion, gconf_dir, glade_dir, icon_dir, data_dir)
|
||||||
engine = vmmEngine(config)
|
engine = vmmEngine(config)
|
||||||
if not(options.nodbus) and not( (os.getenv("DBUS_SESSION_BUS_ADDRESS") is None ) and ( os.getenv("DBUS_STARTER_ADDRESS") is None ) ):
|
if not(options.nodbus) and not( (os.getenv("DBUS_SESSION_BUS_ADDRESS") is None ) and ( os.getenv("DBUS_STARTER_ADDRESS") is None ) ):
|
||||||
try:
|
try:
|
||||||
|
@ -33,7 +33,7 @@ CONSOLE_KEYGRAB_FULLSCREEN = 1
|
|||||||
CONSOLE_KEYGRAB_MOUSEOVER = 2
|
CONSOLE_KEYGRAB_MOUSEOVER = 2
|
||||||
|
|
||||||
class vmmConfig:
|
class vmmConfig:
|
||||||
def __init__(self, appname, appversion, gconf_dir, glade_dir, icon_dir):
|
def __init__(self, appname, appversion, gconf_dir, glade_dir, icon_dir, data_dir):
|
||||||
self.appname = appname
|
self.appname = appname
|
||||||
self.appversion = appversion
|
self.appversion = appversion
|
||||||
self.conf_dir = gconf_dir
|
self.conf_dir = gconf_dir
|
||||||
@ -43,6 +43,7 @@ class vmmConfig:
|
|||||||
|
|
||||||
self.glade_dir = glade_dir
|
self.glade_dir = glade_dir
|
||||||
self.icon_dir = icon_dir
|
self.icon_dir = icon_dir
|
||||||
|
self.data_dir = data_dir
|
||||||
# We don't create it straight away, since we don't want
|
# We don't create it straight away, since we don't want
|
||||||
# to block the app pending user authorizaation to access
|
# to block the app pending user authorizaation to access
|
||||||
# the keyring
|
# the keyring
|
||||||
@ -76,6 +77,9 @@ class vmmConfig:
|
|||||||
def get_icon_dir(self):
|
def get_icon_dir(self):
|
||||||
return self.icon_dir
|
return self.icon_dir
|
||||||
|
|
||||||
|
def get_data_dir(self):
|
||||||
|
return self.data_dir
|
||||||
|
|
||||||
def is_vmlist_domain_id_visible(self):
|
def is_vmlist_domain_id_visible(self):
|
||||||
return self.conf.get_bool(self.conf_dir + "/vmlist-fields/domain_id")
|
return self.conf.get_bool(self.conf_dir + "/vmlist-fields/domain_id")
|
||||||
|
|
||||||
|
@ -21,6 +21,7 @@ import gtk
|
|||||||
import sys
|
import sys
|
||||||
import libvirt
|
import libvirt
|
||||||
import logging
|
import logging
|
||||||
|
import gnome
|
||||||
|
|
||||||
from virtManager.about import vmmAbout
|
from virtManager.about import vmmAbout
|
||||||
from virtManager.connect import vmmConnect
|
from virtManager.connect import vmmConnect
|
||||||
@ -166,6 +167,8 @@ class vmmEngine:
|
|||||||
self.show_details(uri, uuid)
|
self.show_details(uri, uuid)
|
||||||
def _do_show_create(self, src, uri):
|
def _do_show_create(self, src, uri):
|
||||||
self.show_create(uri)
|
self.show_create(uri)
|
||||||
|
def _do_show_help(self, src, index):
|
||||||
|
self.show_help(index)
|
||||||
def _do_show_console(self, src, uri, uuid):
|
def _do_show_console(self, src, uri, uuid):
|
||||||
self.show_console(uri, uuid)
|
self.show_console(uri, uuid)
|
||||||
def _do_show_terminal(self, src, uri, uuid):
|
def _do_show_terminal(self, src, uri, uuid):
|
||||||
@ -180,6 +183,15 @@ class vmmEngine:
|
|||||||
self.windowAbout = vmmAbout(self.get_config())
|
self.windowAbout = vmmAbout(self.get_config())
|
||||||
self.windowAbout.show()
|
self.windowAbout.show()
|
||||||
|
|
||||||
|
def show_help(self, index):
|
||||||
|
try:
|
||||||
|
props = { gnome.PARAM_APP_DATADIR : self.config.get_data_dir()}
|
||||||
|
prog = gnome.program_init(self.config.get_appname(), self.config.get_appversion(), \
|
||||||
|
properties=props)
|
||||||
|
gnome.help_display(self.config.get_appname(), index)
|
||||||
|
except gobject.GError, e:
|
||||||
|
logging.error((("Unable to display documentation:\n%s") % e))
|
||||||
|
|
||||||
def show_preferences(self):
|
def show_preferences(self):
|
||||||
if self.windowPreferences == None:
|
if self.windowPreferences == None:
|
||||||
self.windowPreferences = vmmPreferences(self.get_config())
|
self.windowPreferences = vmmPreferences(self.get_config())
|
||||||
@ -247,6 +259,7 @@ class vmmEngine:
|
|||||||
manager.connect("action-show-details", self._do_show_details)
|
manager.connect("action-show-details", self._do_show_details)
|
||||||
manager.connect("action-show-preferences", self._do_show_preferences)
|
manager.connect("action-show-preferences", self._do_show_preferences)
|
||||||
manager.connect("action-show-create", self._do_show_create)
|
manager.connect("action-show-create", self._do_show_create)
|
||||||
|
manager.connect("action-show-help", self._do_show_help)
|
||||||
manager.connect("action-show-about", self._do_show_about)
|
manager.connect("action-show-about", self._do_show_about)
|
||||||
manager.connect("action-show-connect", self._do_show_connect)
|
manager.connect("action-show-connect", self._do_show_connect)
|
||||||
self.connections[uri]["windowManager"] = manager
|
self.connections[uri]["windowManager"] = manager
|
||||||
|
@ -23,6 +23,7 @@ import gtk.glade
|
|||||||
import threading
|
import threading
|
||||||
|
|
||||||
import sparkline
|
import sparkline
|
||||||
|
import libvirt
|
||||||
|
|
||||||
from virtManager.asyncjob import vmmAsyncJob
|
from virtManager.asyncjob import vmmAsyncJob
|
||||||
|
|
||||||
@ -48,7 +49,10 @@ class vmmManager(gobject.GObject):
|
|||||||
"action-show-preferences": (gobject.SIGNAL_RUN_FIRST,
|
"action-show-preferences": (gobject.SIGNAL_RUN_FIRST,
|
||||||
gobject.TYPE_NONE, []),
|
gobject.TYPE_NONE, []),
|
||||||
"action-show-create": (gobject.SIGNAL_RUN_FIRST,
|
"action-show-create": (gobject.SIGNAL_RUN_FIRST,
|
||||||
|
gobject.TYPE_NONE, [str]),
|
||||||
|
"action-show-help": (gobject.SIGNAL_RUN_FIRST,
|
||||||
gobject.TYPE_NONE, [str]),}
|
gobject.TYPE_NONE, [str]),}
|
||||||
|
|
||||||
def __init__(self, config, connection):
|
def __init__(self, config, connection):
|
||||||
self.__gobject_init__()
|
self.__gobject_init__()
|
||||||
self.window = gtk.glade.XML(config.get_glade_dir() + "/vmm-manager.glade", "vmm-manager", domain="virt-manager")
|
self.window = gtk.glade.XML(config.get_glade_dir() + "/vmm-manager.glade", "vmm-manager", domain="virt-manager")
|
||||||
@ -86,10 +90,49 @@ class vmmManager(gobject.GObject):
|
|||||||
|
|
||||||
self.window.get_widget("vm-view").set_active(0)
|
self.window.get_widget("vm-view").set_active(0)
|
||||||
|
|
||||||
|
self.vmmenu_icons = {}
|
||||||
|
self.vmmenu_icons["run"] = gtk.Image()
|
||||||
|
self.vmmenu_icons["run"].set_from_pixbuf(gtk.gdk.pixbuf_new_from_file_at_size(self.config.get_icon_dir() + "/icon_run.png", 18, 18))
|
||||||
|
self.vmmenu_icons["pause"] = gtk.Image()
|
||||||
|
self.vmmenu_icons["pause"].set_from_pixbuf(gtk.gdk.pixbuf_new_from_file_at_size(self.config.get_icon_dir() + "/icon_pause.png", 18, 18))
|
||||||
|
self.vmmenu_icons["resume"] = gtk.Image()
|
||||||
|
self.vmmenu_icons["resume"].set_from_pixbuf(gtk.gdk.pixbuf_new_from_file_at_size(self.config.get_icon_dir() + "/icon_pause.png", 18, 18))
|
||||||
|
self.vmmenu_icons["shutdown"] = gtk.Image()
|
||||||
|
self.vmmenu_icons["shutdown"].set_from_pixbuf(gtk.gdk.pixbuf_new_from_file_at_size(self.config.get_icon_dir() + "/icon_shutdown.png", 18, 18))
|
||||||
|
|
||||||
self.vmmenu = gtk.Menu()
|
self.vmmenu = gtk.Menu()
|
||||||
self.vmmenu_items = {}
|
self.vmmenu_items = {}
|
||||||
|
|
||||||
self.vmmenu_items["details"] = gtk.MenuItem("_Details")
|
self.vmmenu_items["run"] = gtk.ImageMenuItem("_Run")
|
||||||
|
self.vmmenu_items["run"].set_image(self.vmmenu_icons["run"])
|
||||||
|
self.vmmenu_items["run"].show()
|
||||||
|
self.vmmenu_items["run"].connect("activate", self.start_vm)
|
||||||
|
self.vmmenu.add(self.vmmenu_items["run"])
|
||||||
|
|
||||||
|
self.vmmenu_items["pause"] = gtk.ImageMenuItem("_Pause")
|
||||||
|
self.vmmenu_items["pause"].set_image(self.vmmenu_icons["pause"])
|
||||||
|
self.vmmenu_items["pause"].set_sensitive(False)
|
||||||
|
self.vmmenu_items["pause"].show()
|
||||||
|
self.vmmenu_items["pause"].connect("activate", self.pause_vm)
|
||||||
|
self.vmmenu.add(self.vmmenu_items["pause"])
|
||||||
|
|
||||||
|
self.vmmenu_items["resume"] = gtk.ImageMenuItem("_Resume")
|
||||||
|
self.vmmenu_items["resume"].set_image(self.vmmenu_icons["resume"])
|
||||||
|
self.vmmenu_items["resume"].show()
|
||||||
|
self.vmmenu_items["resume"].connect("activate", self.resume_vm)
|
||||||
|
self.vmmenu.add(self.vmmenu_items["resume"])
|
||||||
|
|
||||||
|
self.vmmenu_items["shutdown"] = gtk.ImageMenuItem("_Shutdown")
|
||||||
|
self.vmmenu_items["shutdown"].set_image(self.vmmenu_icons["shutdown"])
|
||||||
|
self.vmmenu_items["shutdown"].show()
|
||||||
|
self.vmmenu_items["shutdown"].connect("activate", self.stop_vm)
|
||||||
|
self.vmmenu.add(self.vmmenu_items["shutdown"])
|
||||||
|
|
||||||
|
self.vmmenu_items["hsep"] = gtk.SeparatorMenuItem()
|
||||||
|
self.vmmenu_items["hsep"].show();
|
||||||
|
self.vmmenu.add(self.vmmenu_items["hsep"])
|
||||||
|
|
||||||
|
self.vmmenu_items["details"] = gtk.ImageMenuItem("_Details")
|
||||||
self.vmmenu_items["details"].connect("activate", self.show_vm_details)
|
self.vmmenu_items["details"].connect("activate", self.show_vm_details)
|
||||||
self.vmmenu_items["details"].show()
|
self.vmmenu_items["details"].show()
|
||||||
self.vmmenu.add(self.vmmenu_items["details"])
|
self.vmmenu.add(self.vmmenu_items["details"])
|
||||||
@ -99,7 +142,7 @@ class vmmManager(gobject.GObject):
|
|||||||
self.vmmenu_items["open"].show()
|
self.vmmenu_items["open"].show()
|
||||||
self.vmmenu.add(self.vmmenu_items["open"])
|
self.vmmenu.add(self.vmmenu_items["open"])
|
||||||
|
|
||||||
self.vmmenu.show_all()
|
self.vmmenu.show()
|
||||||
|
|
||||||
# Mapping of VM UUID -> tree model rows to
|
# Mapping of VM UUID -> tree model rows to
|
||||||
# allow O(1) access instead of O(n)
|
# allow O(1) access instead of O(n)
|
||||||
@ -134,6 +177,7 @@ class vmmManager(gobject.GObject):
|
|||||||
|
|
||||||
"on_menu_edit_preferences_activate": self.show_preferences,
|
"on_menu_edit_preferences_activate": self.show_preferences,
|
||||||
"on_menu_help_about_activate": self.show_about,
|
"on_menu_help_about_activate": self.show_about,
|
||||||
|
"on_menu_help_activate": self.show_help,
|
||||||
})
|
})
|
||||||
|
|
||||||
self.vm_selected(None)
|
self.vm_selected(None)
|
||||||
@ -402,12 +446,45 @@ class vmmManager(gobject.GObject):
|
|||||||
def popup_vm_menu(self, widget, event):
|
def popup_vm_menu(self, widget, event):
|
||||||
vm = self.current_vm()
|
vm = self.current_vm()
|
||||||
if vm != None:
|
if vm != None:
|
||||||
|
|
||||||
|
# Update popup menu based upon vm status
|
||||||
|
if vm.is_read_only() == True:
|
||||||
|
self.vmmenu_items["run"].set_sensitive(False)
|
||||||
|
self.vmmenu_items["pause"].set_sensitive(False)
|
||||||
|
self.vmmenu_items["resume"].hide()
|
||||||
|
self.vmmenu_items["resume"].set_sensitive(False)
|
||||||
|
self.vmmenu_items["shutdown"].set_sensitive(False)
|
||||||
|
else:
|
||||||
|
if vm.status() == libvirt.VIR_DOMAIN_SHUTOFF:
|
||||||
|
self.vmmenu_items["run"].set_sensitive(True)
|
||||||
|
self.vmmenu_items["pause"].set_sensitive(False)
|
||||||
|
self.vmmenu_items["resume"].hide()
|
||||||
|
self.vmmenu_items["resume"].set_sensitive(False)
|
||||||
|
self.vmmenu_items["shutdown"].set_sensitive(False)
|
||||||
|
elif vm.status() == libvirt.VIR_DOMAIN_RUNNING:
|
||||||
|
self.vmmenu_items["run"].set_sensitive(False)
|
||||||
|
self.vmmenu_items["pause"].set_sensitive(True)
|
||||||
|
self.vmmenu_items["resume"].hide()
|
||||||
|
self.vmmenu_items["resume"].set_sensitive(False)
|
||||||
|
self.vmmenu_items["shutdown"].set_sensitive(True)
|
||||||
|
elif vm.status() == libvirt.VIR_DOMAIN_PAUSED:
|
||||||
|
self.vmmenu_items["run"].set_sensitive(False)
|
||||||
|
self.vmmenu_items["pause"].hide()
|
||||||
|
self.vmmenu_items["pause"].set_sensitive(False)
|
||||||
|
self.vmmenu_items["resume"].show()
|
||||||
|
self.vmmenu_items["resume"].set_sensitive(True)
|
||||||
|
self.vmmenu_items["shutdown"].set_sensitive(True)
|
||||||
|
|
||||||
if event.button == 3:
|
if event.button == 3:
|
||||||
self.vmmenu.popup(None, None, None, 0, event.time)
|
self.vmmenu.popup(None, None, None, 0, event.time)
|
||||||
|
|
||||||
def show_about(self, src):
|
def show_about(self, src):
|
||||||
self.emit("action-show-about")
|
self.emit("action-show-about")
|
||||||
|
|
||||||
|
def show_help(self, src):
|
||||||
|
# From the manager window, show the help document from the beginning
|
||||||
|
self.emit("action-show-help", None) #No 'id', load the front page
|
||||||
|
|
||||||
def show_preferences(self, src):
|
def show_preferences(self, src):
|
||||||
self.emit("action-show-preferences")
|
self.emit("action-show-preferences")
|
||||||
|
|
||||||
@ -597,4 +674,21 @@ class vmmManager(gobject.GObject):
|
|||||||
data.reverse()
|
data.reverse()
|
||||||
cell.set_property('data_array', data)
|
cell.set_property('data_array', data)
|
||||||
|
|
||||||
|
def start_vm(self, ignore):
|
||||||
|
vm = self.current_vm()
|
||||||
|
vm.startup()
|
||||||
|
|
||||||
|
def stop_vm(self, ignore):
|
||||||
|
vm = self.current_vm()
|
||||||
|
vm.shutdown()
|
||||||
|
|
||||||
|
def pause_vm(self, ignore):
|
||||||
|
vm = self.current_vm()
|
||||||
|
vm.suspend()
|
||||||
|
|
||||||
|
def resume_vm(self, ignore):
|
||||||
|
vm = self.current_vm()
|
||||||
|
vm.resume()
|
||||||
|
|
||||||
|
|
||||||
gobject.type_register(vmmManager)
|
gobject.type_register(vmmManager)
|
||||||
|
4381
src/vmm-create.glade.orig
Normal file
4381
src/vmm-create.glade.orig
Normal file
File diff suppressed because it is too large
Load Diff
@ -52,7 +52,7 @@
|
|||||||
<accelerator key="n" modifiers="GDK_MOD1_MASK" signal="activate"/>
|
<accelerator key="n" modifiers="GDK_MOD1_MASK" signal="activate"/>
|
||||||
|
|
||||||
<child internal-child="image">
|
<child internal-child="image">
|
||||||
<widget class="GtkImage" id="image90">
|
<widget class="GtkImage" id="image102">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="stock">gtk-new</property>
|
<property name="stock">gtk-new</property>
|
||||||
<property name="icon_size">1</property>
|
<property name="icon_size">1</property>
|
||||||
@ -75,7 +75,7 @@
|
|||||||
<accelerator key="r" modifiers="GDK_MOD1_MASK" signal="activate"/>
|
<accelerator key="r" modifiers="GDK_MOD1_MASK" signal="activate"/>
|
||||||
|
|
||||||
<child internal-child="image">
|
<child internal-child="image">
|
||||||
<widget class="GtkImage" id="image91">
|
<widget class="GtkImage" id="image103">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="stock">gtk-open</property>
|
<property name="stock">gtk-open</property>
|
||||||
<property name="icon_size">1</property>
|
<property name="icon_size">1</property>
|
||||||
@ -102,7 +102,7 @@
|
|||||||
<signal name="activate" handler="on_menu_file_open_connection_activate" last_modification_time="Mon, 12 Jun 2006 20:34:47 GMT"/>
|
<signal name="activate" handler="on_menu_file_open_connection_activate" last_modification_time="Mon, 12 Jun 2006 20:34:47 GMT"/>
|
||||||
|
|
||||||
<child internal-child="image">
|
<child internal-child="image">
|
||||||
<widget class="GtkImage" id="image92">
|
<widget class="GtkImage" id="image104">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="stock">gtk-connect</property>
|
<property name="stock">gtk-connect</property>
|
||||||
<property name="icon_size">1</property>
|
<property name="icon_size">1</property>
|
||||||
@ -160,7 +160,7 @@
|
|||||||
<signal name="activate" handler="on_menu_edit_details_activate" last_modification_time="Tue, 28 Mar 2006 17:06:34 GMT"/>
|
<signal name="activate" handler="on_menu_edit_details_activate" last_modification_time="Tue, 28 Mar 2006 17:06:34 GMT"/>
|
||||||
|
|
||||||
<child internal-child="image">
|
<child internal-child="image">
|
||||||
<widget class="GtkImage" id="image93">
|
<widget class="GtkImage" id="image105">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="stock">gtk-properties</property>
|
<property name="stock">gtk-properties</property>
|
||||||
<property name="icon_size">1</property>
|
<property name="icon_size">1</property>
|
||||||
@ -181,7 +181,7 @@
|
|||||||
<signal name="activate" handler="on_menu_edit_delete_activate" last_modification_time="Tue, 28 Mar 2006 17:06:34 GMT"/>
|
<signal name="activate" handler="on_menu_edit_delete_activate" last_modification_time="Tue, 28 Mar 2006 17:06:34 GMT"/>
|
||||||
|
|
||||||
<child internal-child="image">
|
<child internal-child="image">
|
||||||
<widget class="GtkImage" id="image94">
|
<widget class="GtkImage" id="image106">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="stock">gtk-delete</property>
|
<property name="stock">gtk-delete</property>
|
||||||
<property name="icon_size">1</property>
|
<property name="icon_size">1</property>
|
||||||
@ -305,6 +305,15 @@
|
|||||||
<child>
|
<child>
|
||||||
<widget class="GtkMenu" id="menuitem7_menu">
|
<widget class="GtkMenu" id="menuitem7_menu">
|
||||||
|
|
||||||
|
<child>
|
||||||
|
<widget class="GtkImageMenuItem" id="menu_help">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="label">gtk-help</property>
|
||||||
|
<property name="use_stock">True</property>
|
||||||
|
<signal name="activate" handler="on_menu_help_activate" last_modification_time="Thu, 08 Mar 2007 17:55:25 GMT"/>
|
||||||
|
</widget>
|
||||||
|
</child>
|
||||||
|
|
||||||
<child>
|
<child>
|
||||||
<widget class="GtkImageMenuItem" id="menu_help_about">
|
<widget class="GtkImageMenuItem" id="menu_help_about">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
|
@ -49,6 +49,7 @@ BuildRequires: pygtk2-devel
|
|||||||
BuildRequires: gtk2-devel
|
BuildRequires: gtk2-devel
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
|
BuildRequires: scrollkeeper
|
||||||
|
|
||||||
Requires(pre): GConf2
|
Requires(pre): GConf2
|
||||||
Requires(post): GConf2
|
Requires(post): GConf2
|
||||||
@ -91,9 +92,13 @@ gconftool-2 --makefile-install-rule \
|
|||||||
|
|
||||||
update-desktop-database %{_datadir}/applications
|
update-desktop-database %{_datadir}/applications
|
||||||
|
|
||||||
|
if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update -q -o %{_datadir}/omf/%{name}; fi
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
update-desktop-database %{_datadir}/applications
|
update-desktop-database %{_datadir}/applications
|
||||||
|
|
||||||
|
if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update -q; fi
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
if [ "$1" -eq 0 ]; then
|
if [ "$1" -eq 0 ]; then
|
||||||
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
||||||
@ -103,7 +108,7 @@ fi
|
|||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc README COPYING AUTHORS ChangeLog NEWS
|
%doc README COPYING COPYING-DOCS AUTHORS ChangeLog NEWS
|
||||||
%{_sysconfdir}/gconf/schemas/%{name}.schemas
|
%{_sysconfdir}/gconf/schemas/%{name}.schemas
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{_libexecdir}/%{name}-launch
|
%{_libexecdir}/%{name}-launch
|
||||||
@ -125,6 +130,8 @@ fi
|
|||||||
%{_datadir}/%{name}/vncViewer/*.pyc
|
%{_datadir}/%{name}/vncViewer/*.pyc
|
||||||
%{_datadir}/%{name}/vncViewer/*.pyo
|
%{_datadir}/%{name}/vncViewer/*.pyo
|
||||||
|
|
||||||
|
%{_datadir}/omf/%{name}
|
||||||
|
%{_datadir}/gnome/help
|
||||||
|
|
||||||
%{_datadir}/applications/%{name}.desktop
|
%{_datadir}/applications/%{name}.desktop
|
||||||
%{_datadir}/dbus-1/services/%{name}.service
|
%{_datadir}/dbus-1/services/%{name}.service
|
||||||
|
96
xmldocs.make
Normal file
96
xmldocs.make
Normal file
@ -0,0 +1,96 @@
|
|||||||
|
#
|
||||||
|
# No modifications of this Makefile should be necessary.
|
||||||
|
#
|
||||||
|
# To use this template:
|
||||||
|
# 1) Define: figdir, docname, lang, omffile, and entities in
|
||||||
|
# your Makefile.am file for each document directory,
|
||||||
|
# although figdir, omffile, and entities may be empty
|
||||||
|
# 2) Make sure the Makefile in (1) also includes
|
||||||
|
# "include $(top_srcdir)/xmldocs.make" and
|
||||||
|
# "dist-hook: app-dist-hook".
|
||||||
|
# 3) Optionally define 'entities' to hold xml entities which
|
||||||
|
# you would also like installed
|
||||||
|
# 4) Figures must go under $(figdir)/ and be in PNG format
|
||||||
|
# 5) You should only have one document per directory
|
||||||
|
# 6) Note that the figure directory, $(figdir)/, should not have its
|
||||||
|
# own Makefile since this Makefile installs those figures.
|
||||||
|
#
|
||||||
|
# example Makefile.am:
|
||||||
|
# figdir = figures
|
||||||
|
# docname = scrollkeeper-manual
|
||||||
|
# lang = C
|
||||||
|
# omffile=scrollkeeper-manual-C.omf
|
||||||
|
# entities = fdl.xml
|
||||||
|
# include $(top_srcdir)/xmldocs.make
|
||||||
|
# dist-hook: app-dist-hook
|
||||||
|
#
|
||||||
|
# About this file:
|
||||||
|
# This file was taken from scrollkeeper_example2, a package illustrating
|
||||||
|
# how to install documentation and OMF files for use with ScrollKeeper
|
||||||
|
# 0.3.x and 0.4.x. For more information, see:
|
||||||
|
# http://scrollkeeper.sourceforge.net/
|
||||||
|
# Version: 0.1.2 (last updated: March 20, 2002)
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
# ************* Begin of section some packagers may need to modify **************
|
||||||
|
# This variable (docdir) specifies where the documents should be installed.
|
||||||
|
# This default value should work for most packages.
|
||||||
|
# docdir = $(datadir)/@PACKAGE@/doc/$(docname)/$(lang)
|
||||||
|
docdir = $(datadir)/gnome/help/@PACKAGE@/$(lang)
|
||||||
|
|
||||||
|
# ************** You should not have to edit below this line *******************
|
||||||
|
xml_files = $(entities) $(docname).xml
|
||||||
|
|
||||||
|
EXTRA_DIST = $(xml_files) $(omffile)
|
||||||
|
CLEANFILES = omf_timestamp
|
||||||
|
|
||||||
|
# If the following file is in a subdir (like help/) you need to add that to the path
|
||||||
|
include $(top_srcdir)/omf.make
|
||||||
|
|
||||||
|
all: omf
|
||||||
|
|
||||||
|
$(docname).xml: $(entities)
|
||||||
|
-ourdir=`pwd`; \
|
||||||
|
cd $(srcdir); \
|
||||||
|
cp $(entities) $$ourdir
|
||||||
|
|
||||||
|
app-dist-hook:
|
||||||
|
if test "$(figdir)"; then \
|
||||||
|
$(mkinstalldirs) $(distdir)/$(figdir); \
|
||||||
|
for file in $(srcdir)/$(figdir)/*.png; do \
|
||||||
|
basefile=`echo $$file | sed -e 's,^.*/,,'`; \
|
||||||
|
$(INSTALL_DATA) $$file $(distdir)/$(figdir)/$$basefile; \
|
||||||
|
done \
|
||||||
|
fi
|
||||||
|
|
||||||
|
install-data-local: omf
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(docdir)
|
||||||
|
for file in $(xml_files); do \
|
||||||
|
cp $(srcdir)/$$file $(DESTDIR)$(docdir); \
|
||||||
|
done
|
||||||
|
if test "$(figdir)"; then \
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(docdir)/$(figdir); \
|
||||||
|
for file in $(srcdir)/$(figdir)/*.png; do \
|
||||||
|
basefile=`echo $$file | sed -e 's,^.*/,,'`; \
|
||||||
|
$(INSTALL_DATA) $$file $(DESTDIR)$(docdir)/$(figdir)/$$basefile; \
|
||||||
|
done \
|
||||||
|
fi
|
||||||
|
|
||||||
|
install-data-hook: install-data-hook-omf
|
||||||
|
|
||||||
|
uninstall-local: uninstall-local-doc uninstall-local-omf
|
||||||
|
|
||||||
|
uninstall-local-doc:
|
||||||
|
-if test "$(figdir)"; then \
|
||||||
|
for file in $(srcdir)/$(figdir)/*.png; do \
|
||||||
|
basefile=`echo $$file | sed -e 's,^.*/,,'`; \
|
||||||
|
rm -f $(docdir)/$(figdir)/$$basefile; \
|
||||||
|
done; \
|
||||||
|
rmdir $(DESTDIR)$(docdir)/$(figdir); \
|
||||||
|
fi
|
||||||
|
-for file in $(xml_files); do \
|
||||||
|
rm -f $(DESTDIR)$(docdir)/$$file; \
|
||||||
|
done
|
||||||
|
-rmdir $(DESTDIR)$(docdir)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user