Initial release

This commit is contained in:
Tony George 2013-10-05 11:04:20 +05:30
commit 0ff459072b
56 changed files with 12249 additions and 0 deletions

3
AUTHORS Normal file
View File

@ -0,0 +1,3 @@
Copyright (C) 2013 Tony George (teejee2008@gmail.com)

674
COPYING Normal file
View File

@ -0,0 +1,674 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public 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.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<http://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.

370
INSTALL Normal file
View File

@ -0,0 +1,370 @@
Installation Instructions
*************************
Copyright (C) 1994-1996, 1999-2002, 2004-2012 Free Software Foundation,
Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved. This file is offered as-is,
without warranty of any kind.
Basic Installation
==================
Briefly, the shell commands `./configure; make; make install' should
configure, build, and install this package. The following
more-detailed instructions are generic; see the `README' file for
instructions specific to this package. Some packages provide this
`INSTALL' file but do not implement all of the features documented
below. The lack of an optional feature in a given package is not
necessarily a bug. More recommendations for GNU packages can be found
in *note Makefile Conventions: (standards)Makefile Conventions.
The `configure' shell script attempts to guess correct values for
various system-dependent variables used during compilation. It uses
those values to create a `Makefile' in each directory of the package.
It may also create one or more `.h' files containing system-dependent
definitions. Finally, it creates a shell script `config.status' that
you can run in the future to recreate the current configuration, and a
file `config.log' containing compiler output (useful mainly for
debugging `configure').
It can also use an optional file (typically called `config.cache'
and enabled with `--cache-file=config.cache' or simply `-C') that saves
the results of its tests to speed up reconfiguring. Caching is
disabled by default to prevent problems with accidental use of stale
cache files.
If you need to do unusual things to compile the package, please try
to figure out how `configure' could check whether to do them, and mail
diffs or instructions to the address given in the `README' so they can
be considered for the next release. If you are using the cache, and at
some point `config.cache' contains results you don't want to keep, you
may remove or edit it.
The file `configure.ac' (or `configure.in') is used to create
`configure' by a program called `autoconf'. You need `configure.ac' if
you want to change it or regenerate `configure' using a newer version
of `autoconf'.
The simplest way to compile this package is:
1. `cd' to the directory containing the package's source code and type
`./configure' to configure the package for your system.
Running `configure' might take a while. While running, it prints
some messages telling which features it is checking for.
2. Type `make' to compile the package.
3. Optionally, type `make check' to run any self-tests that come with
the package, generally using the just-built uninstalled binaries.
4. Type `make install' to install the programs and any data files and
documentation. When installing into a prefix owned by root, it is
recommended that the package be configured and built as a regular
user, and only the `make install' phase executed with root
privileges.
5. Optionally, type `make installcheck' to repeat any self-tests, but
this time using the binaries in their final installed location.
This target does not install anything. Running this target as a
regular user, particularly if the prior `make install' required
root privileges, verifies that the installation completed
correctly.
6. You can remove the program binaries and object files from the
source code directory by typing `make clean'. To also remove the
files that `configure' created (so you can compile the package for
a different kind of computer), type `make distclean'. There is
also a `make maintainer-clean' target, but that is intended mainly
for the package's developers. If you use it, you may have to get
all sorts of other programs in order to regenerate files that came
with the distribution.
7. Often, you can also type `make uninstall' to remove the installed
files again. In practice, not all packages have tested that
uninstallation works correctly, even though it is required by the
GNU Coding Standards.
8. Some packages, particularly those that use Automake, provide `make
distcheck', which can by used by developers to test that all other
targets like `make install' and `make uninstall' work correctly.
This target is generally not run by end users.
Compilers and Options
=====================
Some systems require unusual options for compilation or linking that
the `configure' script does not know about. Run `./configure --help'
for details on some of the pertinent environment variables.
You can give `configure' initial values for configuration parameters
by setting variables in the command line or in the environment. Here
is an example:
./configure CC=c99 CFLAGS=-g LIBS=-lposix
*Note Defining Variables::, for more details.
Compiling For Multiple Architectures
====================================
You can compile the package for more than one kind of computer at the
same time, by placing the object files for each architecture in their
own directory. To do this, you can use GNU `make'. `cd' to the
directory where you want the object files and executables to go and run
the `configure' script. `configure' automatically checks for the
source code in the directory that `configure' is in and in `..'. This
is known as a "VPATH" build.
With a non-GNU `make', it is safer to compile the package for one
architecture at a time in the source code directory. After you have
installed the package for one architecture, use `make distclean' before
reconfiguring for another architecture.
On MacOS X 10.5 and later systems, you can create libraries and
executables that work on multiple system types--known as "fat" or
"universal" binaries--by specifying multiple `-arch' options to the
compiler but only a single `-arch' option to the preprocessor. Like
this:
./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
CPP="gcc -E" CXXCPP="g++ -E"
This is not guaranteed to produce working output in all cases, you
may have to build one architecture at a time and combine the results
using the `lipo' tool if you have problems.
Installation Names
==================
By default, `make install' installs the package's commands under
`/usr/local/bin', include files under `/usr/local/include', etc. You
can specify an installation prefix other than `/usr/local' by giving
`configure' the option `--prefix=PREFIX', where PREFIX must be an
absolute file name.
You can specify separate installation prefixes for
architecture-specific files and architecture-independent files. If you
pass the option `--exec-prefix=PREFIX' to `configure', the package uses
PREFIX as the prefix for installing programs and libraries.
Documentation and other data files still use the regular prefix.
In addition, if you use an unusual directory layout you can give
options like `--bindir=DIR' to specify different values for particular
kinds of files. Run `configure --help' for a list of the directories
you can set and what kinds of files go in them. In general, the
default for these options is expressed in terms of `${prefix}', so that
specifying just `--prefix' will affect all of the other directory
specifications that were not explicitly provided.
The most portable way to affect installation locations is to pass the
correct locations to `configure'; however, many packages provide one or
both of the following shortcuts of passing variable assignments to the
`make install' command line to change installation locations without
having to reconfigure or recompile.
The first method involves providing an override variable for each
affected directory. For example, `make install
prefix=/alternate/directory' will choose an alternate location for all
directory configuration variables that were expressed in terms of
`${prefix}'. Any directories that were specified during `configure',
but not in terms of `${prefix}', must each be overridden at install
time for the entire installation to be relocated. The approach of
makefile variable overrides for each directory variable is required by
the GNU Coding Standards, and ideally causes no recompilation.
However, some platforms have known limitations with the semantics of
shared libraries that end up requiring recompilation when using this
method, particularly noticeable in packages that use GNU Libtool.
The second method involves providing the `DESTDIR' variable. For
example, `make install DESTDIR=/alternate/directory' will prepend
`/alternate/directory' before all installation names. The approach of
`DESTDIR' overrides is not required by the GNU Coding Standards, and
does not work on platforms that have drive letters. On the other hand,
it does better at avoiding recompilation issues, and works well even
when some directory options were not specified in terms of `${prefix}'
at `configure' time.
Optional Features
=================
If the package supports it, you can cause programs to be installed
with an extra prefix or suffix on their names by giving `configure' the
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
Some packages pay attention to `--enable-FEATURE' options to
`configure', where FEATURE indicates an optional part of the package.
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
is something like `gnu-as' or `x' (for the X Window System). The
`README' should mention any `--enable-' and `--with-' options that the
package recognizes.
For packages that use the X Window System, `configure' can usually
find the X include and library files automatically, but if it doesn't,
you can use the `configure' options `--x-includes=DIR' and
`--x-libraries=DIR' to specify their locations.
Some packages offer the ability to configure how verbose the
execution of `make' will be. For these packages, running `./configure
--enable-silent-rules' sets the default to minimal output, which can be
overridden with `make V=1'; while running `./configure
--disable-silent-rules' sets the default to verbose, which can be
overridden with `make V=0'.
Particular systems
==================
On HP-UX, the default C compiler is not ANSI C compatible. If GNU
CC is not installed, it is recommended to use the following options in
order to use an ANSI C compiler:
./configure CC="cc -Ae -D_XOPEN_SOURCE=500"
and if that doesn't work, install pre-built binaries of GCC for HP-UX.
HP-UX `make' updates targets which have the same time stamps as
their prerequisites, which makes it generally unusable when shipped
generated files such as `configure' are involved. Use GNU `make'
instead.
On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
parse its `<wchar.h>' header file. The option `-nodtk' can be used as
a workaround. If GNU CC is not installed, it is therefore recommended
to try
./configure CC="cc"
and if that doesn't work, try
./configure CC="cc -nodtk"
On Solaris, don't put `/usr/ucb' early in your `PATH'. This
directory contains several dysfunctional programs; working variants of
these programs are available in `/usr/bin'. So, if you need `/usr/ucb'
in your `PATH', put it _after_ `/usr/bin'.
On Haiku, software installed for all users goes in `/boot/common',
not `/usr/local'. It is recommended to use the following options:
./configure --prefix=/boot/common
Specifying the System Type
==========================
There may be some features `configure' cannot figure out
automatically, but needs to determine by the type of machine the package
will run on. Usually, assuming the package is built to be run on the
_same_ architectures, `configure' can figure that out, but if it prints
a message saying it cannot guess the machine type, give it the
`--build=TYPE' option. TYPE can either be a short name for the system
type, such as `sun4', or a canonical name which has the form:
CPU-COMPANY-SYSTEM
where SYSTEM can have one of these forms:
OS
KERNEL-OS
See the file `config.sub' for the possible values of each field. If
`config.sub' isn't included in this package, then this package doesn't
need to know the machine type.
If you are _building_ compiler tools for cross-compiling, you should
use the option `--target=TYPE' to select the type of system they will
produce code for.
If you want to _use_ a cross compiler, that generates code for a
platform different from the build platform, you should specify the
"host" platform (i.e., that on which the generated programs will
eventually be run) with `--host=TYPE'.
Sharing Defaults
================
If you want to set default values for `configure' scripts to share,
you can create a site shell script called `config.site' that gives
default values for variables like `CC', `cache_file', and `prefix'.
`configure' looks for `PREFIX/share/config.site' if it exists, then
`PREFIX/etc/config.site' if it exists. Or, you can set the
`CONFIG_SITE' environment variable to the location of the site script.
A warning: not all `configure' scripts look for a site script.
Defining Variables
==================
Variables not defined in a site shell script can be set in the
environment passed to `configure'. However, some packages may run
configure again during the build, and the customized values of these
variables may be lost. In order to avoid this problem, you should set
them in the `configure' command line, using `VAR=value'. For example:
./configure CC=/usr/local2/bin/gcc
causes the specified `gcc' to be used as the C compiler (unless it is
overridden in the site shell script).
Unfortunately, this technique does not work for `CONFIG_SHELL' due to
an Autoconf limitation. Until the limitation is lifted, you can use
this workaround:
CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash
`configure' Invocation
======================
`configure' recognizes the following options to control how it
operates.
`--help'
`-h'
Print a summary of all of the options to `configure', and exit.
`--help=short'
`--help=recursive'
Print a summary of the options unique to this package's
`configure', and exit. The `short' variant lists options used
only in the top level, while the `recursive' variant lists options
also present in any nested packages.
`--version'
`-V'
Print the version of Autoconf used to generate the `configure'
script, and exit.
`--cache-file=FILE'
Enable the cache: use and save the results of the tests in FILE,
traditionally `config.cache'. FILE defaults to `/dev/null' to
disable caching.
`--config-cache'
`-C'
Alias for `--cache-file=config.cache'.
`--quiet'
`--silent'
`-q'
Do not print messages saying which checks are being made. To
suppress all normal output, redirect it to `/dev/null' (any error
messages will still be shown).
`--srcdir=DIR'
Look for the package's source code in directory DIR. Usually
`configure' can determine that directory automatically.
`--prefix=DIR'
Use DIR as the installation prefix. *note Installation Names::
for more details, including other options available for fine-tuning
the installation locations.
`--no-create'
`-n'
Run the configure checks, but stop before creating any output
files.
`configure' also accepts some other, not widely useful, options. Run
`configure --help' for more details.

4
README Normal file
View File

@ -0,0 +1,4 @@
TimeShift
============
A system restore utility for Linux.

0
THANKS Normal file
View File

12
TODO Normal file
View File

@ -0,0 +1,12 @@
* Save only relevant settings to JSON files
* Remove/Simplify official folders
* Change package description
* Implement file monitoring
single timeshift app
Restore
---------
--restore
--restore "path"

3
build-binary Executable file
View File

@ -0,0 +1,3 @@
rm -rf ../builds
bzr builddeb --native --build-dir ../builds/temp --result-dir ../builds
ls -l ../builds

4
build-install Executable file
View File

@ -0,0 +1,4 @@
./build-binary
sudo gdebi --non-interactive ../builds/timeshift*.deb
echo "Finished"
read dummy

32
build-installer Executable file
View File

@ -0,0 +1,32 @@
#!/bin/bash
rm -rfd ./installer/32bit/share
rm -rfd ./installer/64bit/share
mkdir -p ./installer/32bit/share
mkdir -p ./installer/64bit/share
cp -rfd -p --no-preserve=ownership -t ./installer/32bit/share ./src/share/*
cp -rfd -p --no-preserve=ownership -t ./installer/64bit/share ./src/share/*
cp -rfd -p --no-preserve=ownership -t ./installer/32bit ./src/TimeShift.desktop
cp -rfd -p --no-preserve=ownership -t ./installer/64bit ./src/TimeShift.desktop
chmod u+x ./installer/install.sh
cp -rfd -p --no-preserve=ownership -t ./installer/32bit ./installer/install.sh
cp -rfd -p --no-preserve=ownership -t ./installer/64bit ./installer/install.sh
makeself ./installer/32bit ./installer/timeshift-32bit-setup.run "TimeShift (32-bit)" ./install.sh
makeself ./installer/64bit ./installer/timeshift-64bit-setup.run "TimeShift (64-bit)" ./install.sh
rm -rfd ./installer/32bit/share
rm -rfd ./installer/64bit/share
rm -f ./installer/32bit/TimeShift.desktop
rm -f ./installer/64bit/TimeShift.desktop
rm -f ./installer/32bit/makefile
rm -f ./installer/64bit/makefile
rm -f ./installer/32bit/install.sh
rm -f ./installer/64bit/install.sh

3
build-source Executable file
View File

@ -0,0 +1,3 @@
rm -rf ../builds
bzr builddeb --source --native --build-dir ../builds/temp --result-dir ../builds
ls -l ../builds

9
compile-install-translations Executable file
View File

@ -0,0 +1,9 @@
#msgfmt -c po/ca.po -o build/locale/LC_MESSAGES/or/timeshift.mo
sudo locale-gen or_IN
msgfmt -c -v -o timeshift.mo oriya.po
sudo mkdir -p /usr/share/locale/or/LC_MESSAGES
sudo cp timeshift.mo /usr/share/locale/or/LC_MESSAGES
echo "Finished"
read dummy

7
debian/changelog vendored Normal file
View File

@ -0,0 +1,7 @@
timeshift (1.0.1) quantal; urgency=low
* Rev:1, 2013-10-05
* Initial Release
-- Tony George <tony.george.kol@gmail.com> Sat, 05 Oct 2013 10:00:00 +0530

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
8

20
debian/control vendored Normal file
View File

@ -0,0 +1,20 @@
Source: timeshift
Section: utils
Priority: extra
Maintainer: Tony George <tony.george.kol@gmail.com>
Build-Depends: debhelper (>= 8.0.0), autotools-dev, valac, libgtk-3-dev, libgee-dev, libsoup2.4-dev, libjson-glib-dev
Standards-Version: 3.9.3
Homepage: http://teejeetech.blogspot.in/
#Vcs-Git: git://git.debian.org/collab-maint/hello.git
#Vcs-Browser: http://git.debian.org/?p=collab-maint/hello.git;a=summary
Package: timeshift
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, libgtk-3-0, libgee2, rsync, gksu, libblkid1
#Recommends:
Description: A system restore utility for Linux
TimeShift is a utility which provides features similar to "System Restore"
in Windows and "Time Machine" in Mac OS. Snapshots of the file system are taken
at regular intervals which can be restored at a later date
to undo system changes. Snapshots can be restored from the running system
or by booting from a Live CD.

23
debian/copyright vendored Normal file
View File

@ -0,0 +1,23 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: timeshift
Source: <http://teejeetech.blogspot.com>
Files: *
Copyright: 2013 Tony George <tony.george.kol@gmail.com>
License: GPL-2+
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>
.
On Debian systems, the complete text of the GNU General
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".

3
debian/docs vendored Normal file
View File

@ -0,0 +1,3 @@
doc/README
doc/changelog

15
debian/rules vendored Executable file
View File

@ -0,0 +1,15 @@
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
override_dh_usrlocal:
%:
dh $@ --with autotools-dev

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (native)

1
doc/README Symbolic link
View File

@ -0,0 +1 @@
/home/teejee/projects/timeshift/README

1
doc/changelog Symbolic link
View File

@ -0,0 +1 @@
/home/teejee/projects/timeshift/debian/changelog

4
extract-strings Executable file
View File

@ -0,0 +1,4 @@
xgettext --language=C --keyword=_ --copyright-holder='Tony George (teejee2008@gmail.com)' --package-name='timeshift' --package-version='1.0' --msgid-bugs-address='teejee2008@gmail.com' --escape --sort-output -o timeshift.pot src/*.vala
echo "Finished"
read dummy

BIN
installer/64bit/timeshift Executable file

Binary file not shown.

38
installer/install.sh Executable file
View File

@ -0,0 +1,38 @@
#!/bin/bash
prefix=/usr
bindir=${prefix}/bin
sharedir=${prefix}/share
localedir=${sharedir}/locale
launcherdir=${sharedir}/applications
echo "Installing files..."
mkdir -p "${bindir}"
mkdir -p "${sharedir}"
mkdir -p "${launcherdir}"
mkdir -p "${sharedir}/timeshift"
mkdir -p "${sharedir}/pixmaps"
mkdir -p "/mnt/timeshift"
#binary
install -m 0755 timeshift "${bindir}"
#shared files
cp -dpr --no-preserve=ownership -t "${sharedir}/timeshift" ./share/timeshift/*
chmod --recursive 0755 ${sharedir}/timeshift/*
#launcher
install -m 0755 TimeShift.desktop "${launcherdir}"
#app icon
install -m 0755 ./share/pixmaps/timeshift.png "${sharedir}/pixmaps/"
if [ $? -eq 0 ]; then
echo "TimeShift was installed successfully"
echo "Use the shortcut in the application menu or run: sudo timeshift"
else
echo "Installation failed!"
exit 1
fi

View File

@ -0,0 +1,446 @@
#!/bin/sh
# This script was generated using Makeself 2.1.5
CRCsum="2159697763"
MD5="a759721086cf8275f83b2f38b79f108e"
TMPROOT=${TMPDIR:=/tmp}
label="TimeShift (32-bit)"
script="./install.sh"
scriptargs=""
targetdir="32bit"
filesizes="15220"
keep=n
print_cmd_arg=""
if type printf > /dev/null; then
print_cmd="printf"
elif test -x /usr/ucb/echo; then
print_cmd="/usr/ucb/echo"
else
print_cmd="echo"
fi
unset CDPATH
MS_Printf()
{
$print_cmd $print_cmd_arg "$1"
}
MS_Progress()
{
while read a; do
MS_Printf .
done
}
MS_diskspace()
{
(
if test -d /usr/xpg4/bin; then
PATH=/usr/xpg4/bin:$PATH
fi
df -kP "$1" | tail -1 | awk '{print $4}'
)
}
MS_dd()
{
blocks=`expr $3 / 1024`
bytes=`expr $3 % 1024`
dd if="$1" ibs=$2 skip=1 obs=1024 conv=sync 2> /dev/null | \
{ test $blocks -gt 0 && dd ibs=1024 obs=1024 count=$blocks ; \
test $bytes -gt 0 && dd ibs=1 obs=1024 count=$bytes ; } 2> /dev/null
}
MS_Help()
{
cat << EOH >&2
Makeself version 2.1.5
1) Getting help or info about $0 :
$0 --help Print this message
$0 --info Print embedded info : title, default target directory, embedded script ...
$0 --lsm Print embedded lsm entry (or no LSM)
$0 --list Print the list of files in the archive
$0 --check Checks integrity of the archive
2) Running $0 :
$0 [options] [--] [additional arguments to embedded script]
with following options (in that order)
--confirm Ask before running embedded script
--noexec Do not run embedded script
--keep Do not erase target directory after running
the embedded script
--nox11 Do not spawn an xterm
--nochown Do not give the extracted files to the current user
--target NewDirectory Extract in NewDirectory
--tar arg1 [arg2 ...] Access the contents of the archive through the tar command
-- Following arguments will be passed to the embedded script
EOH
}
MS_Check()
{
OLD_PATH="$PATH"
PATH=${GUESS_MD5_PATH:-"$OLD_PATH:/bin:/usr/bin:/sbin:/usr/local/ssl/bin:/usr/local/bin:/opt/openssl/bin"}
MD5_ARG=""
MD5_PATH=`exec <&- 2>&-; which md5sum || type md5sum`
test -x "$MD5_PATH" || MD5_PATH=`exec <&- 2>&-; which md5 || type md5`
test -x "$MD5_PATH" || MD5_PATH=`exec <&- 2>&-; which digest || type digest`
PATH="$OLD_PATH"
MS_Printf "Verifying archive integrity..."
offset=`head -n 401 "$1" | wc -c | tr -d " "`
verb=$2
i=1
for s in $filesizes
do
crc=`echo $CRCsum | cut -d" " -f$i`
if test -x "$MD5_PATH"; then
if test `basename $MD5_PATH` = digest; then
MD5_ARG="-a md5"
fi
md5=`echo $MD5 | cut -d" " -f$i`
if test $md5 = "00000000000000000000000000000000"; then
test x$verb = xy && echo " $1 does not contain an embedded MD5 checksum." >&2
else
md5sum=`MS_dd "$1" $offset $s | eval "$MD5_PATH $MD5_ARG" | cut -b-32`;
if test "$md5sum" != "$md5"; then
echo "Error in MD5 checksums: $md5sum is different from $md5" >&2
exit 2
else
test x$verb = xy && MS_Printf " MD5 checksums are OK." >&2
fi
crc="0000000000"; verb=n
fi
fi
if test $crc = "0000000000"; then
test x$verb = xy && echo " $1 does not contain a CRC checksum." >&2
else
sum1=`MS_dd "$1" $offset $s | CMD_ENV=xpg4 cksum | awk '{print $1}'`
if test "$sum1" = "$crc"; then
test x$verb = xy && MS_Printf " CRC checksums are OK." >&2
else
echo "Error in checksums: $sum1 is different from $crc"
exit 2;
fi
fi
i=`expr $i + 1`
offset=`expr $offset + $s`
done
echo " All good."
}
UnTAR()
{
tar $1vf - 2>&1 || { echo Extraction failed. > /dev/tty; kill -15 $$; }
}
finish=true
xterm_loop=
nox11=n
copy=none
ownership=y
verbose=n
initargs="$@"
while true
do
case "$1" in
-h | --help)
MS_Help
exit 0
;;
--info)
echo Identification: "$label"
echo Target directory: "$targetdir"
echo Uncompressed size: 76 KB
echo Compression: gzip
echo Date of packaging: Fri Oct 4 23:34:10 IST 2013
echo Built with Makeself version 2.1.5 on
echo Build command was: "/usr/bin/makeself \\
\"./installer/32bit\" \\
\"./installer/timeshift-32bit-setup.run\" \\
\"TimeShift (32-bit)\" \\
\"./install.sh\""
if test x$script != x; then
echo Script run after extraction:
echo " " $script $scriptargs
fi
if test x"" = xcopy; then
echo "Archive will copy itself to a temporary location"
fi
if test x"n" = xy; then
echo "directory $targetdir is permanent"
else
echo "$targetdir will be removed after extraction"
fi
exit 0
;;
--dumpconf)
echo LABEL=\"$label\"
echo SCRIPT=\"$script\"
echo SCRIPTARGS=\"$scriptargs\"
echo archdirname=\"32bit\"
echo KEEP=n
echo COMPRESS=gzip
echo filesizes=\"$filesizes\"
echo CRCsum=\"$CRCsum\"
echo MD5sum=\"$MD5\"
echo OLDUSIZE=76
echo OLDSKIP=402
exit 0
;;
--lsm)
cat << EOLSM
No LSM.
EOLSM
exit 0
;;
--list)
echo Target directory: $targetdir
offset=`head -n 401 "$0" | wc -c | tr -d " "`
for s in $filesizes
do
MS_dd "$0" $offset $s | eval "gzip -cd" | UnTAR t
offset=`expr $offset + $s`
done
exit 0
;;
--tar)
offset=`head -n 401 "$0" | wc -c | tr -d " "`
arg1="$2"
shift 2
for s in $filesizes
do
MS_dd "$0" $offset $s | eval "gzip -cd" | tar "$arg1" - $*
offset=`expr $offset + $s`
done
exit 0
;;
--check)
MS_Check "$0" y
exit 0
;;
--confirm)
verbose=y
shift
;;
--noexec)
script=""
shift
;;
--keep)
keep=y
shift
;;
--target)
keep=y
targetdir=${2:-.}
shift 2
;;
--nox11)
nox11=y
shift
;;
--nochown)
ownership=n
shift
;;
--xwin)
finish="echo Press Return to close this window...; read junk"
xterm_loop=1
shift
;;
--phase2)
copy=phase2
shift
;;
--)
shift
break ;;
-*)
echo Unrecognized flag : "$1" >&2
MS_Help
exit 1
;;
*)
break ;;
esac
done
case "$copy" in
copy)
tmpdir=$TMPROOT/makeself.$RANDOM.`date +"%y%m%d%H%M%S"`.$$
mkdir "$tmpdir" || {
echo "Could not create temporary directory $tmpdir" >&2
exit 1
}
SCRIPT_COPY="$tmpdir/makeself"
echo "Copying to a temporary location..." >&2
cp "$0" "$SCRIPT_COPY"
chmod +x "$SCRIPT_COPY"
cd "$TMPROOT"
exec "$SCRIPT_COPY" --phase2 -- $initargs
;;
phase2)
finish="$finish ; rm -rf `dirname $0`"
;;
esac
if test "$nox11" = "n"; then
if tty -s; then # Do we have a terminal?
:
else
if test x"$DISPLAY" != x -a x"$xterm_loop" = x; then # No, but do we have X?
if xset q > /dev/null 2>&1; then # Check for valid DISPLAY variable
GUESS_XTERMS="xterm rxvt dtterm eterm Eterm kvt konsole aterm"
for a in $GUESS_XTERMS; do
if type $a >/dev/null 2>&1; then
XTERM=$a
break
fi
done
chmod a+x $0 || echo Please add execution rights on $0
if test `echo "$0" | cut -c1` = "/"; then # Spawn a terminal!
exec $XTERM -title "$label" -e "$0" --xwin "$initargs"
else
exec $XTERM -title "$label" -e "./$0" --xwin "$initargs"
fi
fi
fi
fi
fi
if test "$targetdir" = "."; then
tmpdir="."
else
if test "$keep" = y; then
echo "Creating directory $targetdir" >&2
tmpdir="$targetdir"
dashp="-p"
else
tmpdir="$TMPROOT/selfgz$$$RANDOM"
dashp=""
fi
mkdir $dashp $tmpdir || {
echo 'Cannot create target directory' $tmpdir >&2
echo 'You should try option --target OtherDirectory' >&2
eval $finish
exit 1
}
fi
location="`pwd`"
if test x$SETUP_NOCHECK != x1; then
MS_Check "$0"
fi
offset=`head -n 401 "$0" | wc -c | tr -d " "`
if test x"$verbose" = xy; then
MS_Printf "About to extract 76 KB in $tmpdir ... Proceed ? [Y/n] "
read yn
if test x"$yn" = xn; then
eval $finish; exit 1
fi
fi
MS_Printf "Uncompressing $label"
res=3
if test "$keep" = n; then
trap 'echo Signal caught, cleaning up >&2; cd $TMPROOT; /bin/rm -rf $tmpdir; eval $finish; exit 15' 1 2 3 15
fi
leftspace=`MS_diskspace $tmpdir`
if test $leftspace -lt 76; then
echo
echo "Not enough space left in "`dirname $tmpdir`" ($leftspace KB) to decompress $0 (76 KB)" >&2
if test "$keep" = n; then
echo "Consider setting TMPDIR to a directory with more free space."
fi
eval $finish; exit 1
fi
for s in $filesizes
do
if MS_dd "$0" $offset $s | eval "gzip -cd" | ( cd "$tmpdir"; UnTAR x ) | MS_Progress; then
if test x"$ownership" = xy; then
(PATH=/usr/xpg4/bin:$PATH; cd "$tmpdir"; chown -R `id -u` .; chgrp -R `id -g` .)
fi
else
echo
echo "Unable to decompress $0" >&2
eval $finish; exit 1
fi
offset=`expr $offset + $s`
done
echo
cd "$tmpdir"
res=0
if test x"$script" != x; then
if test x"$verbose" = xy; then
MS_Printf "OK to execute: $script $scriptargs $* ? [Y/n] "
read yn
if test x"$yn" = x -o x"$yn" = xy -o x"$yn" = xY; then
eval $script $scriptargs $*; res=$?;
fi
else
eval $script $scriptargs $*; res=$?
fi
if test $res -ne 0; then
test x"$verbose" = xy && echo "The program '$script' returned an error code ($res)" >&2
fi
fi
if test "$keep" = n; then
cd $TMPROOT
/bin/rm -rf $tmpdir
fi
eval $finish; exit $res
ORì˜TSY·Ç£tøì8EH(*(RT@Daè!%„$ô"Eé(”’ ”„š„@hB'Ô JT¬0Š`ág¾Y³Öû|³ÞzSßrgÝœ»ÎÙçÜÜû¿ûwöŽªà7 Ï´´ ë-H üuûo€ÔÕÕ54<35> °†:‚µÀyàO° Š–—`áp/8üë~¿5þ5U5k„/ü¼'«êÇxcýPˆþš`ðWõk@ÖõA4ÀZZ`Mžþ` P ü¦ÿnö†?‰.o„Ä¢CEÍ¡¾pÝ_^ ѳ¼3ë\WÔ(ÓõðÆÈcy}˜õQyÑ/Cú(”Å"ü<>¢Æp$<1C>€}Yå| ÷•·c°~h¸ü<07> µ†£}<48>®;Ô5…ù!uÕ0h5Œ' WC!}¡(ŒÚ/WQE!=DOBQëëmM[•Ó†F*çyJbPæ~X„{ÈÏËŸ„bá~hóóÜ£¢¦Hõ±DÃÝáh8×ÕùrÛöp¤ó…󎿺{ÀÿSýù±ÿ½øhi~ãÿŸ©ÿ/á¦ö×éÕ5ÔyûH¢ü¦ÿ_£?ÂêǨýUúƒÖõ‡5¾å­þ$Ì'À ¾¾ûþ.ùŸæWó?^Þ§õ“þ@°&â鯥}Ëÿþ K´47Þ$*½žêl251´âµë‡° ï[ni Êk]OÖÖ?ù̯Geò=†7clýØ`pÌëšž5šÜì6>75Ô·Öî¿sö¼qA¶ûøü1ο«µLüˆhMYþDæŽÓ†Â7 =§37oã—1ÒR £@Fí:U ÷ª‰H.Û¶SH¬<48>áM<C3A1>ÂÖ^DÜbrKL£móYÕök˜HçÁWAotÂ$ž¾ß<C2BE>ÒåÈ,¥j¹<6A> .¦<ŒIÂõ¶Û¾Y]]žùLêf¿Ã¾µV×3dëîýJ/çtŸd¹zý+ö½
úü¬ …àì3™§½¤ÔXÏóÖ„®ô ]<5D>¿%²øÖ's`dTµmw I°gubÅ=ð`.#`Å8‡}ÜF;üì
à\ÑÇG.ÓŸ ˜Ÿâ«ƒzTQcöëêe<16>JìàІ÷7Þ;ž»©Èåýx»®UfæÉÓ³aè²Ée˜ZîÅ©½ñHó¼ÉíÒ´Àýó‘„Ú<1B>RÇî˜.Çñ>¬2<C2AC> ý{ý·òM,»÷µNE%Úz+2½¢§»íÎK$[Ç8ﺧNØÌ•[N ˆ_|W=™Ý]¸ò|8•û0:Ï{¾{ç%Dˆ<44>q åðÒã£õ¦°ÉÒJ°nœ¾u Ö/±öœïA‰F‡”̉¦!"ôÓÞ*EaïN»YÓ¶5e®4l÷væuêæþÚSŸüŸŠ<C5B8>“ÊúùL”Ó ^<5E>÷Èä§bĽUXvü¯s|Þ¶}ãj;_]H<>ìr}«Öº#¥lDsÝl¨Ê\oSOÔÁ@u¸}Æ]1À3Â'ÏJ=åƇ½<E280A1>²ó]¯F|¶=Ü5þº ¡u©±¤âÓÝ©¼&øˆqŒ¤ügý™I;ðñaÝ<61>ï<ük­$## Wo =<3D>¼S£ž*ôègù*J“¶™!2:âʳ|ž<>Cnï õõqR±o{^º·ã]Ñ[¾,ó–^µ÷ÂÖ²îEæÕ:qÀ3ö þÓsË]GÇ¥"¨Öæ±îŽÙÜ…ûõŒ@±é«b
Nê,_'1ÜÅ÷ŠwиëB3µž $?Vpj\+S#sCª<43>KÌ?˜ÿ¼ZIÅ ù¿ï¿Å^ºÿ¥þjªCx5À:ÿÁàoõÿ߆ÿüSkaž… »%ð¨Îÿ…ê©]-Þvç¶u·,?£×Z Œ´<C592>°G˜ÀD*›Ú(+[<5B>Ô°/Žß=.ÏvhXÝßpÛp£ø÷_XÞ1¢(".Ëë…;|ˆüáA<C3A1>_ü"±ŒMÐØ-~œ°ô黇ÍÉ<1F>&tÏ&ÚQm+Ǧ}}}uu—nÞ¼ù{d?Tjñ("zLGOï»:;M¼2+Û5¥¬¢âÐ]¯ZBQQQ4TêÚ·³ðÔHM|ê©Y<"—A²RÖŽÜh Üé
¢gîQW_/1ÈáX3©œ¨µûä’;×ïZ•<5A>rÜIÀ+´êKò¿Ž<C2BF>ƒJ²l‡«Éw±G˜€ô†ƒ×û=xà” xôAï'v>„çF]ˆÅ¼.uPmq Ûéu[Ì)F d…2­,ÝùÄÌ4+ƒð“ÆfÆIy»<+Qaá•­V¢fÊ&Êc%¾€Ãý¹ƒóK;©'•ß:øûØÜåZ<C3A5>“™á®žã¥š5D"¹"†§Dò3 ê'õœœ<C593>/1²9óÓA<C393><41>N †Ë¬“N ê´ ¥â¤®u?ò7úÔOøeZÕìͮt<¢å°Ý%|&Ì;gßZuâ}'ž,hQÂõÂé÷Éú.Æ<>©6Å™Jï<E28093>³ÌHËeÖÏtä‹rL§W#.À÷Š¤¦×_"ùæeËDØ*Éÿ(Ú}³ÿÿÑp·ß¡øMþƒÅ<C385>Ÿòøÿÿ®ü—ý7ÿ-,¶žÛÖÅÁ?=Sr!}ü†Á¸Ëæܨr2;¡-•êp{(••ÿ<!Rt™•'ò¿"Ó²´—õDÐ:WغUÓ·@…ôbÃ8Žäû³Ï:-¢<>Õ–'ƒ¢èª<C3A8><C2AA> â㲉ÇÍ<C387>vÆAö àµ&µÑéäýÒ—<C392>[Ó¾3iî'fuW縹ιkg'ð&™Özuõ—'Y`ŽÒ/¨šE¡¬xo1ºFýpúS#nR”w€\ì|>ËJ»Ç÷ý´ÍÅÅkstB<74> V(Xò³IC7à8TÄåÊKä¦ù
Uÿpbÿ°kA…wB»ï5ÿ|p'À24*,6kÖ‹í¿Ç¯å‹ÂÇÚ#—ïÉNÖ@}
š¹âÓ©†·–±Ñ~86¢vȵ¼àò/Q>˜c¼!ÿ¢ˆÛÝüÔM3Š#•?n<>mkµßÑðB:º}<7D>/JØ<4A>ÿT)¢}s7ãøÆmŽ~MVøÑ}±U¥ŽB6lÎF¶;‡bNëNÝÙ²O¹/Œ4Þäˆ+Þälb¢  +2<>K9Ñ&É­ð]€1?zeMLn2sÏí±/ØÄ_“6#,hsELG F<C2A0>uö7êÙÇOÇ38ÂiúÒ5<E28093>ܼtÊ¥;üUÛ\¦,ÐáråBžfî<66>iqŸh“#Â,δ|—™Æ9ZÃdÒÃS«Ïž3<C5BE>*õÌO­<_PÛÂo°ðyÒáÛ¾ðÏæ?…@"áhU„ûüÿÏ:ö¿ð_SSCÌ;_ç¿:ðÿÿ 36=¥­àA?<3F>ÐÒÒÅë][[SX37²>RßÒH]È·<C388>׫°Â/ð¯O\ŸØ(a¸M)¬ÿ¦¹tÍx2ýAÓö!lRHŸyæä”Çó ßùŸ}®In9Øò]¦/ä2ýÁ±¯ùäHn9ìšœÑü.óÁ±í_ñ)cHn!dûYÉ8»}Üö5Ÿþ†Q…,¯7)tÀ×Y‡ðµk‰(TmÜ•2ʪþêïùï÷.ð[Ïðèß!þQh?4ƒùð?Ç?HCKüKü«kh~©ÿAêßâÿÏÿf€8`y <0A><>,<2C>Ýilgrˆi72ò;ñ-<2D>m½==Iµ1Ïj˜õ”Z©¯€W‰F<E280B0>Ñ7Y9 )I…¥Dä¨2·À
4ábuuue?…ÑÒ„%ø„åbKiQ±Ñ±•áõ-<2D>I”ËWh‰·£ó9±µ¡TN9c¬±¡•^„é¿Ãö"9ØÄ™Õ Ö^o»Hò ¦úäuf„Óü+{(P(´˜<7F>ÂyщîéuÃ5h,†Émòà £è<C2A3>íãíô”êºêø[±7èéÙ-¥½¤Ë q1U!ÅmDFóZfzq'‘Ô~ËÓ×3¾,Ê)ÅʯÀíFcú÷Ž¶g£ôâllmÂ.…ûcÐÎ.Îø‚<bE‰Â3ŽžÕ•–ß—Y<>¹ÚW?VK!ѽ™Mþ•nguñ-7 Á{ND¡¥®Õ'Xvg= ŽMŒ& 30Êíìì¤3ê°XbyqM]MZfFííºÎ>V{w'k ‡L§VÝ®!“É ŒÛaáø|™Jéáôõ 0ÛšIÅÅU5ÕA<> ɉQ×qeeeŬBœ…Wž3¡5+¨™Þ<E284A2>L"ñx<.##1)Y'âÀÉËÀ ÝZ¡Jj<4A>²'cÔ;zºjGé™-©l6»]ßp)§—ÞœTØs“B¡VÓ®gfÞæÖô÷÷°û¹wêêZ™ô:‡;¼ººZPR}‰ZI ÷Dx6··äÜ—W”³ïuöÒF(i<> 5ÃÕuwkRš._® s-´NnŒ ¡!
êÈ5ÔJ6™XQìéëQÎ"edáfž=Ä"c#«ô°¨ðÒ¾¢œ|41”Íò$Ø_o¼F¡Kˆ,v7®9¥©<C2A5>IãPÚz:ˆÅE”þ
h¥´¢Ä"Zß/OŠJ«Hn`Þ<0E>§v“KHÔ*j9¹,ŸA <>ÍŒÒÒîÁ¾æŽÖŽÞ®Ú†Z2…Ü?2ȦUÓz{{q8ÜW÷<¯×~âõz˜„×kŸp°§Ãû. o=èÐC+舗ÜcF0©*ìJ)¯¾lÙz)Û«µ×¤šØ‹;p¾Üúýœ3)Ë͵<C38D> ŒÅãµ1z[NÑKhÆ:±Õ!ØÂýl¹;8öaÛ¢",‹Ì®”GŒ[”xQB·Wp)Ù«<C399>ƒ6U°¾t>!óìzÔl»
º˜:ÅÈhí<68>²7žjñØ+0q(+^N0aë!÷û¯6w§íYHÆ¿™aehœ¯ ¿ï?׃×ÙÏú¸ íy'E£?”o>+{ŒK^Ù‡H}1Ñ ì<C2A0>cãeöM¶ŽYª·Ù×]·Ë8äL%I<15>®´ÖÁÌ xWFîþ€y1|;hÍææîpìYü‡ad,$zùõlËØ»æOå{¦%ô;?­É% µF.FÃŒw+•ºì|âω•<,!·å°'4v»IÁ1×lèetv~¼œžTa¿ŽdCCÍ$CÓ[ÅÀ\ÏÙ½ª<C2BD>¥Eb¸{OfÅp<C385>ù°”»¶ç[ÓM”¾<E2809D>º7ûg9NïV5»Øëikþ=)ÃÆU„tÃ^ñ>)Ë<f—ûøéûÉ<01>æ𨤇,–»«ˆš{:L}Z"“Þ<E2809C>ïqSpÛ‰®%3£=Ò³OŠÒaÂß%]ìó$fÛ•f¹ŠãÇËJ®ÆHÜn6+×%G?zVQ©·6Ä"×pEMEhsϼDÒFŸyˤIyS ]ºªz”¼»CÎ>§Íð%Tõì÷©¹gnO©e»ŠQê&Ã(õœêöSØÓ/<2F>ý½d¼4€²š~äm½ž[x Ú:ºP¹k«d_sk0­c»ð~2pOâëÙ×K˜x!Q`Çf<C387>cU]Ûa †@ë–;*[ÝcópÕ+Þ²(¨äÜyxi§%ºÄÖö6h8Ö}&z¿¶P^œÆ<E28099>˜<>£>?Ÿñ+è_1Ty;ºòz«Éˆíñ³o¹aS5\{‹©Ú±Ó±»Ga8f—xA7à0Æ%ªM
;·I:xž¤th´éEýô!TáòCO7׶é9¾)Z/µwˆkp˜ÿW{_UÕ¶¶½iØt7l ¥$¥¥ÚlºE% ”twwIw#%Ý¥"¡ þ ½çÏwϹßøÆWÿýç€1p®5çZ>óyŸ÷}çšk®QZwÑRï<52>ˆ­H×%ïÍ´€¥ú<C2A5>¬{F<>»ºJ{qeÝ]”Ž/LE„l6J/>¼"^´Í)ßj"-ë¹I„\v‰$¦µzy<v߯ïÆG-ǯ'µV$>-ÜüzöÖ•¶ålÙ˜¶õ|4ÖøÉÉv1
qqäW*×K¤p^—±H ñ˳ƒoß@Xé 4ù6DŠC_tåtDÒ¾6„J)D ôŸ ¤Â úô cA®<]ÒŸ}ý7ƒæ=
 š½/¿,«7Ú:90h¿t†½þÊÍĪ,ÄlU÷Æ<>sø%À(pó ø#ùXÆ#¿<ÍXlŸÅš½7^Xâsó/Y£HïuÞ ãÞ œ«²ƱF·M<C2B7>¯;žr¦¯u<C2AF>vŒ^ØY¼_&üü³‡”A²)ø[¸ïÜŠõÞðI± ¹†<C2B9>"nó'ÜíaÛ£éb®¾ enÖ^B˜<C2A5>šI€A¿¦¡ŽNµ÷d+&Qò#LZn øÖŠ¯î'áÝ7R0Gí!{0è窢klëCU"Ø?<3F><> €¡ Âü¡nTò‡i <LÃz_¹öêv8ŽÁCÆkÃp ÇSõ§£tÇ2©+IrsãM©µÆ%C‡_ Ö˜Ë÷WÝT¼Ù…N­¨âcÓ¨¶Žc¼“•K4îë;U¤á[EïŒë|S¡p.$ÖÌKo°¶$Þfšnd2ð9|±É‹^FhðÌ”<C38C>ô"&ÍB·„_ð9H¶¼£¾ê<>ñE½Ÿ,a0<61>]ôrŠþ}©PšõNó~Â`g½áF~R“oÓqóõ®·½<C2B7>ËrÉ<72>ý1i¯j?]½iïhn8¦à|x<lnv²?ÛK<15>¯n„¦ÝJHˉÿTõŠé…ÞhëãD41TäßqÂpÒÿ§eßÇ€°kRù §®¬ 2^³l?{ºÁ/Rp"…õ!r8“f.2cö`<GülÂìsµWÎtzUwsFÓ<46>UÔÖª™Ô w-+ÐÌc¸ãRÔ†!ákTÙ ƒ’»ýqf)•âØ¢H9  o뜃ÎoF+Òcn ¡¼m$ŽE¼[¶Ú¤ Š±©ÓøDÑKãÄdªP¶' P˜7Tm<54>PúË7w0῞̿÷ZÚ²GÙbˆñfuªÊ#<23>{:&ŠeuK‡.Ù
Çú‡X÷:cYï]u%Ë°áP<C3A1>¿R}Ü(Bb5F„kç§yz°òºŠïV8SúãDѽÈwÉüó3¨;ŸZ[¿~ÑŒRÁú‰YTÿ±4Ñwf™´Eúÿð+YÚæ<6 ò[«]©b$yhˆ5 ™™µâ¹ ABjhì®{o2•{Ò$05(sódzÌ|T7èo„Næ©Uq<19>TïÝÃÏC·Zx !<{Ç"Q[<‡8×}`à¬ÁÌé´>p¢1œÔåt¨67XÇùÒuAÖ¯ßLèÉ­&AwG¿X>UyN™.€÷™ øÚÌÚMâú"ž³ækµÒa'X ú8%ª4 <09>ΈÐm­“Z…,·ÕõÉ
WÝ$3ü&@1þ<31>kŠIµ4º³‰EÑ&‡t$¬tFÒÑIg6ƒq
ó<EFBFBD>G[«ÐæQõÕs¿ £ù”@†÷;d,d Yk:!<21>]{nú÷PƒÍk ÿU(¯Q¶ûQDö$†¡2ãnØ`<׎
ü
À<03>?7¿†,)½ú2Y·P+¹Ñ–<µ¬%ú£ùSi€DÍÔìë@VéÀÂ&eÅsU§¾Íõfa
œk)”·»ê‚Ãù†æë„o9¼?!c‰y@F«ŠÀ´)zN§”JÅ ûª=<01>"àMnÕöhÊmä<6D>¾ï$ÓHvÓu€p¨/UÅ >1ö@oS<6F># Zõ=¢€h­÷ÅÒ>5ãÈDû”©”ö!%i5€ÝIª³¥Éó[—,…Œ›|êçã<C3A7>èÍ€N¾ª6kƒi´OÁ<!¿Ã%ðaÿQ†Éüo3,è/ÖŒ÷ç ;Ðÿs†Ï›üÃ|vþ”aªœhΰÍjÍ0u.½ŸàRÁQ®c®´¿©þÑòßÖ“ñW cþ#ÃhÿÎ0Å¿bÁ_1LFÚ+âxì<E28098>äÂÌ CW;ƒ›È˜ øjȬQôJµ~Á+ƒH7¢;ª,¹â—Žœrªw'ïg#t†yûãr”C·*ÊÉ<ñ«ÝY~†\Ìië”S´nL {ž‡·=Ýuf¨_Q&ê±Zy<„ONÀ*Hš/ÕÚü™e˜F·ÙZ6ˆýã½Ç f¿ceôZÿpi|‡ëó?¥VLY/n@$DšG¾'+H+<73>•9]RÔÕ}É
š¡<ÔL®{>òÖ/Ò$ºe®5ž%0ª¶ÊZ`”|
ñZê”JE}ˆ>~ž «*ËfN±^.öjFGm‰Ë(Ö³˜¯ã=Ft&ÿ—¯} B$ž•®úEÉûé Õs'øyŠ&*7|$¶náM] ½ŽB17…Ú<E280A6>Ì*}®P(³ÁTöå4a]—ý¥ðœÞèi7^u2éæú£µo,ù×<C3B9>@PZ@ŸýÙ*(éϺä <1D>çÿ†<IaçO
Éòê´á¼8h§7´®cò“¨â~¦±ˆÔGyšåÖ<C3A5>úŸ<02>“ç¶Üà4˜à*ËM;ª÷n`ÂmÍ<C38D>]kšÞb̹ÌTLp HŒ‡£nÎÔØÞq³6v¹&Ï'—tï<74><C3AF>¨f ÉhJßÚ|íûÇ|!õ{¾pMléòôvä?NÈ>GTcí«X÷GG"W¨dP "D ¿2§<1B>`¤bY@|2×_•—`<i¦V¬¶ê‘éÁ€0ˆ` ùEmœ,Ý*›”>9©¸2“N ÓZ»Œø*«É‡ <0A>5%óÅ<C3B3><ˆ”êü¬dÉ<7s€Gia<69>Žû ¶¦·Eú<45>„Þ¨E˜|õ•°_:ݹ¡†ª—è2T.ä*«£ó5Y×Wáû3åeòH§‡¡ïç<C3AF>U$§³·`.ÓÑKvq÷E»® ƒ;"§?X9n®µ¹Á³„˜J Ÿü^«ÏK \:)×Ó––‹ ŸùŒ
 ”ó“ù;Q½ú>˜&!>³^èS‡b
à‡&(môy<C3B4>}GiSå~€ÏÀ(ã3(m«2p(½1¥•:‰ay <79>ÛŸüöÎ5J6Í™J9× t-fþ¤V“…²"æEóuú(Ôåru¥IÉ­æ–-¿~<ÕN­\BfV#QÎg¯ÎXÏ¥±#<23>WÓðZÀ磶„øðDÀüÓ¶ÒjöýÂŽ^Îø5¶…bÞÜpÓ™ÃtYT‡<54>)íh½ï8C‰<43>2 <09>×7š¿˜ EìX/<2F>¤áðá÷<17>(]zíMOÚÊ:pqvè=7ä<37>¹DÞÏJÍŘ>Cg@úÏ3Jœ`‰Št€ì˜1—QL† ±LšAÖÑ@ÎÅ­ [îä\ä ¶dÑ·¹<C2B7>”8V20ýØ»lo$¯½J Óä uddD*Ær™™2Î<>ÑQ9ÙõØcûã²?ŒþÄV¼Ød
8œ¶º²eÄi¸|_ñw¯bê[WMBÀôyˆQ¤X®•Ò„ ürcµ,Òä ¿ÓÜ¢Z—jªµç óHX~µB<C2B5>{ȹžRs…$1ùè<C3B9>4ŽGSy¨t{˜s,0}Çèh ³\bhG('­¸…Føîõ·€œ3Ý$ªèúÝÄóãx?:ƧMÄjݾÈ$º²Ø¸ÊD?  €aÚÏžy^ÀÐ|Òÿ<C392>âÌöF¯w¹ÄŒžù£rSÓ5Ý©sAà}á]K%'*Á<> ?=Ò.ËW§Ä»|ÞV]0‰{䯘¢xI-vViÓ2³—ªÀÙ§¾0“Ÿª²ý¸<>ùÚ4*œÐ<C593>ëY9‡79ƒ3yAÞ¾HhµråÈÙÁ„¬±¥e뽤áír •ÞH*\מ™—
ï>Ý öÛ:S„ Ü³ä3å&ßî|”çì÷Py©âªdåY.à™­n“r^ÏÊE^•éÞ⟭²½Ÿ•ÜpV¥ËÒ‡Ny¯UÔÛ°Eÿç?0¯ÿ±õÿ|||_ÿ/Àõãù/ׯõ?ÿÂëÿÙåɇˆ‡YñÛúÿáP*^ÏÓ<13>Q»³wïÌïòšJ#+(Ë/8c„¡ûÃ<C3BB>IUTýÑ…X¤\Æn­‰ãÅù¢á¶·™à‰5ÀŸS ì™v— %D ;Ü<69>\t<wÜäzU®‚ûM»[Sû¹Ü9ÚÕCçRKD¡¢»ª¡gÔ þ­<C2AF>)šÏ»oš¶7ŸLœì½Ç´xøeñ”•S6</2±|µÍõIyõ Û¤§/ßî,t|tùì¾¼?e¯ù$!ñ•ÈøããpùçOœ( É&œ²Mø$o4T<> ¸Øg—<67>|ùJ‡Lvׇûx#c=…pôîÔKúH{lê^Oõ=Ž®ÏâBú /Åç|†R yí•Ô7ŸÞ²áU†sxÜùYFbÖ!-×p5¼9ß-ådñí<C3B1>eJŽ8éÛ…ž1)¦²¬žg%I]ë•>^–šýó5wéËmë2Ü.Š­ª'ˆ×ÇïMSœœB%W©õ{<7B>*ý]è.<2E>æé1¾”µ†mE@L©/¤öes*é:¾µë=/ÌÌ"Ú,ÿdA¿8óLÿ þË%fð!'<27>¶,ñ! ¶ÔGÓ "óÅ<C3B3>—Fª¨z9<>ŒË!Ó_-U¸ ô`¬ D[¢O¡M“ð$ìuäujô¾®÷Åh)‚ÍÕ=á%Ñîɸ­­5W]¿<>gl:-ØM•hÙšÕt2ytËï´ñÈÎÍvîYÐ<>~Œ¼j}È<>LV}Œ[)©«)r%s&ÀÖ.gµ{Ó¿ ðÙ¤
_DCCtvgñ%£±íã˨„;9÷ãÖý16Z<<3C>Køy •e5A³ •ü ¥1áá{kï„·ï˜Ç'x¬ÇŽtðB,Ã<>ŠFTU£ø_”i­m{‰2l?:ÐòÆö™œùÿeùÒ?_ÿé ³³sôüÏú€wý'÷ß×òñúÏsýRØ/ýÿ¿uý'úoë?UäµÔ‰zŸž ½ÂÍ{c‡¨><3E>Ä“/ËÊÊÝ#ÀQ©<51>^’Ùæ‚/S©<E2809A>\ƒkM(ƒÇŽˆá/@àÇHäÿIòms¬à¬<C3A0>9¯cO¢÷ÁÒü }©Øá¶áHË·åM*;<3B>à·þ£¡Þ§ÙÜN¥½Ís[ÕˆÙ•Ki÷ž³Œ Et-ááYgo^…·É_´¯³<C2AF>Ÿ¶F½.%öu1õëÏX{ÓÕÈê©xô‰'tÙ;ß^ò€t>ÉÓƒ|Y<E28093>ñlÝ—SŠçH?¼Õ[ôÑÕôÀ<C3B4>ù ¬•Ä/<2F>-3<>š"“#º*“;Á!öQÄåìL_Í”:Ÿ¨s°¡ò&æ\v%S qú.eµûµŒC%…fLHmÌýøG[­,w´ä]¦¶Kh(Þ<>/¤ÕTýñ a߄ߤ[…:¥'¾w—™A0ïFòùª@F "ÒßX¨«ñÕÒڞѕžÅté~¯z‰d…ÍÄ¥ìRàW¹&7UŸÐ <>»I«Š_<C5A0>]XU_qÄ(Çùtùkª[Ï h+n#/b1ÁÔqQ<71>ÇÉÎPhE>Ê¿å³)O
Õˆ±Ej:ßÇ÷nŸõª<C3B5>Rú->Z|}1FüJ¹±mç"ûäh>­k8îYWgpŸÄÚ<C384>)ˆkMêkËóΙ¤ŽT1<54>µÒHó¹Ý"e"Ë<>Šó5©Ãá¯U³÷ÔŠŸ<C5A0>|øµÖóÿQý·t<C2B7>ÁþÓ)À¿«ÿü¿ë?/ïuüÿ}ÿ‡_úÿ§þCþ®ÿ×ëÿƒåQ¿í¨¶ö§+†Á9ø^v= ¿Dæ§ɲ]×9ë¡ y*QÇÁpÃa ¼&W,+mSè‘þ~ÈÍâÃ.é³9<E280BA>[ ·„„B·}š9Ë—%OªñÆG#{s9UÈ<Ã"@¾5áËÇeÅy)ä7ð.IM¬G‡Ñ]³èóõÜå©ÈvF•Û¿äzÍ3sþ sx©ÎÕ†U9Õ¡*lLw~è)šù2ÒœÎZ‰_Ö±îm•}¶~4b¾ádí².’Å ƒiÂGØôÔû²ë¤ª3ïSRVOÑÊ„DÔK8âu³éÚÌMÅ)<03>ïDÔÞÌÉ$$õÉ‘g{ÁT´^wωã•zeÐŒOG³cÝ;)[[Ù;SîØ5wÉ_€(r æÛ²ŠÌèÌ7^>O c
jð%¢*É÷N§@`ÌF<C38C>¼ô'³ØµŸ¿¹k (îr E ¡äT3G#Br<42>,ðkàçS¹ˆ¤Ïß)²LŸê"%»"KAV¨ØÐñÐ1òqš0 ÒÏG1¶Ž!æ;~Üôât@o_Ç —"<22>=$GƒHJ@êƒçØ<C3A7>Ö^~<13>Oа‰ S”¼ì?" .êÇžœ¾1% i÷ q 4u.°ø6Ôð—3˲ð˽[ˆ Œ1ÜÜ“ùÓ¯Fõ±§H&ƒSk÷OÍy{S™çl6¿F¾ÆI!ìo ùåþÅõßÌÎö?ðþ/Ïwýêøoó}ÿëzK°_úÿ¯9ÿCJˆ<4A>Ðq!,ÿ˜ÿžP²Õ”$B;ü6Ô­àS[<5B>] i,ø`ØXnpö¹[§kÏŸÙL¦Û>~±‹é[*‡³«™<C2AB>»!ûLõ”¦W6†Ãå½>.Y<><59>øÎaYÀ°±.ó‡HO²<1<I9žwÚúög­Íù­WúÓT'9f¾Øäîdƒ@HøYÎÓ¸sá'Ó«Kªˆ^ç©>E ÎǪ>áiÄ>² ßäáò¸šqkÜ¡qçcåا“Çrø Cò(Š$K¥Ï†Ö7^‰ß®6 <0C>æ"È+:Ê!¦5ÞBéeÞüê¦ã‰Ñ¥q ør¨Î˜`<$%ªBŽ'%)¸§ ¨T4§»Û[%|A€¾>ï§Ø‰Í—¨ *.<2E>u³^Ÿ>EÏÐþmʾ„66Tq*Pž<>Jp¶T%½#‡ƒÿa o ¾íò®·´ŸT{j5Ô$]PY ³Š¦³"Ä<§„V_/CWï]èrºàê¼kþ4sÊä¼4E³ßoLZðqšHYHz8þr_èV,
(X"}ò<s<w¿dëâýÈË¢f=1yl—,{ÔSÿj=4PÏ,3YË»Üj&oÚ—P|Î,Iú_Bÿ¯®ÿ¿m»÷ßq<C39F>ÿÐþOßã^~ž_û?ýoŒÿ¶]ü/ÿòþ7Ïmþã(×þ_€û×ûÿ[þ?êú÷»ÿß¾»VÿÏü?&áõ/()™ì'ÿO &ã&”Õ¾žB'w“Õu“v´·‡9¸<39>¤]`¦n0sˆ§µDNAEí¾)DÀx$x½}ŸòÈ<C3B2>r3±'-qÜþîD_ µAkŸ³<C5B8>Ÿ¡¯dU_1#£¼ü½ßÓ&=¦g©ϤâÙÕfÙasµƒL9bïR¥ *•æ\¬1±)ã ¤( n9¯u-ƱÆÜ¥PàMšÏÜ`h<>±0ï§é_vÅyîº6nÿiò¬åࢅ´°¤D_Ý/3kœ©S¥ÿà,„ˆ¯~ã$Æó ÎÇóRE <>É&M½‡ ¡›@­áWwÄCñ£I¼@m/öýÆ­ˆh9 å?¬ˆêìGP }S<>5<EFBFBD>á#Ä÷ F—<46>A†Ð!âá#ƒdd@tt | þÏhG(ßõ¦×¬ £g†rSÈbåi<C3A5>)åàÝ'b BQ òà•õƒ½IÖípìtè%÷‰s¦*æû,6Äêk¶Ëg„<67>z¤Èœâb=ûfÒ1¢÷ó4Êâ¿ÆFEaùâÄu+6Q[Š¤è¾wJﶠ_vbD$Š†‰ò
Ã-{{ð4_dŠZR´Iªw?¡„„ _ý*rÛdÕäÑcÝ}·ÌD<C38C>ö¨…kMäëWô~—~cVˆ—½ A™Š*"(‰<>¤xÝÛpÅÅ”}´Óžq%ýYæJëQsÌgžm©€"£ä„6 ×tÛ¶ áŽËªTj¯Ú±™ô{äfJˆ»pEÜö eºBÇ°˜ØNX7k¬6èѺó»ðÞ£Éhür¾ð*jœäø†ÕÁ÷ L…Åmä
9‡~Í;"ßȨ{5×ß÷eôV)¬­°|šž8(kN~ÛÃúTÔHÇ8(%·â&Ò$
©*T¯³u&ŠmÝžÞOÂŒâU âá)œeÎ÷ó^‡b#"s!\äòª2 d÷/Yåª êlk$ Žîv% =µGÙƆVT4<54>ƒ_°u©kø¦RÐô<Š<E28093>%^Ï#Û˜ºI¨#"Ø»Úf“G¨$ä0]Û\êE5¾:eǬm t/„*(á =ÜËÆ<Û¬%2<>m}X Ý1H
¢T<C2A2>¾\Œà¥Æ)®œ´ªÔE<>ŠA4ÈË=œèBÆ<42>gö.iݿσa[XÆ-ƒ2÷®ÚD¢í{Ñ…¢hß$¤« ó3' An\ì.§Ióp¼C÷ÇÍR÷ñÒ£JdMÁIŠˆÙ(IôKõJ¬jçÆÌ+|¡ ±©Ò:ÚÈÌa
 1|èà;$²ï"ºÁàGÕº%çW™²3»lœœÅ¼$<24>©¦‡c<1D>õ=ëîœo <02>PhN§óDø"m¨i<Ää9ÄDŽ¾ÂÖmQÈç{eNðµŸa)eëIØ# Q({­Ë®šYß?9a_bÆ<62> ‡}5èößVQ‰Ç·Éd*v,ŸXmS¹e=O<>ÉLÑ}*<2A>¬¹ë6gPYHg¸qö8p>ü")É‚}ÏÈÍ7îÏNÞdÒhÜ3ùþ½ì‰°. 5[è뢀ÂBA|$ÄÄ€Á_\.+˜Òg<C392>µvZ0åÜïÔ”Dìë!“…WéãíÉ/`¸htiB"kÊÜ ü¬VšÕA®ÛâÒá @
^Îá\˜Åc?¬È}6¾5‡"<22>—ûõŒ%¨ý¾<C3BD>­å¶´:εѹ™iBé»Ü(h1—0žWÀlÀHýæzÒÐL&Ã÷G&Y3¡“BËJi‡q髤…EâîCqºAB·6]Vý¶,¨Hdã+Òº!h¾Ýl¡û66Nöîü'{|fïͦmÎ<¾b;nx3PiÓ³Ë/B#w.<2E>wX1‰‡´¥É“mµÔÎÙÕgtîC<C3AE>¨ÊªÕ /(Ž¹ ßê¼g åäÔ­ì|^lõ¢º0ã ÏB#gLç7wx¼7d¼é´"<15>Iz$JQ¬uÌë~Òa·tOhséð&áôÇKk<fY?ñh_c"g†Ä.€¯€áßå)¨c¦¾ÛjºR£«f+<2B>µd&)2h ‰ÑûòA„Æø²}íαáœxwL`nÃ1ã½<+áðr6ú¦(-b¾3}k
¸xî*O" uÜÚ:îÖhÆÂíY?=rn&Àê€ñdÀœÞäpZtØyÿöÚSbX¹³ê•¹À<C2B9>;éõØ…€3,z†â¼êFñÊÓ :¬:õ`Kk˜E³ŠÊ°ÆÚ<C386>DA(ÀKG:4ê+íÅ™™y³Råp{+ÞJnéÊoœÖi¸#ÕÞ°Ú†`XóTü 1úF`^¿Y;Òðp#°„me×£;Ýå"J/ÞZ}ùºÁPº¿7@¡-®MäÛ«o°Êä*׎zÐv\nyÄsåm·<E2809A>f×>“šÝ8Ûw¼ý°E°WÂo¢µOqò\*ìûÀß——òÔÂ­Ç 8GzTèÊ,®ûAxxBÄZí—/Å÷.³VM_PñÇô0bP>zõ¦â#`Wâvö<76>0š™<C5A1>ø<EFBFBD>غY»ú®l\)­Só¡® )õDÚÝ)OÄc²÷<C2B2>—íìÞøÜ!Ž†}"ß .w¸ä^Ü?^ýÖa¦¼>Qj<>ÑÅZ¶v@ïE覧¿µÉc;.„ƒÖºw²Õ|3Jq5ʼnÌñ™”—8<E28094>_q¡îÁÑJt æö%/% äVçJÈ´ŽON“Hä—yEgÂN “߬•~“Ï{`g}i`˺£ù±áy¬`Yå¼±CÓb*']7o9Ç-F¼úØvŸƒÅ¶·ß ¾“|Öøƒ…ÅÙàcKî*Ž’ÂúÒ"Ì 7;O^ç Ìh݇FBLò +ëºX<C2BA><58>)Žáoíìô*2Ù@‰“Z+Vtzmb--Bƒ>`D‡wz8ÃkjÎç±ï…Äæ¦RRNbGf ÒììÔ¾Pi AîÑ`~£ÇfŽ2Q˜ÿÂQÿ­¤¢[d í#Ñé#ÑWኰu¸>Õmf…úì*^Û+fwKi¤l„3OGî§Cõ{<7B>½ Ÿ]&ç‹
„Rü> ÕXÀ¥Ð͸3çld=þ¢ÌmFÜÙÖÎU>ƧL„*¡¨­õbýn?0¦„1Ïœ:N©ú¿å(Mêx¬ŸÁ<>:,ìQ„?ø°<!ÄZ3FCåÇÚdËu. <¡Áåpohs~nª“¾Þ¥AÔª¥Àºà`GCÞÎÙÛ³eNÉœ³ÇNbøÎeµ²<C2B5>ðã³,cíèÀˆ¥æÞ\Ø:Yû|ä,Jn"¨t§&ºdÕ+^¼ãé]™"¿G/¿ÄÙÚΓ„¯m†`4ñÃú4`esa݉ÕÓPò`{YZæ`MMÉ ×xa&à6šV¹<0…¡B…Kfíìîî@\£;äœO§"Ž9’É .¢Šˆå!CQ¸ö?J7ÇãåM´b¸˜^ÀžÁÈ´eYÖÝ©Cgt­(tàþóæù *`í3þÕ½=)…¾ŸÄ%áÀ|Îè¶ÍÓ݇CŠMb¶úàq ñÓχ7h))&¨ù[—·/´è2½ÑÕîŠÐ^¸jk tF<74>Üàà~ßæ¦<C2A6>(I<>ðÛîwÃlÃ¥•Ö-óö;©cÈézo¶»–Ô%·µ<C2B7>ÓÉ™˜ÎSTç·<C3A7>ÎoÛÑ<C39B>Èe<00>ÙgFˆˆÛÆÛÕìÒùfëc8sb kl“òÓÈѼB*¦Hov|áUŸÏ «” 9¤ÃÔÎ@<40>‰ÂÍÔ¶Ûß ':Àºc2 ½è‰:Ê<>ì£ËŸ¾}.)`åáò}é!r•Q`­£ùC"o‡?¥öà/Yá³D«%jèâdTlùÚK©ºX@´®XGÉ¡<C389>ÜÔ~üœ… ½Ž§D§z/”ŸßŽçžÅ°ðt#øÃLš*`»1ò+Ë"ÂX[¥ka;¥^>oõ«“AÄ«mŸä÷ÏÞ³E{ÝÔˆœ]ïEfl?Ó¢0pâ·-HÅKƒyèñÅ^\lÔpÓK
Òë,ô”':R3¦<33>ë°Pšw¹ÕäT4J(-í¥Ñ錡4yºgc¸ëD:OšyjXizc¥¥Ï¡8‡Æ@¨xI²¢Œ$°S˜O,¯®ýnJ(þ1¾heæ!’¨¼ãnéüýÒ®×ÕÕ+tñûÙ•[9Tχ©©{ °,''QSZtÔA'Á™¥BŸ°I”څ¢|¤Ö”¼~ø¥V?³=h€ùôõh|MÈ.1©#
AŽO»N"É[±o€„ážœm7o•°µ))Å¥KCMÆڹΕµµ§_<49>Û!§Óí<04>Ô+݈½¼«Á¼ð2cêñZkëñ»×¢£ Yâûï RaV)"<22><EFBFBD>#ãš……k”OžŽ s¼ðñžo5×|<7C>jºp{ëiŽÂrCbZ¹ š£é^ßœ×1%66J§ë<C2A7>æ`N«7+8ƒšº'Î%¹t縞au¼½=Y`4—\@¹oDV¡Sš "p÷2yX…CKI5ô%m¤ò¼—îS0Îæg„¾Ä FDµ<44>lKÕÂTgd±Ìào#doÕ½*KJ˜<4A>´<70>íøìëYfáˆLêt¾O„EÃì
¬—?~vטã{ ÔL¸Ém³“E0Ÿ6<C5B8>´Â†à0ÄêMJëÛ \ºGoµÝ$FIñnf+CIÒ&(ŽØ\,àݺï'1<>0
`¡,Ërg<72>Ý[Ói”­½Ëq c·HJ)SGC½R@Öxßm­*Úò%+è#½K¾ÿŽîÚ{
<EFBFBD>¢º¼ÜÊ#¸ÞUV¾ÍÒ~Š@Ù á7ùë&Z¡ )çz•ºš]Éž€KÚt^<5E>9µÁâÙk2C°™ZÕ ä—q¯j˜êv ¸ò<C2B8>D<EFBFBD>%½..àÞ+còÕÙåâé¤Èl<»ð™lœ¸OZñ~ÐÏÊ s5y¦ž 5<>5³E4<>ÉûÎÃê$¤:™õ<01>Ÿä6
³Uꯚ“i~Ók¬Î׌*È÷â,©ìaKÐûúêyGÍýÏ€ýÝ—u9+ÍŒù‹;€?CSâø˜ât~^¾TœbZžÑÇokŽ2p£ää<C3A4>ȶ×en”êú¼\ÄF˲û®Cp<43>òƒMÛ/j"Û\BJÚÚ—_W;½ç)8+õ<>Ú÷OXqÒQ´5}µb¶ìÐ ;;…Š¸"vWãâ2ß CÂ'ô·¯Ž…’Î?v=Ë-µ6.,hË“Y&ï;}(Ê1ætü lêFÒ´þšÛcpqÒ0ž€V³ ¤ÅƒãM÷]˜v·ø°ÆÔ6 ÇïwûçÙã,Éì9_e°cŽ™ELšû:&IA×Î;~pësQPÈ ¼CÓÞž—£æ&ˆXÁó¶€YE<59>yÙs4TE<54>£(mGPÝÅ×(¾¶c7¹Þ0†„l\`îQì©GýG;4 ÙöeágH˜„®"4½Øh¸k‰ãã—±™å -Ô¤ñä¢Ä¸xN|î'»ÍsðØÊ°}\ª¶ýö•0#N†Áó¥6P釽 "ümrTqñ÷|†fcU¥Þ×-"·úkkç¸eÛs;Ÿ;gH7¾âûÄHàåæ„Gú~.Àò®¸<0E>çœÇ0Â&G„É-ŒfívÂûVϤmݧx":aÚÚó«EèýȘ*ÒòyÜŒƒ;ø²@ÔåÅIÐN“Ò°÷–½}¾€IÄhË+oÓª V1šËóŽeëdšqšÞ+º·²mãÏ=Ö€|&<26>Õ$3Ü;÷Ø›¦ŒÍ ˆw "ùU#ó©n+UÝm>-dÑcá©ÓóÈquÑ;|/nßᥧDh³,,<ä/#µ¼¿‚œî-Ò<19>ÁdW\Ö[355+* 7FCl™ßÖ(™ ãœ~³2ˆIB´Ð'‡eY-<2D>`rÞSÞqÐrWæjßt¸]zäU·ÍjöŠînõÝ•›@nÐÔ(ŒÌˆñ~·Âoì•òš<<3C>_})“<3X7)(ÀTͱ"}Ê¢“ ¢“â:-5³£¬ ˜²à<C2B2>~$ª{Ï"£ŸÕøyºãzZã¦;2?j,…uI„ì÷„°x¡Ðâcáù=Ï7ñE•AAY¹ÁBAÄUoá{ƒQƒÛ¤µò¯hüÏ­Ó7<C393>=jø/žÿµvpu3µ³ãpµúïºÆ÷ùÿ¶ÿ?7Ïß¿ÿÂËu=ÿËÃwû×þÿÿ#…þ§™µ§™©«ìä³°öúþ5&0Pkní"ÆðèGåãëÓÀߟü±ú{ØÎjj÷·#¿<>ô˜óG-ØÎÔÝjsù·‡Mÿp”+ ƒZ9Bè~°ÑÚÁbamsåàà ƒím<C3AD>v'ã˜îïô<C3AF>Õ?]ù¯üþÄã¯NøÛ£ŸsÚ;¸ýÜLÜ•©7øoÆa·‡pÝæçÿé[Y?ß9˜þGï?þ‹`¨„ÝÜ è™ÝÁ‘ÀÕæâsôt€¹m<>ƒn<75>\¾Á†ZÙ;š<03>¹À î.®Ö°·ò§=§ƒéîþ> ÷<>˜é<E2809A>Q„XCþ¡õ?}´ô§sý<>­- qÂy 9€1~Ðãïwñ4u…üíŠ<00>®îP(ÌÕÕÂÝÎΛµ]a×<61>!®VŽ.nPw7àüïÿþ‰w{˜ƒ;ÄÑââî ôbîùiXa×_Ãø1´²0ÎüÆõ•¼¬Ý Ü` kð/_ò«ü*¿Ê¯ò«üë”ÿx÷í x

File diff suppressed because it is too large Load Diff

11
makefile Normal file
View File

@ -0,0 +1,11 @@
all:
cd src; make all
clean:
cd src; make clean
install:
cd src; make install
uninstall:
cd src; make uninstall

0
man/ChangeLog Normal file
View File

30
man/Makefile.am Normal file
View File

@ -0,0 +1,30 @@
# Makefile.am for hello/man.
#
# Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010
# Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
man_MANS = hello.1
EXTRA_DIST = $(man_MANS)
MAINTAINERCLEANFILES = $(man_MANS)
# The man pages depend on the --help strings and the version number.
common_mandeps = $(top_srcdir)/configure.ac
# Depend on the source, not the binary; we don't need to regenerate the
# binary when any source file changes, only the main one.
# Use -o so that the `missing' program can infer the output file.
hello.1: $(top_srcdir)/src/hello.c $(common_mandeps)
$(HELP2MAN) --name="friendly greeting program" ../src/hello -o $@

916
man/Makefile.in Normal file
View File

@ -0,0 +1,916 @@
# Makefile.in generated by automake 1.11.3 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
# Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
@SET_MAKE@
# Makefile.am for hello/man.
#
# Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010
# Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
VPATH = @srcdir@
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
subdir = man
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ChangeLog
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
$(top_srcdir)/m4/close-stream.m4 $(top_srcdir)/m4/closeout.m4 \
$(top_srcdir)/m4/codeset.m4 $(top_srcdir)/m4/configmake.m4 \
$(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/error.m4 \
$(top_srcdir)/m4/extensions.m4 $(top_srcdir)/m4/fcntl-o.m4 \
$(top_srcdir)/m4/fpending.m4 $(top_srcdir)/m4/getopt.m4 \
$(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/glibc21.m4 \
$(top_srcdir)/m4/gnulib-common.m4 \
$(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/iconv.m4 \
$(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inline.m4 \
$(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/lib-ld.m4 \
$(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
$(top_srcdir)/m4/localcharset.m4 $(top_srcdir)/m4/locale-fr.m4 \
$(top_srcdir)/m4/locale-ja.m4 $(top_srcdir)/m4/locale-zh.m4 \
$(top_srcdir)/m4/mbrtowc.m4 $(top_srcdir)/m4/mbsinit.m4 \
$(top_srcdir)/m4/mbstate_t.m4 $(top_srcdir)/m4/msvc-inval.m4 \
$(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/nls.m4 \
$(top_srcdir)/m4/nocrash.m4 $(top_srcdir)/m4/po.m4 \
$(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/quotearg.m4 \
$(top_srcdir)/m4/ssize_t.m4 $(top_srcdir)/m4/stdbool.m4 \
$(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdlib_h.m4 \
$(top_srcdir)/m4/strerror.m4 $(top_srcdir)/m4/string_h.m4 \
$(top_srcdir)/m4/sys_socket_h.m4 $(top_srcdir)/m4/unistd_h.m4 \
$(top_srcdir)/m4/warn-on-use.m4 $(top_srcdir)/m4/wchar_h.m4 \
$(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/m4/wctype_h.m4 \
$(top_srcdir)/m4/wint_t.m4 $(top_srcdir)/m4/xalloc.m4 \
$(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(install_sh) -d
CONFIG_HEADER = $(top_builddir)/config.h
CONFIG_CLEAN_FILES =
CONFIG_CLEAN_VPATH_FILES =
SOURCES =
DIST_SOURCES =
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
am__vpath_adj = case $$p in \
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
*) f=$$p;; \
esac;
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
am__install_max = 40
am__nobase_strip_setup = \
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
am__nobase_strip = \
for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
am__nobase_list = $(am__nobase_strip_setup); \
for p in $$list; do echo "$$p $$p"; done | \
sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
$(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
if (++n[$$2] == $(am__install_max)) \
{ print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
END { for (dir in files) print dir, files[dir] }'
am__base_list = \
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
am__uninstall_files_from_dir = { \
test -z "$$files" \
|| { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
|| { echo " ( cd '$$dir' && rm -f" $$files ")"; \
$(am__cd) "$$dir" && rm -f $$files; }; \
}
man1dir = $(mandir)/man1
am__installdirs = "$(DESTDIR)$(man1dir)"
NROFF = nroff
MANS = $(man_MANS)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
pkglibexecdir = @pkglibexecdir@
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
AR = @AR@
ARFLAGS = @ARFLAGS@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
CONFIG_INCLUDE = @CONFIG_INCLUDE@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EGREP = @EGREP@
EMULTIHOP_HIDDEN = @EMULTIHOP_HIDDEN@
EMULTIHOP_VALUE = @EMULTIHOP_VALUE@
ENOLINK_HIDDEN = @ENOLINK_HIDDEN@
ENOLINK_VALUE = @ENOLINK_VALUE@
EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@
EOVERFLOW_VALUE = @EOVERFLOW_VALUE@
ERRNO_H = @ERRNO_H@
EXEEXT = @EXEEXT@
GETOPT_H = @GETOPT_H@
GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
GLIBC21 = @GLIBC21@
GMSGFMT = @GMSGFMT@
GMSGFMT_015 = @GMSGFMT_015@
GNULIB_ATOLL = @GNULIB_ATOLL@
GNULIB_BTOWC = @GNULIB_BTOWC@
GNULIB_CALLOC_POSIX = @GNULIB_CALLOC_POSIX@
GNULIB_CANONICALIZE_FILE_NAME = @GNULIB_CANONICALIZE_FILE_NAME@
GNULIB_CHDIR = @GNULIB_CHDIR@
GNULIB_CHOWN = @GNULIB_CHOWN@
GNULIB_CLOSE = @GNULIB_CLOSE@
GNULIB_DUP = @GNULIB_DUP@
GNULIB_DUP2 = @GNULIB_DUP2@
GNULIB_DUP3 = @GNULIB_DUP3@
GNULIB_ENVIRON = @GNULIB_ENVIRON@
GNULIB_EUIDACCESS = @GNULIB_EUIDACCESS@
GNULIB_FACCESSAT = @GNULIB_FACCESSAT@
GNULIB_FCHDIR = @GNULIB_FCHDIR@
GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@
GNULIB_FDATASYNC = @GNULIB_FDATASYNC@
GNULIB_FFSL = @GNULIB_FFSL@
GNULIB_FFSLL = @GNULIB_FFSLL@
GNULIB_FSYNC = @GNULIB_FSYNC@
GNULIB_FTRUNCATE = @GNULIB_FTRUNCATE@
GNULIB_GETCWD = @GNULIB_GETCWD@
GNULIB_GETDOMAINNAME = @GNULIB_GETDOMAINNAME@
GNULIB_GETDTABLESIZE = @GNULIB_GETDTABLESIZE@
GNULIB_GETGROUPS = @GNULIB_GETGROUPS@
GNULIB_GETHOSTNAME = @GNULIB_GETHOSTNAME@
GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@
GNULIB_GETLOGIN = @GNULIB_GETLOGIN@
GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@
GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@
GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@
GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@
GNULIB_GL_UNISTD_H_GETOPT = @GNULIB_GL_UNISTD_H_GETOPT@
GNULIB_GRANTPT = @GNULIB_GRANTPT@
GNULIB_GROUP_MEMBER = @GNULIB_GROUP_MEMBER@
GNULIB_ISATTY = @GNULIB_ISATTY@
GNULIB_ISWBLANK = @GNULIB_ISWBLANK@
GNULIB_ISWCTYPE = @GNULIB_ISWCTYPE@
GNULIB_LCHOWN = @GNULIB_LCHOWN@
GNULIB_LINK = @GNULIB_LINK@
GNULIB_LINKAT = @GNULIB_LINKAT@
GNULIB_LSEEK = @GNULIB_LSEEK@
GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@
GNULIB_MBRLEN = @GNULIB_MBRLEN@
GNULIB_MBRTOWC = @GNULIB_MBRTOWC@
GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@
GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@
GNULIB_MBSCHR = @GNULIB_MBSCHR@
GNULIB_MBSCSPN = @GNULIB_MBSCSPN@
GNULIB_MBSINIT = @GNULIB_MBSINIT@
GNULIB_MBSLEN = @GNULIB_MBSLEN@
GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@
GNULIB_MBSNLEN = @GNULIB_MBSNLEN@
GNULIB_MBSNRTOWCS = @GNULIB_MBSNRTOWCS@
GNULIB_MBSPBRK = @GNULIB_MBSPBRK@
GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@
GNULIB_MBSRCHR = @GNULIB_MBSRCHR@
GNULIB_MBSRTOWCS = @GNULIB_MBSRTOWCS@
GNULIB_MBSSEP = @GNULIB_MBSSEP@
GNULIB_MBSSPN = @GNULIB_MBSSPN@
GNULIB_MBSSTR = @GNULIB_MBSSTR@
GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@
GNULIB_MBTOWC = @GNULIB_MBTOWC@
GNULIB_MEMCHR = @GNULIB_MEMCHR@
GNULIB_MEMMEM = @GNULIB_MEMMEM@
GNULIB_MEMPCPY = @GNULIB_MEMPCPY@
GNULIB_MEMRCHR = @GNULIB_MEMRCHR@
GNULIB_MKDTEMP = @GNULIB_MKDTEMP@
GNULIB_MKOSTEMP = @GNULIB_MKOSTEMP@
GNULIB_MKOSTEMPS = @GNULIB_MKOSTEMPS@
GNULIB_MKSTEMP = @GNULIB_MKSTEMP@
GNULIB_MKSTEMPS = @GNULIB_MKSTEMPS@
GNULIB_PIPE = @GNULIB_PIPE@
GNULIB_PIPE2 = @GNULIB_PIPE2@
GNULIB_POSIX_OPENPT = @GNULIB_POSIX_OPENPT@
GNULIB_PREAD = @GNULIB_PREAD@
GNULIB_PTSNAME = @GNULIB_PTSNAME@
GNULIB_PTSNAME_R = @GNULIB_PTSNAME_R@
GNULIB_PUTENV = @GNULIB_PUTENV@
GNULIB_PWRITE = @GNULIB_PWRITE@
GNULIB_RANDOM = @GNULIB_RANDOM@
GNULIB_RANDOM_R = @GNULIB_RANDOM_R@
GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@
GNULIB_READ = @GNULIB_READ@
GNULIB_READLINK = @GNULIB_READLINK@
GNULIB_READLINKAT = @GNULIB_READLINKAT@
GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@
GNULIB_REALPATH = @GNULIB_REALPATH@
GNULIB_RMDIR = @GNULIB_RMDIR@
GNULIB_RPMATCH = @GNULIB_RPMATCH@
GNULIB_SETENV = @GNULIB_SETENV@
GNULIB_SETHOSTNAME = @GNULIB_SETHOSTNAME@
GNULIB_SLEEP = @GNULIB_SLEEP@
GNULIB_STPCPY = @GNULIB_STPCPY@
GNULIB_STPNCPY = @GNULIB_STPNCPY@
GNULIB_STRCASESTR = @GNULIB_STRCASESTR@
GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@
GNULIB_STRDUP = @GNULIB_STRDUP@
GNULIB_STRERROR = @GNULIB_STRERROR@
GNULIB_STRERROR_R = @GNULIB_STRERROR_R@
GNULIB_STRNCAT = @GNULIB_STRNCAT@
GNULIB_STRNDUP = @GNULIB_STRNDUP@
GNULIB_STRNLEN = @GNULIB_STRNLEN@
GNULIB_STRPBRK = @GNULIB_STRPBRK@
GNULIB_STRSEP = @GNULIB_STRSEP@
GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@
GNULIB_STRSTR = @GNULIB_STRSTR@
GNULIB_STRTOD = @GNULIB_STRTOD@
GNULIB_STRTOK_R = @GNULIB_STRTOK_R@
GNULIB_STRTOLL = @GNULIB_STRTOLL@
GNULIB_STRTOULL = @GNULIB_STRTOULL@
GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@
GNULIB_SYMLINK = @GNULIB_SYMLINK@
GNULIB_SYMLINKAT = @GNULIB_SYMLINKAT@
GNULIB_SYSTEM_POSIX = @GNULIB_SYSTEM_POSIX@
GNULIB_TOWCTRANS = @GNULIB_TOWCTRANS@
GNULIB_TTYNAME_R = @GNULIB_TTYNAME_R@
GNULIB_UNISTD_H_NONBLOCKING = @GNULIB_UNISTD_H_NONBLOCKING@
GNULIB_UNISTD_H_SIGPIPE = @GNULIB_UNISTD_H_SIGPIPE@
GNULIB_UNLINK = @GNULIB_UNLINK@
GNULIB_UNLINKAT = @GNULIB_UNLINKAT@
GNULIB_UNLOCKPT = @GNULIB_UNLOCKPT@
GNULIB_UNSETENV = @GNULIB_UNSETENV@
GNULIB_USLEEP = @GNULIB_USLEEP@
GNULIB_WCPCPY = @GNULIB_WCPCPY@
GNULIB_WCPNCPY = @GNULIB_WCPNCPY@
GNULIB_WCRTOMB = @GNULIB_WCRTOMB@
GNULIB_WCSCASECMP = @GNULIB_WCSCASECMP@
GNULIB_WCSCAT = @GNULIB_WCSCAT@
GNULIB_WCSCHR = @GNULIB_WCSCHR@
GNULIB_WCSCMP = @GNULIB_WCSCMP@
GNULIB_WCSCOLL = @GNULIB_WCSCOLL@
GNULIB_WCSCPY = @GNULIB_WCSCPY@
GNULIB_WCSCSPN = @GNULIB_WCSCSPN@
GNULIB_WCSDUP = @GNULIB_WCSDUP@
GNULIB_WCSLEN = @GNULIB_WCSLEN@
GNULIB_WCSNCASECMP = @GNULIB_WCSNCASECMP@
GNULIB_WCSNCAT = @GNULIB_WCSNCAT@
GNULIB_WCSNCMP = @GNULIB_WCSNCMP@
GNULIB_WCSNCPY = @GNULIB_WCSNCPY@
GNULIB_WCSNLEN = @GNULIB_WCSNLEN@
GNULIB_WCSNRTOMBS = @GNULIB_WCSNRTOMBS@
GNULIB_WCSPBRK = @GNULIB_WCSPBRK@
GNULIB_WCSRCHR = @GNULIB_WCSRCHR@
GNULIB_WCSRTOMBS = @GNULIB_WCSRTOMBS@
GNULIB_WCSSPN = @GNULIB_WCSSPN@
GNULIB_WCSSTR = @GNULIB_WCSSTR@
GNULIB_WCSTOK = @GNULIB_WCSTOK@
GNULIB_WCSWIDTH = @GNULIB_WCSWIDTH@
GNULIB_WCSXFRM = @GNULIB_WCSXFRM@
GNULIB_WCTOB = @GNULIB_WCTOB@
GNULIB_WCTOMB = @GNULIB_WCTOMB@
GNULIB_WCTRANS = @GNULIB_WCTRANS@
GNULIB_WCTYPE = @GNULIB_WCTYPE@
GNULIB_WCWIDTH = @GNULIB_WCWIDTH@
GNULIB_WMEMCHR = @GNULIB_WMEMCHR@
GNULIB_WMEMCMP = @GNULIB_WMEMCMP@
GNULIB_WMEMCPY = @GNULIB_WMEMCPY@
GNULIB_WMEMMOVE = @GNULIB_WMEMMOVE@
GNULIB_WMEMSET = @GNULIB_WMEMSET@
GNULIB_WRITE = @GNULIB_WRITE@
GNULIB__EXIT = @GNULIB__EXIT@
GREP = @GREP@
HAVE_ATOLL = @HAVE_ATOLL@
HAVE_BTOWC = @HAVE_BTOWC@
HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@
HAVE_CHOWN = @HAVE_CHOWN@
HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@
HAVE_DECL_FCHDIR = @HAVE_DECL_FCHDIR@
HAVE_DECL_FDATASYNC = @HAVE_DECL_FDATASYNC@
HAVE_DECL_GETDOMAINNAME = @HAVE_DECL_GETDOMAINNAME@
HAVE_DECL_GETLOADAVG = @HAVE_DECL_GETLOADAVG@
HAVE_DECL_GETLOGIN_R = @HAVE_DECL_GETLOGIN_R@
HAVE_DECL_GETPAGESIZE = @HAVE_DECL_GETPAGESIZE@
HAVE_DECL_GETUSERSHELL = @HAVE_DECL_GETUSERSHELL@
HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@
HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@
HAVE_DECL_SETENV = @HAVE_DECL_SETENV@
HAVE_DECL_SETHOSTNAME = @HAVE_DECL_SETHOSTNAME@
HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@
HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@
HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@
HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@
HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@
HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@
HAVE_DECL_TTYNAME_R = @HAVE_DECL_TTYNAME_R@
HAVE_DECL_UNSETENV = @HAVE_DECL_UNSETENV@
HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@
HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@
HAVE_DUP2 = @HAVE_DUP2@
HAVE_DUP3 = @HAVE_DUP3@
HAVE_EUIDACCESS = @HAVE_EUIDACCESS@
HAVE_FACCESSAT = @HAVE_FACCESSAT@
HAVE_FCHDIR = @HAVE_FCHDIR@
HAVE_FCHOWNAT = @HAVE_FCHOWNAT@
HAVE_FDATASYNC = @HAVE_FDATASYNC@
HAVE_FEATURES_H = @HAVE_FEATURES_H@
HAVE_FFSL = @HAVE_FFSL@
HAVE_FFSLL = @HAVE_FFSLL@
HAVE_FSYNC = @HAVE_FSYNC@
HAVE_FTRUNCATE = @HAVE_FTRUNCATE@
HAVE_GETDTABLESIZE = @HAVE_GETDTABLESIZE@
HAVE_GETGROUPS = @HAVE_GETGROUPS@
HAVE_GETHOSTNAME = @HAVE_GETHOSTNAME@
HAVE_GETLOGIN = @HAVE_GETLOGIN@
HAVE_GETOPT_H = @HAVE_GETOPT_H@
HAVE_GETPAGESIZE = @HAVE_GETPAGESIZE@
HAVE_GETSUBOPT = @HAVE_GETSUBOPT@
HAVE_GRANTPT = @HAVE_GRANTPT@
HAVE_GROUP_MEMBER = @HAVE_GROUP_MEMBER@
HAVE_ISWBLANK = @HAVE_ISWBLANK@
HAVE_ISWCNTRL = @HAVE_ISWCNTRL@
HAVE_LCHOWN = @HAVE_LCHOWN@
HAVE_LINK = @HAVE_LINK@
HAVE_LINKAT = @HAVE_LINKAT@
HAVE_MBRLEN = @HAVE_MBRLEN@
HAVE_MBRTOWC = @HAVE_MBRTOWC@
HAVE_MBSINIT = @HAVE_MBSINIT@
HAVE_MBSLEN = @HAVE_MBSLEN@
HAVE_MBSNRTOWCS = @HAVE_MBSNRTOWCS@
HAVE_MBSRTOWCS = @HAVE_MBSRTOWCS@
HAVE_MEMCHR = @HAVE_MEMCHR@
HAVE_MEMPCPY = @HAVE_MEMPCPY@
HAVE_MKDTEMP = @HAVE_MKDTEMP@
HAVE_MKOSTEMP = @HAVE_MKOSTEMP@
HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@
HAVE_MKSTEMP = @HAVE_MKSTEMP@
HAVE_MKSTEMPS = @HAVE_MKSTEMPS@
HAVE_MSVC_INVALID_PARAMETER_HANDLER = @HAVE_MSVC_INVALID_PARAMETER_HANDLER@
HAVE_OS_H = @HAVE_OS_H@
HAVE_PIPE = @HAVE_PIPE@
HAVE_PIPE2 = @HAVE_PIPE2@
HAVE_POSIX_OPENPT = @HAVE_POSIX_OPENPT@
HAVE_PREAD = @HAVE_PREAD@
HAVE_PTSNAME = @HAVE_PTSNAME@
HAVE_PTSNAME_R = @HAVE_PTSNAME_R@
HAVE_PWRITE = @HAVE_PWRITE@
HAVE_RANDOM = @HAVE_RANDOM@
HAVE_RANDOM_H = @HAVE_RANDOM_H@
HAVE_RANDOM_R = @HAVE_RANDOM_R@
HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@
HAVE_READLINK = @HAVE_READLINK@
HAVE_READLINKAT = @HAVE_READLINKAT@
HAVE_REALPATH = @HAVE_REALPATH@
HAVE_RPMATCH = @HAVE_RPMATCH@
HAVE_SETENV = @HAVE_SETENV@
HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@
HAVE_SLEEP = @HAVE_SLEEP@
HAVE_STPCPY = @HAVE_STPCPY@
HAVE_STPNCPY = @HAVE_STPNCPY@
HAVE_STRCASESTR = @HAVE_STRCASESTR@
HAVE_STRCHRNUL = @HAVE_STRCHRNUL@
HAVE_STRPBRK = @HAVE_STRPBRK@
HAVE_STRSEP = @HAVE_STRSEP@
HAVE_STRTOD = @HAVE_STRTOD@
HAVE_STRTOLL = @HAVE_STRTOLL@
HAVE_STRTOULL = @HAVE_STRTOULL@
HAVE_STRUCT_RANDOM_DATA = @HAVE_STRUCT_RANDOM_DATA@
HAVE_STRVERSCMP = @HAVE_STRVERSCMP@
HAVE_SYMLINK = @HAVE_SYMLINK@
HAVE_SYMLINKAT = @HAVE_SYMLINKAT@
HAVE_SYS_LOADAVG_H = @HAVE_SYS_LOADAVG_H@
HAVE_SYS_PARAM_H = @HAVE_SYS_PARAM_H@
HAVE_UNISTD_H = @HAVE_UNISTD_H@
HAVE_UNLINKAT = @HAVE_UNLINKAT@
HAVE_UNLOCKPT = @HAVE_UNLOCKPT@
HAVE_USLEEP = @HAVE_USLEEP@
HAVE_WCHAR_H = @HAVE_WCHAR_H@
HAVE_WCHAR_T = @HAVE_WCHAR_T@
HAVE_WCPCPY = @HAVE_WCPCPY@
HAVE_WCPNCPY = @HAVE_WCPNCPY@
HAVE_WCRTOMB = @HAVE_WCRTOMB@
HAVE_WCSCASECMP = @HAVE_WCSCASECMP@
HAVE_WCSCAT = @HAVE_WCSCAT@
HAVE_WCSCHR = @HAVE_WCSCHR@
HAVE_WCSCMP = @HAVE_WCSCMP@
HAVE_WCSCOLL = @HAVE_WCSCOLL@
HAVE_WCSCPY = @HAVE_WCSCPY@
HAVE_WCSCSPN = @HAVE_WCSCSPN@
HAVE_WCSDUP = @HAVE_WCSDUP@
HAVE_WCSLEN = @HAVE_WCSLEN@
HAVE_WCSNCASECMP = @HAVE_WCSNCASECMP@
HAVE_WCSNCAT = @HAVE_WCSNCAT@
HAVE_WCSNCMP = @HAVE_WCSNCMP@
HAVE_WCSNCPY = @HAVE_WCSNCPY@
HAVE_WCSNLEN = @HAVE_WCSNLEN@
HAVE_WCSNRTOMBS = @HAVE_WCSNRTOMBS@
HAVE_WCSPBRK = @HAVE_WCSPBRK@
HAVE_WCSRCHR = @HAVE_WCSRCHR@
HAVE_WCSRTOMBS = @HAVE_WCSRTOMBS@
HAVE_WCSSPN = @HAVE_WCSSPN@
HAVE_WCSSTR = @HAVE_WCSSTR@
HAVE_WCSTOK = @HAVE_WCSTOK@
HAVE_WCSWIDTH = @HAVE_WCSWIDTH@
HAVE_WCSXFRM = @HAVE_WCSXFRM@
HAVE_WCTRANS_T = @HAVE_WCTRANS_T@
HAVE_WCTYPE_H = @HAVE_WCTYPE_H@
HAVE_WCTYPE_T = @HAVE_WCTYPE_T@
HAVE_WINSOCK2_H = @HAVE_WINSOCK2_H@
HAVE_WINT_T = @HAVE_WINT_T@
HAVE_WMEMCHR = @HAVE_WMEMCHR@
HAVE_WMEMCMP = @HAVE_WMEMCMP@
HAVE_WMEMCPY = @HAVE_WMEMCPY@
HAVE_WMEMMOVE = @HAVE_WMEMMOVE@
HAVE_WMEMSET = @HAVE_WMEMSET@
HAVE__BOOL = @HAVE__BOOL@
HAVE__EXIT = @HAVE__EXIT@
HELP2MAN = @HELP2MAN@
INCLUDE_NEXT = @INCLUDE_NEXT@
INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INTLLIBS = @INTLLIBS@
INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
LDFLAGS = @LDFLAGS@
LIBHELLO_LIBDEPS = @LIBHELLO_LIBDEPS@
LIBHELLO_LTLIBDEPS = @LIBHELLO_LTLIBDEPS@
LIBICONV = @LIBICONV@
LIBINTL = @LIBINTL@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LOCALCHARSET_TESTS_ENVIRONMENT = @LOCALCHARSET_TESTS_ENVIRONMENT@
LOCALE_FR_UTF8 = @LOCALE_FR_UTF8@
LOCALE_JA = @LOCALE_JA@
LOCALE_ZH_CN = @LOCALE_ZH_CN@
LTLIBICONV = @LTLIBICONV@
LTLIBINTL = @LTLIBINTL@
LTLIBOBJS = @LTLIBOBJS@
MAKEINFO = @MAKEINFO@
MKDIR_P = @MKDIR_P@
MSGFMT = @MSGFMT@
MSGFMT_015 = @MSGFMT_015@
MSGMERGE = @MSGMERGE@
NEXT_AS_FIRST_DIRECTIVE_ERRNO_H = @NEXT_AS_FIRST_DIRECTIVE_ERRNO_H@
NEXT_AS_FIRST_DIRECTIVE_GETOPT_H = @NEXT_AS_FIRST_DIRECTIVE_GETOPT_H@
NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@
NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@
NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@
NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@
NEXT_AS_FIRST_DIRECTIVE_WCHAR_H = @NEXT_AS_FIRST_DIRECTIVE_WCHAR_H@
NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H@
NEXT_ERRNO_H = @NEXT_ERRNO_H@
NEXT_GETOPT_H = @NEXT_GETOPT_H@
NEXT_STDDEF_H = @NEXT_STDDEF_H@
NEXT_STDLIB_H = @NEXT_STDLIB_H@
NEXT_STRING_H = @NEXT_STRING_H@
NEXT_UNISTD_H = @NEXT_UNISTD_H@
NEXT_WCHAR_H = @NEXT_WCHAR_H@
NEXT_WCTYPE_H = @NEXT_WCTYPE_H@
OBJEXT = @OBJEXT@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_URL = @PACKAGE_URL@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
POSUB = @POSUB@
PRAGMA_COLUMNS = @PRAGMA_COLUMNS@
PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@
RANLIB = @RANLIB@
REPLACE_BTOWC = @REPLACE_BTOWC@
REPLACE_CALLOC = @REPLACE_CALLOC@
REPLACE_CANONICALIZE_FILE_NAME = @REPLACE_CANONICALIZE_FILE_NAME@
REPLACE_CHOWN = @REPLACE_CHOWN@
REPLACE_CLOSE = @REPLACE_CLOSE@
REPLACE_DUP = @REPLACE_DUP@
REPLACE_DUP2 = @REPLACE_DUP2@
REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@
REPLACE_GETCWD = @REPLACE_GETCWD@
REPLACE_GETDOMAINNAME = @REPLACE_GETDOMAINNAME@
REPLACE_GETGROUPS = @REPLACE_GETGROUPS@
REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@
REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@
REPLACE_ISATTY = @REPLACE_ISATTY@
REPLACE_ISWBLANK = @REPLACE_ISWBLANK@
REPLACE_ISWCNTRL = @REPLACE_ISWCNTRL@
REPLACE_LCHOWN = @REPLACE_LCHOWN@
REPLACE_LINK = @REPLACE_LINK@
REPLACE_LINKAT = @REPLACE_LINKAT@
REPLACE_LSEEK = @REPLACE_LSEEK@
REPLACE_MALLOC = @REPLACE_MALLOC@
REPLACE_MBRLEN = @REPLACE_MBRLEN@
REPLACE_MBRTOWC = @REPLACE_MBRTOWC@
REPLACE_MBSINIT = @REPLACE_MBSINIT@
REPLACE_MBSNRTOWCS = @REPLACE_MBSNRTOWCS@
REPLACE_MBSRTOWCS = @REPLACE_MBSRTOWCS@
REPLACE_MBSTATE_T = @REPLACE_MBSTATE_T@
REPLACE_MBTOWC = @REPLACE_MBTOWC@
REPLACE_MEMCHR = @REPLACE_MEMCHR@
REPLACE_MEMMEM = @REPLACE_MEMMEM@
REPLACE_MKSTEMP = @REPLACE_MKSTEMP@
REPLACE_NULL = @REPLACE_NULL@
REPLACE_PREAD = @REPLACE_PREAD@
REPLACE_PTSNAME_R = @REPLACE_PTSNAME_R@
REPLACE_PUTENV = @REPLACE_PUTENV@
REPLACE_PWRITE = @REPLACE_PWRITE@
REPLACE_RANDOM_R = @REPLACE_RANDOM_R@
REPLACE_READ = @REPLACE_READ@
REPLACE_READLINK = @REPLACE_READLINK@
REPLACE_REALLOC = @REPLACE_REALLOC@
REPLACE_REALPATH = @REPLACE_REALPATH@
REPLACE_RMDIR = @REPLACE_RMDIR@
REPLACE_SETENV = @REPLACE_SETENV@
REPLACE_SLEEP = @REPLACE_SLEEP@
REPLACE_STPNCPY = @REPLACE_STPNCPY@
REPLACE_STRCASESTR = @REPLACE_STRCASESTR@
REPLACE_STRCHRNUL = @REPLACE_STRCHRNUL@
REPLACE_STRDUP = @REPLACE_STRDUP@
REPLACE_STRERROR = @REPLACE_STRERROR@
REPLACE_STRERROR_R = @REPLACE_STRERROR_R@
REPLACE_STRNCAT = @REPLACE_STRNCAT@
REPLACE_STRNDUP = @REPLACE_STRNDUP@
REPLACE_STRNLEN = @REPLACE_STRNLEN@
REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@
REPLACE_STRSTR = @REPLACE_STRSTR@
REPLACE_STRTOD = @REPLACE_STRTOD@
REPLACE_STRTOK_R = @REPLACE_STRTOK_R@
REPLACE_SYMLINK = @REPLACE_SYMLINK@
REPLACE_TOWLOWER = @REPLACE_TOWLOWER@
REPLACE_TTYNAME_R = @REPLACE_TTYNAME_R@
REPLACE_UNLINK = @REPLACE_UNLINK@
REPLACE_UNLINKAT = @REPLACE_UNLINKAT@
REPLACE_UNSETENV = @REPLACE_UNSETENV@
REPLACE_USLEEP = @REPLACE_USLEEP@
REPLACE_WCRTOMB = @REPLACE_WCRTOMB@
REPLACE_WCSNRTOMBS = @REPLACE_WCSNRTOMBS@
REPLACE_WCSRTOMBS = @REPLACE_WCSRTOMBS@
REPLACE_WCSWIDTH = @REPLACE_WCSWIDTH@
REPLACE_WCTOB = @REPLACE_WCTOB@
REPLACE_WCTOMB = @REPLACE_WCTOMB@
REPLACE_WCWIDTH = @REPLACE_WCWIDTH@
REPLACE_WRITE = @REPLACE_WRITE@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STDBOOL_H = @STDBOOL_H@
STDDEF_H = @STDDEF_H@
STRIP = @STRIP@
UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@
UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@
UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
XGETTEXT = @XGETTEXT@
XGETTEXT_015 = @XGETTEXT_015@
XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
ac_ct_CC = @ac_ct_CC@
am__include = @am__include@
am__leading_dot = @am__leading_dot@
am__quote = @am__quote@
am__tar = @am__tar@
am__untar = @am__untar@
bindir = @bindir@
build = @build@
build_alias = @build_alias@
build_cpu = @build_cpu@
build_os = @build_os@
build_vendor = @build_vendor@
builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
exec_prefix = @exec_prefix@
gl_LIBOBJS = @gl_LIBOBJS@
gl_LTLIBOBJS = @gl_LTLIBOBJS@
gltests_LIBOBJS = @gltests_LIBOBJS@
gltests_LTLIBOBJS = @gltests_LTLIBOBJS@
gltests_WITNESS = @gltests_WITNESS@
host = @host@
host_alias = @host_alias@
host_cpu = @host_cpu@
host_os = @host_os@
host_vendor = @host_vendor@
htmldir = @htmldir@
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
libdir = @libdir@
libexecdir = @libexecdir@
lispdir = @lispdir@
localedir = @localedir@
localstatedir = @localstatedir@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
man_MANS = hello.1
EXTRA_DIST = $(man_MANS)
MAINTAINERCLEANFILES = $(man_MANS)
# The man pages depend on the --help strings and the version number.
common_mandeps = $(top_srcdir)/configure.ac
all: all-am
.SUFFIXES:
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
&& { if test -f $@; then exit 0; else break; fi; }; \
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu man/Makefile'; \
$(am__cd) $(top_srcdir) && \
$(AUTOMAKE) --gnu man/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
*config.status*) \
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
*) \
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
esac;
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(top_srcdir)/configure: $(am__configure_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(am__aclocal_m4_deps):
install-man1: $(man_MANS)
@$(NORMAL_INSTALL)
test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)"
@list=''; test -n "$(man1dir)" || exit 0; \
{ for i in $$list; do echo "$$i"; done; \
l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
sed -n '/\.1[a-z]*$$/p'; \
} | while read p; do \
if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
echo "$$d$$p"; echo "$$p"; \
done | \
sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
-e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
sed 'N;N;s,\n, ,g' | { \
list=; while read file base inst; do \
if test "$$base" = "$$inst"; then list="$$list $$file"; else \
echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
$(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
fi; \
done; \
for i in $$list; do echo "$$i"; done | $(am__base_list) | \
while read files; do \
test -z "$$files" || { \
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
$(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
done; }
uninstall-man1:
@$(NORMAL_UNINSTALL)
@list=''; test -n "$(man1dir)" || exit 0; \
files=`{ for i in $$list; do echo "$$i"; done; \
l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
sed -n '/\.1[a-z]*$$/p'; \
} | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
-e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir)
tags: TAGS
TAGS:
ctags: CTAGS
CTAGS:
distdir: $(DISTFILES)
@list='$(MANS)'; if test -n "$$list"; then \
list=`for p in $$list; do \
if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
if test -n "$$list" && \
grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \
grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \
echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \
echo " typically \`make maintainer-clean' will remove them" >&2; \
exit 1; \
else :; fi; \
else :; fi
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
list='$(DISTFILES)'; \
dist_files=`for file in $$list; do echo $$file; done | \
sed -e "s|^$$srcdirstrip/||;t" \
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
case $$dist_files in \
*/*) $(MKDIR_P) `echo "$$dist_files" | \
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
sort -u` ;; \
esac; \
for file in $$dist_files; do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
if test -d $$d/$$file; then \
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
if test -d "$(distdir)/$$file"; then \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
else \
test -f "$(distdir)/$$file" \
|| cp -p $$d/$$file "$(distdir)/$$file" \
|| exit 1; \
fi; \
done
check-am: all-am
check: check-am
all-am: Makefile $(MANS)
installdirs:
for dir in "$(DESTDIR)$(man1dir)"; do \
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
done
install: install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
installcheck: installcheck-am
install-strip:
if test -z '$(STRIP)'; then \
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
install; \
else \
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
fi
mostlyclean-generic:
clean-generic:
distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
clean: clean-am
clean-am: clean-generic mostlyclean-am
distclean: distclean-am
-rm -f Makefile
distclean-am: clean-am distclean-generic
dvi: dvi-am
dvi-am:
html: html-am
html-am:
info: info-am
info-am:
install-data-am: install-man
install-dvi: install-dvi-am
install-dvi-am:
install-exec-am:
install-html: install-html-am
install-html-am:
install-info: install-info-am
install-info-am:
install-man: install-man1
install-pdf: install-pdf-am
install-pdf-am:
install-ps: install-ps-am
install-ps-am:
installcheck-am:
maintainer-clean: maintainer-clean-am
-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-am
mostlyclean-am: mostlyclean-generic
pdf: pdf-am
pdf-am:
ps: ps-am
ps-am:
uninstall-am: uninstall-man
uninstall-man: uninstall-man1
.MAKE: install-am install-strip
.PHONY: all all-am check check-am clean clean-generic distclean \
distclean-generic distdir dvi dvi-am html html-am info info-am \
install install-am install-data install-data-am install-dvi \
install-dvi-am install-exec install-exec-am install-html \
install-html-am install-info install-info-am install-man \
install-man1 install-pdf install-pdf-am install-ps \
install-ps-am install-strip installcheck installcheck-am \
installdirs maintainer-clean maintainer-clean-generic \
mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \
uninstall-am uninstall-man uninstall-man1
# Depend on the source, not the binary; we don't need to regenerate the
# binary when any source file changes, only the main one.
# Use -o so that the `missing' program can infer the output file.
hello.1: $(top_srcdir)/src/hello.c $(common_mandeps)
$(HELP2MAN) --name="friendly greeting program" ../src/hello -o $@
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

48
man/hello.1 Normal file
View File

@ -0,0 +1,48 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.40.4.
.TH HELLO "1" "April 2012" "hello 2.8" "User Commands"
.SH NAME
hello \- friendly greeting program
.SH SYNOPSIS
.B hello
[\fIOPTION\fR]...
.SH DESCRIPTION
Print a friendly, customizable greeting.
.TP
\fB\-h\fR, \fB\-\-help\fR
display this help and exit
.TP
\fB\-v\fR, \fB\-\-version\fR
display version information and exit
.TP
\fB\-t\fR, \fB\-\-traditional\fR
use traditional greeting format
.TP
\fB\-n\fR, \fB\-\-next\-generation\fR
use next\-generation greeting format
.TP
\fB\-g\fR, \fB\-\-greeting\fR=\fITEXT\fR
use TEXT as the greeting message
.SH "REPORTING BUGS"
Report bugs to: bug\-hello@gnu.org
.br
GNU Hello home page: <http://www.gnu.org/software/hello/>
.br
General help using GNU software: <http://www.gnu.org/gethelp/>
.SH COPYRIGHT
Copyright \(co 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
.br
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
.SH "SEE ALSO"
The full documentation for
.B hello
is maintained as a Texinfo manual. If the
.B info
and
.B hello
programs are properly installed at your site, the command
.IP
.B info hello
.PP
should give you access to the complete manual.

1
push Executable file
View File

@ -0,0 +1 @@
bzr push lp:~teejee2008/timeshift/trunk

2402
src/Main.vala Normal file

File diff suppressed because it is too large Load Diff

1285
src/MainWindow.vala Normal file

File diff suppressed because it is too large Load Diff

967
src/RestoreWindow.vala Normal file
View File

@ -0,0 +1,967 @@
/*
* MainWindow.vala
*
* Copyright 2013 Tony George <teejee2008@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02110-1301, USA.
*
*
*/
using Gtk;
using Gee;
using Utility;
public class RestoreWindow : Gtk.Dialog{
private Box vbox_main;
private Box hbox_action;
private Notebook notebook;
//target device
private Label lbl_header_partitions;
private TreeView tv_partitions;
private ScrolledWindow sw_partitions;
private TreeViewColumn col_device_target;
private TreeViewColumn col_fs;
private TreeViewColumn col_size;
private TreeViewColumn col_used;
private TreeViewColumn col_label;
private TreeViewColumn col_dist;
//bootloader
private Label lbl_header_bootloader;
private CheckButton chk_restore_grub2;
private ComboBox cmb_boot_device;
//exclude
private Label lbl_exclude;
private Box vbox_exclude;
private LinkButton lnk_default_list;
private TreeView tv_exclude;
private ScrolledWindow sw_exclude;
private TreeViewColumn col_exclude;
private Toolbar toolbar_exclude;
private ToolButton btn_remove;
private ToolButton btn_warning;
private ToolButton btn_reset_exclude_list;
private MenuToolButton btn_exclude;
private Gtk.Menu menu_exclude;
private ImageMenuItem menu_exclude_add_file;
private ImageMenuItem menu_exclude_add_folder;
private ImageMenuItem menu_exclude_add_folder_contents;
private MenuToolButton btn_include;
private Gtk.Menu menu_include;
private ImageMenuItem menu_include_add_file;
private ImageMenuItem menu_include_add_folder;
private Gee.ArrayList<string> temp_exclude_list;
//actions
private Button btn_cancel;
private Button btn_restore;
public RestoreWindow () {
this.title = _("Restore");
this.window_position = WindowPosition.CENTER_ON_PARENT;
this.set_destroy_with_parent (true);
this.set_modal (true);
this.set_default_size (500, 400);
//set app icon
try{
this.icon = new Gdk.Pixbuf.from_file (App.share_folder + """/pixmaps/timeshift.png""");
}
catch(Error e){
log_error (e.message);
}
//vbox_main
vbox_main = get_content_area ();
//notebook
notebook = new Notebook ();
notebook.margin = 6;
vbox_main.pack_start (notebook, true, true, 0);
//target device tab -------------------------------------------------
//lbl_exclude
lbl_exclude = new Label (_("Target"));
//vbox_target
Box vbox_target = new Box (Orientation.VERTICAL, 6);
vbox_target.margin = 6;
notebook.append_page (vbox_target, lbl_exclude);
//lbl_header_partitions
lbl_header_partitions = new Gtk.Label("<b>" + _("Target Device") + ":</b>");
lbl_header_partitions.xalign = (float) 0.0;
lbl_header_partitions.set_use_markup(true);
vbox_target.add(lbl_header_partitions);
//tv_partitions
tv_partitions = new TreeView();
tv_partitions.get_selection().mode = SelectionMode.SINGLE;
tv_partitions.set_rules_hint (true);
tv_partitions.button_release_event.connect(tv_partitions_button_press_event);
//sw_partitions
sw_partitions = new ScrolledWindow(null, null);
sw_partitions.set_shadow_type (ShadowType.ETCHED_IN);
sw_partitions.add (tv_partitions);
sw_partitions.expand = true;
vbox_target.add(sw_partitions);
//col_device
col_device_target = new TreeViewColumn();
col_device_target.title = _("Device");
col_device_target.spacing = 1;
CellRendererPixbuf cell_device_icon = new CellRendererPixbuf ();
cell_device_icon.stock_id = Stock.HARDDISK;
cell_device_icon.xpad = 1;
col_device_target.pack_start (cell_device_icon, false);
CellRendererText cell_device_target = new CellRendererText ();
col_device_target.pack_start (cell_device_target, false);
col_device_target.set_cell_data_func (cell_device_target, cell_device_target_render);
tv_partitions.append_column(col_device_target);
//col_fs
col_fs = new TreeViewColumn();
col_fs.title = _("Type");
CellRendererText cell_fs = new CellRendererText ();
cell_fs.xalign = (float) 0.5;
col_fs.pack_start (cell_fs, false);
col_fs.set_cell_data_func (cell_fs, cell_fs_render);
tv_partitions.append_column(col_fs);
//col_size
col_size = new TreeViewColumn();
col_size.title = _("Size");
CellRendererText cell_size = new CellRendererText ();
cell_size.xalign = (float) 1.0;
col_size.pack_start (cell_size, false);
col_size.set_cell_data_func (cell_size, cell_size_render);
tv_partitions.append_column(col_size);
//col_used
col_used = new TreeViewColumn();
col_used.title = _("Used");
CellRendererText cell_used = new CellRendererText ();
cell_used.xalign = (float) 1.0;
col_used.pack_start (cell_used, false);
col_used.set_cell_data_func (cell_used, cell_used_render);
tv_partitions.append_column(col_used);
//col_label
col_label = new TreeViewColumn();
col_label.title = _("Label");
CellRendererText cell_label = new CellRendererText ();
col_label.pack_start (cell_label, false);
col_label.set_cell_data_func (cell_label, cell_label_render);
tv_partitions.append_column(col_label);
//col_dist
col_dist = new TreeViewColumn();
col_dist.title = _("System");
CellRendererText cell_dist = new CellRendererText ();
col_dist.pack_start (cell_dist, false);
col_dist.set_cell_data_func (cell_dist, cell_dist_render);
tv_partitions.append_column(col_dist);
//bootloader options -------------------------------------------
//lbl_header_bootloader
lbl_header_bootloader = new Gtk.Label("<b>" +_("Bootloader") + ":</b>");
lbl_header_bootloader.set_use_markup(true);
lbl_header_bootloader.xalign = (float) 0.0;
vbox_target.add(lbl_header_bootloader);
//hbox_grub
Box hbox_grub = new Box (Orientation.HORIZONTAL, 6);
hbox_grub.margin_right = 6;
hbox_grub.margin_bottom = 6;
vbox_target.add (hbox_grub);
string grub_msg = _("Re-install GRUB2 bootloader on the target device (recommended)");
//chk_restore_grub2
chk_restore_grub2 = new CheckButton.with_label(_("Re-install GRUB2") + ":");
chk_restore_grub2.active = true;
chk_restore_grub2.set_tooltip_markup(grub_msg);
hbox_grub.add(chk_restore_grub2);
chk_restore_grub2.toggled.connect(()=>{
cmb_boot_device.sensitive = chk_restore_grub2.active;
});
//cmb_boot_device
cmb_boot_device = new ComboBox ();
cmb_boot_device.hexpand = true;
hbox_grub.add(cmb_boot_device);
CellRendererText cell_dev_margin = new CellRendererText ();
cell_dev_margin.text = "";
cmb_boot_device.pack_start (cell_dev_margin, false);
CellRendererPixbuf cell_dev_icon = new CellRendererPixbuf ();
cell_dev_icon.stock_id = Stock.HARDDISK;
cmb_boot_device.pack_start (cell_dev_icon, false);
CellRendererText cell_device_grub = new CellRendererText();
cmb_boot_device.pack_start(cell_device_grub, false );
cmb_boot_device.set_cell_data_func (cell_device_grub, cell_device_grub_render);
//Exclude tab ---------------------------------------------
//lbl_exclude
lbl_exclude = new Label (_("Advanced"));
//vbox_exclude
vbox_exclude = new Box(Gtk.Orientation.VERTICAL, 6);
vbox_exclude.margin = 6;
notebook.append_page (vbox_exclude, lbl_exclude);
//toolbar_exclude ---------------------------------------------------
//toolbar_exclude
toolbar_exclude = new Gtk.Toolbar ();
toolbar_exclude.toolbar_style = ToolbarStyle.BOTH_HORIZ;
vbox_exclude.add(toolbar_exclude);
string png_exclude = App.share_folder + "/timeshift/images/item-gray.png";
string png_include = App.share_folder + "/timeshift/images/item-blue.png";
//btn_exclude
btn_exclude = new Gtk.MenuToolButton(null,"");
toolbar_exclude.add(btn_exclude);
btn_exclude.is_important = true;
btn_exclude.label = _("Exclude");
btn_exclude.set_tooltip_text (_("Exclude"));
btn_exclude.set_icon_widget(new Gtk.Image.from_file (png_exclude));
//btn_include
btn_include = new Gtk.MenuToolButton(null,"");
toolbar_exclude.add(btn_include);
btn_include.is_important = true;
btn_include.label = _("Include");
btn_include.set_tooltip_text (_("Include"));
btn_include.set_icon_widget(new Gtk.Image.from_file (png_include));
//btn_remove
btn_remove = new Gtk.ToolButton.from_stock(Gtk.Stock.REMOVE);
toolbar_exclude.add(btn_remove);
btn_remove.is_important = true;
btn_remove.label = _("Remove");
btn_remove.set_tooltip_text (_("Remove selected items"));
btn_remove.clicked.connect (btn_remove_clicked);
//btn_warning
btn_warning = new Gtk.ToolButton.from_stock(Gtk.Stock.DIALOG_WARNING);
toolbar_exclude.add(btn_warning);
btn_warning.is_important = true;
btn_warning.label = _("Warning");
btn_warning.set_tooltip_text (_("Warning"));
btn_warning.clicked.connect (btn_warning_clicked);
//separator
var separator = new Gtk.SeparatorToolItem();
separator.set_draw (false);
separator.set_expand (true);
toolbar_exclude.add(separator);
//btn_reset_exclude_list
btn_reset_exclude_list = new Gtk.ToolButton.from_stock(Gtk.Stock.REFRESH);
toolbar_exclude.add(btn_reset_exclude_list);
btn_reset_exclude_list.is_important = false;
btn_reset_exclude_list.label = _("Reset");
btn_reset_exclude_list.set_tooltip_text (_("Reset this list to default state"));
btn_reset_exclude_list.clicked.connect (btn_reset_exclude_list_clicked);
//menu --------------------------------------------------
//menu_exclude
menu_exclude = new Gtk.Menu();
btn_exclude.set_menu(menu_exclude);
//menu_exclude_add_file
menu_exclude_add_file = new ImageMenuItem.with_label ("");
menu_exclude_add_file.label = _("Exclude File(s)");
menu_exclude_add_file.set_image(new Gtk.Image.from_file (png_exclude));
menu_exclude.append(menu_exclude_add_file);
menu_exclude_add_file.activate.connect (menu_exclude_add_files_clicked);
//menu_exclude_add_folder
menu_exclude_add_folder = new ImageMenuItem.with_label ("");
menu_exclude_add_folder.label = _("Exclude Directory");
menu_exclude_add_folder.set_image(new Gtk.Image.from_file (png_exclude));
menu_exclude.append(menu_exclude_add_folder);
menu_exclude_add_folder.activate.connect (menu_exclude_add_folder_clicked);
//menu_exclude_add_folder_contents
menu_exclude_add_folder_contents = new ImageMenuItem.with_label ("");
menu_exclude_add_folder_contents.label = _("Exclude Directory Contents");
menu_exclude_add_folder_contents.set_image(new Gtk.Image.from_file (png_exclude));
menu_exclude.append(menu_exclude_add_folder_contents);
menu_exclude_add_folder_contents.activate.connect (menu_exclude_add_folder_contents_clicked);
//menu_include
menu_include = new Gtk.Menu();
btn_include.set_menu(menu_include);
//menu_include_add_file
menu_include_add_file = new ImageMenuItem.with_label ("");
menu_include_add_file.label = _("Include File(s)");
menu_include_add_file.set_image(new Gtk.Image.from_file (png_include));
menu_include.append(menu_include_add_file);
menu_include_add_file.activate.connect (menu_include_add_files_clicked);
//menu_include_add_folder
menu_include_add_folder = new ImageMenuItem.with_label ("");
menu_include_add_folder.label = _("Include Directory");
menu_include_add_folder.set_image(new Gtk.Image.from_file (png_include));
menu_include.append(menu_include_add_folder);
menu_include_add_folder.activate.connect (menu_include_add_folder_clicked);
menu_exclude.show_all();
menu_include.show_all();
//tv_exclude-----------------------------------------------
//tv_exclude
tv_exclude = new TreeView();
tv_exclude.get_selection().mode = SelectionMode.MULTIPLE;
tv_exclude.headers_visible = true;
tv_exclude.set_rules_hint (true);
//tv_exclude.row_activated.connect(tv_exclude_row_activated);
//sw_exclude
sw_exclude = new ScrolledWindow(null, null);
sw_exclude.set_shadow_type (ShadowType.ETCHED_IN);
sw_exclude.add (tv_exclude);
sw_exclude.expand = true;
vbox_exclude.add(sw_exclude);
//col_exclude
col_exclude = new TreeViewColumn();
col_exclude.title = _("File Pattern");
col_exclude.expand = true;
CellRendererText cell_exclude_margin = new CellRendererText ();
cell_exclude_margin.text = "";
col_exclude.pack_start (cell_exclude_margin, false);
CellRendererPixbuf cell_exclude_icon = new CellRendererPixbuf ();
col_exclude.pack_start (cell_exclude_icon, false);
col_exclude.set_attributes(cell_exclude_icon, "pixbuf", 1);
CellRendererText cell_exclude_text = new CellRendererText ();
col_exclude.pack_start (cell_exclude_text, false);
col_exclude.set_cell_data_func (cell_exclude_text, cell_exclude_text_render);
cell_exclude_text.editable = true;
tv_exclude.append_column(col_exclude);
cell_exclude_text.edited.connect (cell_exclude_text_edited);
//lnk_default_list
lnk_default_list = new LinkButton.with_label("",_("Some locations are excluded by default"));
lnk_default_list.xalign = (float) 0.0;
lnk_default_list.activate_link.connect(lnk_default_list_activate);
vbox_exclude.add(lnk_default_list);
//Actions ----------------------------------------------
//hbox_action
hbox_action = (Box) get_action_area ();
//btn_restore
btn_restore = new Button();
hbox_action.add(btn_restore);
btn_restore.set_label (" " + _("Restore"));
btn_restore.set_tooltip_text (_("Restore"));
Gtk.Image img_restore = new Image.from_stock(Gtk.Stock.GO_FORWARD, Gtk.IconSize.BUTTON);
btn_restore.set_image(img_restore);
btn_restore.clicked.connect (btn_restore_clicked);
//btn_cancel
btn_cancel = new Button();
hbox_action.add(btn_cancel);
btn_cancel.set_label (" " + _("Cancel"));
btn_cancel.set_tooltip_text (_("Cancel"));
Gtk.Image img_cancel = new Image.from_stock(Gtk.Stock.CANCEL, Gtk.IconSize.BUTTON);
btn_cancel.set_image(img_cancel);
btn_cancel.clicked.connect (btn_cancel_clicked);
//initialize -----------------------------------------
refresh_tv_partitions();
refresh_cmb_boot_device();
btn_reset_exclude_list_clicked();
chk_restore_grub2.active = true; //keep enabled always
chk_restore_grub2.sensitive = false; //don't allow user to disable
cmb_boot_device.sensitive = chk_restore_grub2.active;
}
private void cell_device_target_render (CellLayout cell_layout, CellRenderer cell, TreeModel model, TreeIter iter){
PartitionInfo pi;
model.get (iter, 0, out pi, -1);
if ((App.root_device != null) && (pi.device == App.root_device.device)){
(cell as Gtk.CellRendererText).text = pi.device_name_sdaX + " (" + _("sys") + ")";
}
else{
(cell as Gtk.CellRendererText).text = pi.device_name_sdaX;
}
}
private void cell_fs_render (CellLayout cell_layout, CellRenderer cell, TreeModel model, TreeIter iter){
PartitionInfo pi;
model.get (iter, 0, out pi, -1);
(cell as Gtk.CellRendererText).text = pi.type;
}
private void cell_size_render (CellLayout cell_layout, CellRenderer cell, TreeModel model, TreeIter iter){
PartitionInfo pi;
model.get (iter, 0, out pi, -1);
(cell as Gtk.CellRendererText).text = pi.size;
}
private void cell_used_render (CellLayout cell_layout, CellRenderer cell, TreeModel model, TreeIter iter){
PartitionInfo pi;
model.get (iter, 0, out pi, -1);
(cell as Gtk.CellRendererText).text = pi.used;
}
private void cell_label_render (CellLayout cell_layout, CellRenderer cell, TreeModel model, TreeIter iter){
PartitionInfo pi;
model.get (iter, 0, out pi, -1);
(cell as Gtk.CellRendererText).text = pi.label;
}
private void cell_dist_render (CellLayout cell_layout, CellRenderer cell, TreeModel model, TreeIter iter){
PartitionInfo pi;
model.get (iter, 0, out pi, -1);
(cell as Gtk.CellRendererText).text = pi.dist_info;
}
private void cell_device_grub_render (CellLayout cell_layout, CellRenderer cell, TreeModel model, TreeIter iter){
DeviceInfo info;
model.get (iter, 0, out info, -1);
(cell as Gtk.CellRendererText).text = info.description;
}
private void cell_exclude_text_render (CellLayout cell_layout, CellRenderer cell, TreeModel model, TreeIter iter){
string pattern, color;
model.get (iter, 0, out pattern, 2, out color, -1);
(cell as Gtk.CellRendererText).text = pattern.has_prefix("+ ") ? pattern[2:pattern.length] : pattern;
(cell as Gtk.CellRendererText).foreground = color;
}
private void cell_exclude_text_edited (string path, string new_text) {
string entry;
TreeIter iter;
ListStore model = (ListStore) tv_exclude.model;
model.get_iter_from_string (out iter, path);
model.get (iter, 0, out entry, -1);
model.set (iter, 0, new_text);
}
private void refresh_cmb_boot_device(){
ListStore store = new ListStore(1, typeof(DeviceInfo));
TreeIter iter;
int index = -1;
int selected_index = -1;
int default_index = -1;
foreach(DeviceInfo di in get_block_devices()) {
store.append(out iter);
store.set (iter, 0, di);
index++;
if ((App.restore_target != null) && (di.device == App.restore_target.device[0:-1])){
selected_index = index;
}
}
if (selected_index == -1){
selected_index = default_index;
}
cmb_boot_device.set_model (store);
cmb_boot_device.active = selected_index;
}
private void refresh_tv_partitions(){
App.update_partition_list();
ListStore model = new ListStore(1, typeof(PartitionInfo));
var list = App.partition_list;
list.sort((a,b) => {
PartitionInfo p1 = (PartitionInfo) a;
PartitionInfo p2 = (PartitionInfo) b;
return strcmp(p1.device,p2.device);
});
TreeIter iter;
TreePath path_selected = null;
foreach(PartitionInfo pi in list) {
if (!pi.has_linux_filesystem()) { continue; }
model.append(out iter);
model.set (iter, 0, pi);
if ((App.restore_target != null) && (App.restore_target.device == pi.device)){
path_selected = model.get_path(iter);
}
}
tv_partitions.set_model (model);
if (path_selected != null){
tv_partitions.get_selection().select_path(path_selected);
}
//tv_partitions.columns_autosize ();
}
private void refresh_tv_exclude(){
ListStore model = new ListStore(3, typeof(string), typeof(Gdk.Pixbuf), typeof(string));
tv_exclude.model = model;
foreach(string path in temp_exclude_list){
tv_exclude_add_item(path);
}
}
private void tv_exclude_add_item(string path){
Gdk.Pixbuf pix_exclude = null;
Gdk.Pixbuf pix_include = null;
Gdk.Pixbuf pix_selected = null;
string text_color;
try{
pix_exclude = new Gdk.Pixbuf.from_file (App.share_folder + "/timeshift/images/item-gray.png");
pix_include = new Gdk.Pixbuf.from_file (App.share_folder + "/timeshift/images/item-blue.png");
}
catch(Error e){
log_error (e.message);
}
TreeIter iter;
ListStore model = (ListStore) tv_exclude.model;
model.append(out iter);
if (path.has_prefix("+ ")){
pix_selected = pix_include;
}
else{
pix_selected = pix_exclude;
}
if (App.exclude_list_default.contains(path)){
text_color = "#0B610B";
}
else{
text_color = "#000000";
}
model.set (iter, 0, path, 1, pix_selected, 2, text_color, -1);
Adjustment adj = tv_exclude.get_hadjustment();
adj.value = adj.upper;
}
private bool lnk_default_list_activate(){
string msg = "";
msg += "<b>" + _("Exclude List") + ":</b>\n\n";
msg += _("Files matching the following patterns will be <i>excluded</i>") + ":\n\n";
foreach(string path in App.exclude_list_default){
msg += path + "\n";
}
msg += "\n";
msg += "<b>" + _("Home Directory") + ":</b>\n\n";
msg += _("Hidden files and folders are included by default since \nthey contain user-specific configuration files.") + "\n";
msg += _("All other files and folders are excluded.") + "\n";
var dialog = new Gtk.MessageDialog.with_markup(null, Gtk.DialogFlags.MODAL, Gtk.MessageType.INFO, Gtk.ButtonsType.OK, msg);
dialog.set_title(_("Default Entries"));
dialog.set_default_size (200, -1);
dialog.set_transient_for(this);
dialog.set_modal(true);
dialog.run();
dialog.destroy();
return true;
}
private bool tv_partitions_button_press_event(Gdk.EventButton event){
TreeIter iter;
ListStore store;
TreeSelection sel;
bool iterExists;
//get selected target device
PartitionInfo restore_target = null;
sel = tv_partitions.get_selection ();
store = (ListStore) tv_partitions.model;
iterExists = store.get_iter_first (out iter);
while (iterExists) {
if (sel.iter_is_selected (iter)){
store.get (iter, 0, out restore_target);
break;
}
iterExists = store.iter_next (ref iter);
}
App.restore_target = restore_target;
//select grub target device
refresh_cmb_boot_device();
return false;
}
private void menu_exclude_add_files_clicked(){
var list = browse_files();
if (list.length() > 0){
foreach(string path in list){
if (!temp_exclude_list.contains(path)){
temp_exclude_list.add(path);
tv_exclude_add_item(path);
App.first_snapshot_size = 0; //re-calculate
}
}
}
}
private void menu_exclude_add_folder_clicked(){
var list = browse_folder();
if (list.length() > 0){
foreach(string path in list){
path = path + "/";
if (!temp_exclude_list.contains(path)){
temp_exclude_list.add(path);
tv_exclude_add_item(path);
App.first_snapshot_size = 0; //re-calculate
}
}
}
}
private void menu_exclude_add_folder_contents_clicked(){
var list = browse_folder();
if (list.length() > 0){
foreach(string path in list){
path = path + "/*";
if (!temp_exclude_list.contains(path)){
temp_exclude_list.add(path);
tv_exclude_add_item(path);
App.first_snapshot_size = 0; //re-calculate
}
}
}
}
private void menu_include_add_files_clicked(){
var list = browse_files();
if (list.length() > 0){
foreach(string path in list){
path = path.has_prefix("+ ") ? path : "+ " + path;
if (!temp_exclude_list.contains(path)){
temp_exclude_list.add(path);
tv_exclude_add_item(path);
App.first_snapshot_size = 0; //re-calculate
}
}
}
}
private void menu_include_add_folder_clicked(){
var list = browse_folder();
if (list.length() > 0){
foreach(string path in list){
path = path.has_prefix("+ ") ? path : "+ " + path;
path = path + "/***";
if (!temp_exclude_list.contains(path)){
temp_exclude_list.add(path);
tv_exclude_add_item(path);
App.first_snapshot_size = 0; //re-calculate
}
}
}
}
private SList<string> browse_files(){
var dialog = new Gtk.FileChooserDialog(_("Select file(s)"), this, Gtk.FileChooserAction.OPEN,
Gtk.Stock.CANCEL, Gtk.ResponseType.CANCEL,
Gtk.Stock.OPEN, Gtk.ResponseType.ACCEPT);
dialog.action = FileChooserAction.OPEN;
dialog.set_transient_for(this);
dialog.local_only = true;
dialog.set_modal (true);
dialog.set_select_multiple (true);
dialog.run();
var list = dialog.get_filenames();
dialog.destroy ();
return list;
}
private SList<string> browse_folder(){
var dialog = new Gtk.FileChooserDialog(_("Select directory"), this, Gtk.FileChooserAction.OPEN,
Gtk.Stock.CANCEL, Gtk.ResponseType.CANCEL,
Gtk.Stock.OPEN, Gtk.ResponseType.ACCEPT);
dialog.action = FileChooserAction.SELECT_FOLDER;
dialog.local_only = true;
dialog.set_transient_for(this);
dialog.set_modal (true);
dialog.set_select_multiple (false);
dialog.run();
var list = dialog.get_filenames();
dialog.destroy ();
return list;
}
private void btn_remove_clicked(){
TreeSelection sel = tv_exclude.get_selection ();
TreeIter iter;
bool iterExists = tv_exclude.model.get_iter_first (out iter);
while (iterExists) {
if (sel.iter_is_selected (iter)){
string path;
tv_exclude.model.get (iter, 0, out path);
temp_exclude_list.remove(path);
App.first_snapshot_size = 0; //re-calculate
}
iterExists = tv_exclude.model.iter_next (ref iter);
}
refresh_tv_exclude();
}
private void btn_warning_clicked(){
string msg = "";
msg += _("Please do NOT modify this list unless you have a very good reason for doing so.") + " ";
msg += _("By default, any item that was included/excluded at the time of taking the snapshot will be included/excluded.") + " ";
msg += _("Any exclude patterns in the current exclude list will also be excluded.") + " ";
msg += _("To see which files are included in the snapshot use the 'Browse' button on the main window.");
var dialog = new Gtk.MessageDialog.with_markup(null, Gtk.DialogFlags.MODAL, Gtk.MessageType.WARNING, Gtk.ButtonsType.OK, msg);
dialog.set_title("Warning");
dialog.set_default_size (200, -1);
dialog.set_transient_for(this);
dialog.set_modal(true);
dialog.run();
dialog.destroy();
}
private void btn_reset_exclude_list_clicked(){
//create a temp exclude list ----------------------------
temp_exclude_list = new Gee.ArrayList<string>();
//add all include/exclude items from snapshot list
foreach(string path in App.snapshot_to_restore.exclude_list){
if (!temp_exclude_list.contains(path) && !App.exclude_list_default.contains(path) && !App.exclude_list_home.contains(path)){
temp_exclude_list.add(path);
}
}
//add all exclude items from current list
foreach(string path in App.exclude_list_user){
if (!temp_exclude_list.contains(path) && !App.exclude_list_default.contains(path) && !App.exclude_list_home.contains(path)){
if (!path.has_prefix("+ ")){ //don't add include entries from current exclude list
temp_exclude_list.add(path);
}
}
}
//refresh treeview --------------------------
refresh_tv_exclude();
}
private void btn_restore_clicked(){
//Note: A successful restore will reboot the system if target device is same as system device
TreeIter iter;
ListStore store;
TreeSelection sel;
bool iterExists;
//check single target partition selected ---------------
sel = tv_partitions.get_selection ();
if (sel.count_selected_rows() != 1){
messagebox_show(_("Select Target Device"),_("Please select the target device from the list"), true);
return;
}
//get selected target partition ------------------
PartitionInfo restore_target = null;
sel = tv_partitions.get_selection ();
store = (ListStore) tv_partitions.model;
iterExists = store.get_iter_first (out iter);
while (iterExists) {
if (sel.iter_is_selected (iter)){
store.get (iter, 0, out restore_target);
break;
}
iterExists = store.iter_next (ref iter);
}
App.restore_target = restore_target;
//save modified exclude list ----------------------
App.exclude_list_restore.clear();
//add default entries
foreach(string path in App.exclude_list_default){
if (!App.exclude_list_restore.contains(path)){
App.exclude_list_restore.add(path);
}
}
//add modified user entries
foreach(string path in temp_exclude_list){
if (!App.exclude_list_restore.contains(path) && !App.exclude_list_home.contains(path)){
App.exclude_list_restore.add(path);
}
}
//add home entries
foreach(string path in App.exclude_list_home){
if (!App.exclude_list_restore.contains(path)){
App.exclude_list_restore.add(path);
}
}
string timeshift_path = "/timeshift/*";
if (!App.exclude_list_restore.contains(timeshift_path)){
App.exclude_list_restore.add(timeshift_path);
}
//save grub install options ----------------------
App.reinstall_grub2 = chk_restore_grub2.active;
if (App.reinstall_grub2){
DeviceInfo dev;
cmb_boot_device.get_active_iter (out iter);
TreeModel model = (TreeModel) cmb_boot_device.model;
model.get(iter, 0, out dev);
App.grub_device = dev;
}
//last option to quit - show disclaimer ------------
if (show_disclaimer() == Gtk.ResponseType.YES){
this.response(Gtk.ResponseType.OK);
}
else{
this.response(Gtk.ResponseType.CANCEL);
}
}
private int show_disclaimer(){
string msg = "";
msg += "<b>" + _("WARNING") + ":</b>\n\n";
msg += _("Files will be overwritten on the target device!") + "\n";
msg += _("If the restore fails for any reason and you are unable to boot the system, \nplease boot from the Ubuntu Live CD and try again.") + "\n";
if ((App.root_device != null) && (App.restore_target.device == App.root_device.device)){
msg += "\n<b>" + _("Please save your work and close all applications.") + "\n";
msg += _("System will reboot to complete the restore process.") + "</b>\n";
}
msg += "\n";
msg += "<b>" + _("DISCLAIMER") + ":</b>\n\n";
msg += _("This software comes without absolutely NO warranty and the author takes no responsibility for any damage arising from the use of this program.");
msg += " " + _("If these terms are not acceptable to you, please do not proceed beyond this point!") + "\n";
msg += "\n";
msg += "<b>" + _("Continue with restore?") + "</b>\n";
var dialog = new Gtk.MessageDialog.with_markup(null, Gtk.DialogFlags.MODAL, Gtk.MessageType.WARNING, Gtk.ButtonsType.YES_NO, msg);
dialog.set_title(_("DISCLAIMER"));
dialog.set_default_size (200, -1);
dialog.set_transient_for(this);
dialog.set_modal(true);
int response = dialog.run();
dialog.destroy();
return response;
}
private void btn_cancel_clicked(){
this.response(Gtk.ResponseType.CANCEL);
return;
}
}

983
src/SettingsWindow.vala Normal file
View File

@ -0,0 +1,983 @@
/*
* SettingsWindow.vala
*
* Copyright 2013 Tony George <teejee2008@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02110-1301, USA.
*
*
*/
using Gtk;
using Gee;
using Utility;
public class SettingsWindow : Gtk.Dialog{
private Box vbox_main;
private Notebook notebook;
//schedule
private Label lbl_schedule;
private Box vbox_schedule;
private Box hbox_auto_snapshots;
private Label lbl_header_schedule;
private Switch switch_schedule;
private TreeView tv_schedule;
private ScrolledWindow sw_schedule;
private TreeViewColumn col_sched_enable;
private TreeViewColumn col_sched_level;
private TreeViewColumn col_sched_desc;
//auto_remove
private Label lbl_auto_remove;
private Box vbox_auto_remove;
private TreeView tv_remove;
private ScrolledWindow sw_remove;
private TreeViewColumn col_remove_rule;
private TreeViewColumn col_remove_limit;
private TreeViewColumn col_remove_units;
//exclude
private Label lbl_exclude;
private Box vbox_exclude;
private LinkButton lnk_default_list;
private TreeView tv_exclude;
private ScrolledWindow sw_exclude;
private TreeViewColumn col_exclude;
private Toolbar toolbar_exclude;
private ToolButton btn_remove;
private ToolButton btn_warning;
private ToolButton btn_reset_exclude_list;
private MenuToolButton btn_exclude;
private Gtk.Menu menu_exclude;
private ImageMenuItem menu_exclude_add_file;
private ImageMenuItem menu_exclude_add_folder;
private ImageMenuItem menu_exclude_add_folder_contents;
private MenuToolButton btn_include;
private Gtk.Menu menu_include;
private ImageMenuItem menu_include_add_file;
private ImageMenuItem menu_include_add_folder;
//actions
private Button btn_save;
private Button btn_cancel;
private Gee.ArrayList<string> temp_exclude_list;
public SettingsWindow () {
this.deletable = false;
this.title = _("Settings");
this.window_position = WindowPosition.CENTER_ON_PARENT;
this.set_destroy_with_parent (true);
this.set_modal (true);
this.set_default_size (450, 500);
//set app icon
try{
this.icon = new Gdk.Pixbuf.from_file (App.share_folder + """/pixmaps/timeshift.png""");
}
catch(Error e){
log_error (e.message);
}
//vboxMain
vbox_main = get_content_area ();
//notebook
notebook = new Notebook ();
notebook.margin = 6;
vbox_main.pack_start (notebook, true, true, 0);
//schedule tab ---------------------------------------------
//lbl_schedule
lbl_schedule = new Label (_("Schedule"));
//vbox_schedule
vbox_schedule = new Box (Gtk.Orientation.VERTICAL, 6);
vbox_schedule.margin = 6;
notebook.append_page (vbox_schedule, lbl_schedule);
//automatic snapshots ------------------------------
//hbox_auto_snapshots
hbox_auto_snapshots = new Box (Gtk.Orientation.HORIZONTAL, 6);
vbox_schedule.add (hbox_auto_snapshots);
//lbl_header_schedule
lbl_header_schedule = new Gtk.Label("<b>" + _("Scheduled Snapshots") + "</b>");
lbl_header_schedule.set_use_markup(true);
lbl_header_schedule.hexpand = true;
lbl_header_schedule.xalign = (float) 0.0;
lbl_header_schedule.valign = Align.CENTER;
hbox_auto_snapshots.add(lbl_header_schedule);
Box hbox_schedule = new Box(Orientation.HORIZONTAL,0);
hbox_auto_snapshots.add(hbox_schedule);
//switch_schedule
switch_schedule = new Gtk.Switch();
switch_schedule.set_size_request(100,20);
switch_schedule.active = App.is_scheduled;
hbox_auto_snapshots.pack_end(switch_schedule,false,false,0);
switch_schedule.notify["active"].connect(switch_schedule_changed);
//tv_schedule -----------------------------------------------
//tv_schedule
tv_schedule = new TreeView();
tv_schedule.get_selection().mode = SelectionMode.MULTIPLE;
tv_schedule.set_rules_hint (true);
//sw_schedule
sw_schedule = new ScrolledWindow(null, null);
sw_schedule.set_shadow_type (ShadowType.ETCHED_IN);
sw_schedule.add (tv_schedule);
sw_schedule.expand = true;
vbox_schedule.add(sw_schedule);
//col_sched_enable
col_sched_enable = new TreeViewColumn();
col_sched_enable.title = " " + _("Enable") + " ";
CellRendererToggle cell_sched_enable = new CellRendererToggle ();
cell_sched_enable.activatable = true;
cell_sched_enable.toggled.connect (cell_sched_enable_toggled);
col_sched_enable.pack_start (cell_sched_enable, false);
col_sched_enable.set_cell_data_func (cell_sched_enable, cell_sched_enable_render);
tv_schedule.append_column(col_sched_enable);
//col_sched_level
col_sched_level = new TreeViewColumn();
col_sched_level.title = " " + _("Backup Level") + " ";
CellRendererText cell_sched_level = new CellRendererText ();
col_sched_level.pack_start (cell_sched_level, false);
col_sched_level.set_cell_data_func (cell_sched_level, cell_sched_level_render);
tv_schedule.append_column(col_sched_level);
//col_sched_desc
col_sched_desc = new TreeViewColumn();
col_sched_desc.title = " " + _("Description") + " ";
col_sched_desc.expand = true;
CellRendererText cell_sched_desc = new CellRendererText ();
col_sched_desc.pack_start (cell_sched_desc, false);
col_sched_desc.set_cell_data_func (cell_sched_desc, cell_sched_desc_render);
tv_schedule.append_column(col_sched_desc);
//auto-remove tab ------------------------------------------------------
//lbl_auto_remove
lbl_auto_remove = new Label (_("Auto-Remove"));
//grid_auto_remove
vbox_auto_remove = new Box(Gtk.Orientation.VERTICAL, 6);
vbox_auto_remove.margin = 6;
notebook.append_page (vbox_auto_remove, lbl_auto_remove);
//tv_remove
tv_remove = new TreeView();
tv_remove.get_selection().mode = SelectionMode.MULTIPLE;
tv_remove.set_rules_hint (true);
//sw_remove
sw_remove = new ScrolledWindow(null, null);
sw_remove.set_shadow_type (ShadowType.ETCHED_IN);
sw_remove.add (tv_remove);
sw_remove.expand = true;
vbox_auto_remove.add(sw_remove);
//col_remove_rule
col_remove_rule = new TreeViewColumn();
col_remove_rule.title = " " + _("Rule") + " ";
CellRendererText cell_remove_rule = new CellRendererText ();
col_remove_rule.pack_start (cell_remove_rule, false);
col_remove_rule.set_cell_data_func (cell_remove_rule, cell_remove_rule_render);
tv_remove.append_column(col_remove_rule);
//col_sched_desc
col_remove_limit = new TreeViewColumn();
col_remove_limit.title = " " + _("Limit") + " ";
CellRendererText cell_remove_limit = new CellRendererText ();
cell_remove_limit.xalign = (float) 0.5;
cell_remove_limit.editable = true;
cell_remove_limit.edited.connect (cell_remove_limit_edited);
col_remove_limit.pack_start (cell_remove_limit, false);
col_remove_limit.set_cell_data_func (cell_remove_limit, cell_remove_limit_render);
tv_remove.append_column(col_remove_limit);
//col_remove_rule
col_remove_units = new TreeViewColumn();
col_remove_units.title = "";
CellRendererText cell_remove_units = new CellRendererText ();
col_remove_units.pack_start (cell_remove_units, false);
col_remove_units.set_cell_data_func (cell_remove_units, cell_remove_units_render);
tv_remove.append_column(col_remove_units);
tv_schedule.sensitive = switch_schedule.active;
//Exclude tab ---------------------------------------------
//lbl_exclude
lbl_exclude = new Label (_("Advanced"));
//vbox_exclude
vbox_exclude = new Box(Gtk.Orientation.VERTICAL, 6);
vbox_exclude.margin = 6;
notebook.append_page (vbox_exclude, lbl_exclude);
//toolbar_exclude ---------------------------------------------------
//toolbar_exclude
toolbar_exclude = new Gtk.Toolbar ();
toolbar_exclude.toolbar_style = ToolbarStyle.BOTH_HORIZ;
//toolbar_exclude.get_style_context().add_class(Gtk.STYLE_CLASS_PRIMARY_TOOLBAR);
//toolbar.set_size_request(-1,48);
vbox_exclude.add(toolbar_exclude);
string png_exclude = App.share_folder + "/timeshift/images/item-gray.png";
string png_include = App.share_folder + "/timeshift/images/item-blue.png";
//btn_exclude
btn_exclude = new Gtk.MenuToolButton(null,"");
toolbar_exclude.add(btn_exclude);
btn_exclude.is_important = true;
btn_exclude.label = _("Exclude");
btn_exclude.set_tooltip_text (_("Exclude"));
btn_exclude.set_icon_widget(new Gtk.Image.from_file (png_exclude));
//btn_include
btn_include = new Gtk.MenuToolButton(null,"");
toolbar_exclude.add(btn_include);
btn_include.is_important = true;
btn_include.label = _("Include");
btn_include.set_tooltip_text (_("Include"));
btn_include.set_icon_widget(new Gtk.Image.from_file (png_include));
//btn_remove
btn_remove = new Gtk.ToolButton.from_stock(Gtk.Stock.REMOVE);
toolbar_exclude.add(btn_remove);
btn_remove.is_important = true;
btn_remove.label = _("Remove");
btn_remove.set_tooltip_text (_("Remove selected items"));
btn_remove.clicked.connect (btn_remove_clicked);
//btn_warning
btn_warning = new Gtk.ToolButton.from_stock(Gtk.Stock.DIALOG_WARNING);
toolbar_exclude.add(btn_warning);
btn_warning.is_important = true;
btn_warning.label = _("Warning");
btn_warning.set_tooltip_text (_("Warning"));
btn_warning.clicked.connect (btn_warning_clicked);
//separator
var separator = new Gtk.SeparatorToolItem();
separator.set_draw (false);
separator.set_expand (true);
toolbar_exclude.add(separator);
//btn_reset_exclude_list
btn_reset_exclude_list = new Gtk.ToolButton.from_stock(Gtk.Stock.REFRESH);
toolbar_exclude.add(btn_reset_exclude_list);
btn_reset_exclude_list.is_important = false;
btn_reset_exclude_list.label = _("Reset");
btn_reset_exclude_list.set_tooltip_text (_("Reset this list to default state"));
btn_reset_exclude_list.clicked.connect (btn_reset_exclude_list_clicked);
//menu_exclude
menu_exclude = new Gtk.Menu();
btn_exclude.set_menu(menu_exclude);
//menu_exclude_add_file
menu_exclude_add_file = new ImageMenuItem.with_label ("");
menu_exclude_add_file.label = _("Exclude File(s)");
menu_exclude_add_file.set_image(new Gtk.Image.from_file (png_exclude));
menu_exclude.append(menu_exclude_add_file);
menu_exclude_add_file.activate.connect (menu_exclude_add_files_clicked);
//menu_exclude_add_folder
menu_exclude_add_folder = new ImageMenuItem.with_label ("");
menu_exclude_add_folder.label = _("Exclude Directory");
menu_exclude_add_folder.set_image(new Gtk.Image.from_file (png_exclude));
menu_exclude.append(menu_exclude_add_folder);
menu_exclude_add_folder.activate.connect (menu_exclude_add_folder_clicked);
//menu_exclude_add_folder_contents
menu_exclude_add_folder_contents = new ImageMenuItem.with_label ("");
menu_exclude_add_folder_contents.label = _("Exclude Directory Contents");
menu_exclude_add_folder_contents.set_image(new Gtk.Image.from_file (png_exclude));
menu_exclude.append(menu_exclude_add_folder_contents);
menu_exclude_add_folder_contents.activate.connect (menu_exclude_add_folder_contents_clicked);
//menu_include
menu_include = new Gtk.Menu();
btn_include.set_menu(menu_include);
//menu_include_add_file
menu_include_add_file = new ImageMenuItem.with_label ("");
menu_include_add_file.label = _("Include File(s)");
menu_include_add_file.set_image(new Gtk.Image.from_file (png_include));
menu_include.append(menu_include_add_file);
menu_include_add_file.activate.connect (menu_include_add_files_clicked);
//menu_include_add_folder
menu_include_add_folder = new ImageMenuItem.with_label ("");
menu_include_add_folder.label = _("Include Directory");
menu_include_add_folder.set_image(new Gtk.Image.from_file (png_include));
menu_include.append(menu_include_add_folder);
menu_include_add_folder.activate.connect (menu_include_add_folder_clicked);
menu_exclude.show_all();
menu_include.show_all();
//tv_exclude-----------------------------------------------
//tv_exclude
tv_exclude = new TreeView();
tv_exclude.get_selection().mode = SelectionMode.MULTIPLE;
tv_exclude.headers_visible = true;
tv_exclude.set_rules_hint (true);
//tv_exclude.row_activated.connect(tv_exclude_row_activated);
//sw_exclude
sw_exclude = new ScrolledWindow(null, null);
sw_exclude.set_shadow_type (ShadowType.ETCHED_IN);
sw_exclude.add (tv_exclude);
sw_exclude.expand = true;
vbox_exclude.add(sw_exclude);
//col_exclude
col_exclude = new TreeViewColumn();
col_exclude.title = _("File Pattern");
col_exclude.expand = true;
CellRendererText cell_exclude_margin = new CellRendererText ();
cell_exclude_margin.text = "";
col_exclude.pack_start (cell_exclude_margin, false);
CellRendererPixbuf cell_exclude_icon = new CellRendererPixbuf ();
col_exclude.pack_start (cell_exclude_icon, false);
col_exclude.set_attributes(cell_exclude_icon, "pixbuf", 1);
CellRendererText cell_exclude_text = new CellRendererText ();
col_exclude.pack_start (cell_exclude_text, false);
col_exclude.set_cell_data_func (cell_exclude_text, cell_exclude_text_render);
cell_exclude_text.editable = true;
tv_exclude.append_column(col_exclude);
cell_exclude_text.edited.connect (cell_exclude_text_edited);
//lnk_default_list
lnk_default_list = new LinkButton.with_label("",_("Some locations are excluded by default"));
lnk_default_list.xalign = (float) 0.0;
lnk_default_list.activate_link.connect(lnk_default_list_activate);
vbox_exclude.add(lnk_default_list);
//initialize ------------------
btn_reset_exclude_list_clicked();
refresh_tv_schedule();
refresh_tv_remove();
// Actions ----------------------------------------------
//btn_save
btn_save = (Button) add_button (Stock.SAVE, Gtk.ResponseType.ACCEPT);
btn_save.clicked.connect (btn_save_clicked);
//btn_cancel
btn_cancel = (Button) add_button (Stock.CANCEL, Gtk.ResponseType.CANCEL);
btn_cancel.clicked.connect (btn_cancel_clicked);
}
private void cell_sched_enable_render (CellLayout cell_layout, CellRenderer cell, TreeModel model, TreeIter iter){
bool val;
model.get (iter, 0, out val, -1);
(cell as Gtk.CellRendererToggle).active = val;
}
private void cell_sched_level_render (CellLayout cell_layout, CellRenderer cell, TreeModel model, TreeIter iter){
string val;
model.get (iter, 1, out val, -1);
(cell as Gtk.CellRendererText).text = val;
}
private void cell_sched_desc_render (CellLayout cell_layout, CellRenderer cell, TreeModel model, TreeIter iter){
string val;
model.get (iter, 2, out val, -1);
(cell as Gtk.CellRendererText).text = val;
}
private void cell_remove_rule_render (CellLayout cell_layout, CellRenderer cell, TreeModel model, TreeIter iter){
string val;
model.get (iter, 0, out val, -1);
(cell as Gtk.CellRendererText).markup = val;
}
private void cell_remove_limit_render (CellLayout cell_layout, CellRenderer cell, TreeModel model, TreeIter iter){
int val;
string units;
model.get (iter, 1, out val, 2, out units, -1);
(cell as Gtk.CellRendererText).text = (units == "GB") ? "%.0f".printf(val/1024.0) : val.to_string();
}
private void cell_remove_units_render (CellLayout cell_layout, CellRenderer cell, TreeModel model, TreeIter iter){
string val;
model.get (iter, 2, out val, -1);
(cell as Gtk.CellRendererText).text = val;
}
private void cell_sched_enable_toggled (string path){
TreeIter iter;
ListStore model = (ListStore)tv_schedule.model;
bool enabled;
int count;
model.get_iter_from_string (out iter, path);
model.get (iter, 0, out enabled, 2, out count,-1);
model.set (iter, 0, !enabled);
//update switch_auto_backups
bool atleast_one_enabled = false;
for(int k = 0; k<5; k++){
model.get_iter_from_string (out iter, k.to_string());
model.get (iter, 0, out enabled, -1);
if (enabled){
atleast_one_enabled = true;
break;
}
}
switch_schedule.active = atleast_one_enabled;
}
private void cell_remove_limit_edited (string path, string new_text) {
int count = 0;
string units;
TreeIter iter;
ListStore model = (ListStore)tv_remove.model;
model.get_iter_from_string (out iter, path);
model.get (iter, 2, out units,-1);
count = int.parse(new_text);
if (units == "GB"){
count = count * 1024;
}
model.set (iter, 1, count);
}
private void cell_exclude_text_render (CellLayout cell_layout, CellRenderer cell, TreeModel model, TreeIter iter){
string pattern, color;
model.get (iter, 0, out pattern, 2, out color, -1);
(cell as Gtk.CellRendererText).text = pattern.has_prefix("+ ") ? pattern[2:pattern.length] : pattern;
(cell as Gtk.CellRendererText).foreground = color;
}
private void cell_exclude_text_edited (string path, string new_text) {
string entry;
TreeIter iter;
ListStore model = (ListStore) tv_exclude.model;
model.get_iter_from_string (out iter, path);
model.get (iter, 0, out entry, -1);
model.set (iter, 0, new_text);
}
private void refresh_tv_schedule(){
ListStore model = new ListStore(3, typeof(bool), typeof(string), typeof(string));
TreeIter iter;
model.append(out iter);
model.set (iter, 0, App.schedule_monthly);
model.set (iter, 1, _("Monthly"));
model.set (iter, 2, _("Keep one snapshot per month"));
model.append(out iter);
model.set (iter, 0, App.schedule_weekly);
model.set (iter, 1, _("Weekly"));
model.set (iter, 2, _("Keep one snapshot per week"));
model.append(out iter);
model.set (iter, 0, App.schedule_daily);
model.set (iter, 1, _("Daily"));
model.set (iter, 2, _("Keep one snapshot per day"));
model.append(out iter);
model.set (iter, 0, App.schedule_hourly);
model.set (iter, 1, _("Hourly"));
model.set (iter, 2, _("Keep one snapshot per hour"));
model.append(out iter);
model.set (iter, 0, App.schedule_boot);
model.set (iter, 1, _("Boot"));
model.set (iter, 2, _("Keep one snapshot per reboot"));
tv_schedule.set_model (model);
tv_schedule.columns_autosize ();
}
private void refresh_tv_remove(){
ListStore model = new ListStore(3, typeof(string), typeof(int), typeof(string));
string span = "<span foreground=\"#2E2E2E\">";
if (switch_schedule.active){
span = "<span foreground=\"blue\">";
}
else{
span = "<span>";
}
TreeIter iter;
model.append(out iter);
model.set (iter, 0, span + _("Monthly") + "</span> " + _("snapshots older than"));
model.set (iter, 1, App.count_monthly);
model.set (iter, 2, "months");
model.append(out iter);
model.set (iter, 0, span + _("Weekly") + "</span> " + _("snapshots older than"));
model.set (iter, 1, App.count_weekly);
model.set (iter, 2, "weeks");
model.append(out iter);
model.set (iter, 0, span + _("Daily") + "</span> " + _("snapshots older than"));
model.set (iter, 1, App.count_daily);
model.set (iter, 2, "days");
model.append(out iter);
model.set (iter, 0, span + _("Hourly") + "</span> " + _("snapshots older than"));
model.set (iter, 1, App.count_hourly);
model.set (iter, 2, "hours");
model.append(out iter);
model.set (iter, 0, span + _("Boot") + "</span> " + _("snapshots older than"));
model.set (iter, 1, App.count_boot);
model.set (iter, 2, "reboots");
model.append(out iter);
model.set (iter, 0, _("All snapshots older than"));
model.set (iter, 1, App.retain_snapshots_max_days);
model.set (iter, 2, "days");
model.append(out iter);
model.set (iter, 0, _("When free space less than"));
model.set (iter, 1, App.minimum_free_disk_space_mb);
model.set (iter, 2, "GB");
tv_remove.set_model (model);
//tv_remove.columns_autosize ();
}
private void refresh_tv_exclude(){
ListStore model = new ListStore(3, typeof(string), typeof(Gdk.Pixbuf), typeof(string));
tv_exclude.model = model;
foreach(string path in temp_exclude_list){
tv_exclude_add_item(path);
}
}
private void tv_exclude_add_item(string path){
Gdk.Pixbuf pix_exclude = null;
Gdk.Pixbuf pix_include = null;
Gdk.Pixbuf pix_selected = null;
string text_color;
try{
pix_exclude = new Gdk.Pixbuf.from_file (App.share_folder + "/timeshift/images/item-gray.png");
pix_include = new Gdk.Pixbuf.from_file (App.share_folder + "/timeshift/images/item-blue.png");
}
catch(Error e){
log_error (e.message);
}
TreeIter iter;
ListStore model = (ListStore) tv_exclude.model;
model.append(out iter);
if (path.has_prefix("+ ")){
pix_selected = pix_include;
}
else{
pix_selected = pix_exclude;
}
if (App.exclude_list_default.contains(path)){
text_color = "#0B610B";
}
else{
text_color = "#000000";
}
model.set (iter, 0, path, 1, pix_selected, 2, text_color, -1);
Adjustment adj = tv_exclude.get_hadjustment();
adj.value = adj.upper;
}
private void switch_schedule_changed(){
tv_schedule.sensitive = switch_schedule.active;
if (switch_schedule.active){
bool atleast_one_enabled = App.schedule_boot
|| App.schedule_hourly
|| App.schedule_daily
|| App.schedule_weekly
|| App.schedule_monthly;
if(!atleast_one_enabled){
TreeIter iter;
ListStore store = (ListStore) tv_schedule.model;
bool enabled;
int index = -1;
bool iterExists = store.get_iter_first (out iter);
while (iterExists) {
store.get (iter, 0, out enabled,-1);
switch(++index){
case 4:
store.set (iter, 0, true);
break;
}
iterExists = store.iter_next (ref iter);
}
}
}
else{
tv_schedule.get_selection().unselect_all();
tv_remove.get_selection().unselect_all();
}
refresh_tv_remove(); //refresh the item colors
}
private bool lnk_default_list_activate(){
string msg = "";
msg += "<b>" + _("Exclude List") + ":</b>\n\n";
msg += _("Files matching the following patterns will be <i>excluded</i>") + ":\n\n";
foreach(string path in App.exclude_list_default){
msg += path + "\n";
}
msg += "\n";
msg += "<b>" + _("Home Directory") + ":</b>\n\n";
msg += _("Hidden files and folders are included by default since \nthey contain user-specific configuration files.") + "\n";
msg += _("All other files and folders are excluded.") + "\n";
var dialog = new Gtk.MessageDialog.with_markup(null, Gtk.DialogFlags.MODAL, Gtk.MessageType.INFO, Gtk.ButtonsType.OK, msg);
dialog.set_title(_("Default Entries"));
dialog.set_default_size (200, -1);
dialog.set_transient_for(this);
dialog.set_modal(true);
dialog.run();
dialog.destroy();
return true;
}
private void menu_exclude_add_files_clicked(){
var list = browse_files();
if (list.length() > 0){
foreach(string path in list){
if (!temp_exclude_list.contains(path)){
temp_exclude_list.add(path);
tv_exclude_add_item(path);
App.first_snapshot_size = 0; //re-calculate
}
}
}
}
private void menu_exclude_add_folder_clicked(){
var list = browse_folder();
if (list.length() > 0){
foreach(string path in list){
path = path + "/";
if (!temp_exclude_list.contains(path)){
temp_exclude_list.add(path);
tv_exclude_add_item(path);
App.first_snapshot_size = 0; //re-calculate
}
}
}
}
private void menu_exclude_add_folder_contents_clicked(){
var list = browse_folder();
if (list.length() > 0){
foreach(string path in list){
path = path + "/*";
if (!temp_exclude_list.contains(path)){
temp_exclude_list.add(path);
tv_exclude_add_item(path);
App.first_snapshot_size = 0; //re-calculate
}
}
}
}
private void menu_include_add_files_clicked(){
var list = browse_files();
if (list.length() > 0){
foreach(string path in list){
path = path.has_prefix("+ ") ? path : "+ " + path;
if (!temp_exclude_list.contains(path)){
temp_exclude_list.add(path);
tv_exclude_add_item(path);
App.first_snapshot_size = 0; //re-calculate
}
}
}
}
private void menu_include_add_folder_clicked(){
var list = browse_folder();
if (list.length() > 0){
foreach(string path in list){
path = path.has_prefix("+ ") ? path : "+ " + path;
path = path + "/***";
if (!temp_exclude_list.contains(path)){
temp_exclude_list.add(path);
tv_exclude_add_item(path);
App.first_snapshot_size = 0; //re-calculate
}
}
}
}
private SList<string> browse_files(){
var dialog = new Gtk.FileChooserDialog(_("Select file(s)"), this, Gtk.FileChooserAction.OPEN,
Gtk.Stock.CANCEL, Gtk.ResponseType.CANCEL,
Gtk.Stock.OPEN, Gtk.ResponseType.ACCEPT);
dialog.action = FileChooserAction.OPEN;
dialog.set_transient_for(this);
dialog.local_only = true;
dialog.set_modal (true);
dialog.set_select_multiple (true);
dialog.run();
var list = dialog.get_filenames();
dialog.destroy ();
return list;
}
private SList<string> browse_folder(){
var dialog = new Gtk.FileChooserDialog(_("Select directory"), this, Gtk.FileChooserAction.OPEN,
Gtk.Stock.CANCEL, Gtk.ResponseType.CANCEL,
Gtk.Stock.OPEN, Gtk.ResponseType.ACCEPT);
dialog.action = FileChooserAction.SELECT_FOLDER;
dialog.local_only = true;
dialog.set_transient_for(this);
dialog.set_modal (true);
dialog.set_select_multiple (false);
dialog.run();
var list = dialog.get_filenames();
dialog.destroy ();
return list;
}
private void btn_remove_clicked(){
TreeSelection sel = tv_exclude.get_selection ();
TreeIter iter;
bool iterExists = tv_exclude.model.get_iter_first (out iter);
while (iterExists) {
if (sel.iter_is_selected (iter)){
string path;
tv_exclude.model.get (iter, 0, out path);
temp_exclude_list.remove(path);
App.first_snapshot_size = 0; //re-calculate
}
iterExists = tv_exclude.model.iter_next (ref iter);
}
refresh_tv_exclude();
}
private void btn_warning_clicked(){
string msg = "";
msg += _("Documents, music and other folders in your home directory are excluded by default.") + " ";
msg += _("Please do NOT include these folders in your snapshot unless you have a very good reason for doing so.") + " ";
msg += _("If you include any specific folders then these folders will get overwritten with previous contents when you restore a snapshot.");
var dialog = new Gtk.MessageDialog.with_markup(null, Gtk.DialogFlags.MODAL, Gtk.MessageType.WARNING, Gtk.ButtonsType.OK, msg);
dialog.set_title("Warning");
dialog.set_default_size (200, -1);
dialog.set_transient_for(this);
dialog.set_modal(true);
dialog.run();
dialog.destroy();
}
private void btn_reset_exclude_list_clicked(){
//create a temp exclude list ----------------------------
temp_exclude_list = new Gee.ArrayList<string>();
foreach(string path in App.exclude_list_user){
if (!temp_exclude_list.contains(path)){
temp_exclude_list.add(path);
}
}
//refresh treeview --------------------------
refresh_tv_exclude();
}
private void btn_save_clicked(){
tv_schedule_save_changes();
tv_remove_save_changes();
tv_exclude_save_changes();
App.save_app_config();
this.destroy();
}
private void tv_schedule_save_changes(){
TreeIter iter;
TreeModel store = tv_schedule.model;
bool enabled;
int index = -1;
bool iterExists = store.get_iter_first (out iter);
while (iterExists) {
store.get (iter, 0, out enabled,-1);
switch(++index){
case 0:
App.schedule_monthly = enabled;
break;
case 1:
App.schedule_weekly = enabled;
break;
case 2:
App.schedule_daily = enabled;
break;
case 3:
App.schedule_hourly = enabled;
break;
case 4:
App.schedule_boot = enabled;
break;
}
iterExists = store.iter_next (ref iter);
}
if (!App.is_live_system()){
App.is_scheduled = switch_schedule.active;
}
}
private void tv_remove_save_changes(){
TreeIter iter;
TreeModel store = tv_remove.model;
int count = -1;
int index = -1;
bool iterExists = store.get_iter_first (out iter);
while (iterExists) {
store.get (iter, 1, out count, -1);
switch(++index){
case 0:
App.count_monthly = count;
break;
case 1:
App.count_weekly = count;
break;
case 2:
App.count_daily = count;
break;
case 3:
App.count_hourly = count;
break;
case 4:
App.count_boot = count;
break;
case 5:
App.retain_snapshots_max_days = count;
break;
case 6:
App.minimum_free_disk_space_mb = count;
break;
}
iterExists = store.iter_next (ref iter);
}
}
private void tv_exclude_save_changes(){
App.exclude_list_user.clear();
foreach(string path in temp_exclude_list){
if (!App.exclude_list_user.contains(path) && !App.exclude_list_default.contains(path) && !App.exclude_list_home.contains(path)){
App.exclude_list_user.add(path);
}
}
}
private void btn_cancel_clicked(){
this.destroy();
}
}

13
src/TimeShift.desktop Normal file
View File

@ -0,0 +1,13 @@
[Desktop Entry]
Name=TimeShift
MimeType=
Exec=gksu timeshift
Type=Application
GenericName=System Restore Utility
Terminal=false
Icon=/usr/share/pixmaps/timeshift.png
Caption=System Restore Utility
X-KDE-StartupNotify=false
Categories=System;
InitialPreference=9
Name[en_US]=TimeShift

1618
src/Utility.vala Normal file

File diff suppressed because it is too large Load Diff

52
src/makefile Normal file
View File

@ -0,0 +1,52 @@
prefix = /usr
bindir = $(prefix)/bin
sharedir = $(prefix)/share
localedir = $(sharedir)/locale
launcherdir = $(sharedir)/applications
mandir = $(sharedir)/man
man1dir = $(mandir)/man1
CFLAGS = --std=c99
all:
valac -X -D'GETTEXT_PACKAGE="timeshift"' --Xcc="-lm" --thread "Main.vala" "Utility.vala" "MainWindow.vala" "SettingsWindow.vala" "RestoreWindow.vala" -o timeshift --pkg glib-2.0 --pkg gio-unix-2.0 --pkg posix --pkg gtk+-3.0 --pkg gee-1.0 --pkg libsoup-2.4 --pkg json-glib-1.0
clean:
rm -rf *.o timeshift
install:
mkdir -p "$(DESTDIR)"
mkdir -p "$(DESTDIR)$(bindir)"
mkdir -p "$(DESTDIR)$(sharedir)"
mkdir -p "$(DESTDIR)$(mandir)"
mkdir -p "$(DESTDIR)$(man1dir)"
mkdir -p "$(DESTDIR)$(launcherdir)"
mkdir -p "$(DESTDIR)$(sharedir)/timeshift"
mkdir -p "$(DESTDIR)$(sharedir)/pixmaps"
mkdir -p "/mnt/timeshift"
#binary
install -m 0755 timeshift "$(DESTDIR)$(bindir)"
#shared files
cp -dpr --no-preserve=ownership -t "$(DESTDIR)$(sharedir)/timeshift" ./share/timeshift/*
chmod --recursive 0755 $(DESTDIR)$(sharedir)/timeshift/*
#launcher
install -m 0755 TimeShift.desktop "$(DESTDIR)$(launcherdir)"
#app icon
install -m 0755 ./share/pixmaps/timeshift.png "$(DESTDIR)$(sharedir)/pixmaps/"
uninstall:
#binary
rm -f "$(DESTDIR)$(bindir)/timeshift"
#shared files
rm -rf "$(DESTDIR)$(sharedir)/timeshift"
#launcher
rm -f "$(DESTDIR)$(launcherdir)/TimeShift.desktop"
#app icon
rm -f "$(DESTDIR)$(sharedir)/pixmaps/timeshift.png"

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 804 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 863 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 594 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 589 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 617 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 613 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 593 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 405 B

BIN
src/timeshift Executable file

Binary file not shown.

View File

View File

@ -0,0 +1,37 @@
using GLib;
using Gtk;
using Gee;
using Soup;
using Json;
using Utility;
public Main App;
public const string AppName = "TimeShift";
public const string AppVersion = "1.0";
public const string AppAuthor = "Tony George";
public const string AppAuthorEmail = "teejee2008@gmail.com";
public const bool LogTimestamp = true;
public bool UseConsoleColors = false;
const string GETTEXT_PACKAGE = "";
const string LOCALE_DIR = "/usr/share/locale";
public class Main : GLib.Object
{
public Main(string arg0)
{
this.app_path = (File.new_for_path (arg0)).get_parent ().get_path ();
this.root_device = get_partition_info("/");
this.home_device = get_partition_info("/home");
string local_path = app_path + "/share";
if (dir_exists(local_path)){
share_folder = local_path;
}
this.rsnapshot_conf_path = this.share_folder + "/rsnapshot.conf";
load_app_config();
}
}

59
timeshift.geany Normal file
View File

@ -0,0 +1,59 @@
[indentation]
indent_width=4
indent_type=1
indent_hard_tab_width=8
detect_indent=false
detect_indent_width=false
indent_mode=2
[project]
name=timeshift
base_path=/home/teejee/projects/timeshift/src
description=
file_patterns=
[long line marker]
long_line_behaviour=1
long_line_column=80
[files]
current_page=1
FILE_NAME_0=46254;Vala;0;16;1;1;0;%2Fhome%2Fteejee%2Fprojects%2Ftimeshift%2Fsrc%2FMain.vala;0;4
FILE_NAME_1=15114;Vala;0;16;1;1;0;%2Fhome%2Fteejee%2Fprojects%2Ftimeshift%2Fsrc%2FMainWindow.vala;0;4
FILE_NAME_2=7729;Vala;0;16;1;1;0;%2Fhome%2Fteejee%2Fprojects%2Ftimeshift%2Fsrc%2FSettingsWindow.vala;0;4
FILE_NAME_3=14998;Vala;0;16;1;1;0;%2Fhome%2Fteejee%2Fprojects%2Ftimeshift%2Fsrc%2FRestoreWindow.vala;0;4
FILE_NAME_4=802;Vala;0;16;1;1;0;%2Fhome%2Fteejee%2Fprojects%2Ftimeshift%2Fsrc%2FUtility.vala;0;4
FILE_NAME_5=0;Make;0;16;1;1;0;%2Fhome%2Fteejee%2Fprojects%2Ftimeshift%2Fsrc%2Fmakefile;0;4
FILE_NAME_6=516;Conf;0;16;1;1;0;%2Fhome%2Fteejee%2Fprojects%2Ftimeshift%2Fdebian%2Fcontrol;0;4
FILE_NAME_7=1145;None;0;16;1;1;0;%2Fhome%2Fteejee%2Fprojects%2Ftimeshift%2Fbuild-installer;0;4
FILE_NAME_8=2664;Sh;0;16;1;1;0;%2Fhome%2Fteejee%2Fprojects%2Fmake-sfx%2Flib%2Fmake-sfx%2Fheader.sh;0;4
[VTE]
last_dir=/home/teejee
[build-menu]
ValaFT_00_LB=_Compile
ValaFT_00_CM=
ValaFT_00_WD=
filetypes=Vala;
NF_00_LB=_Make
NF_00_CM=make all
NF_00_WD=
NF_03_LB=Clean
NF_03_CM=make clean
NF_03_WD=
EX_00_LB=_Execute
EX_00_CM=gksu './timeshift --show-commands --debug'
EX_00_WD=
EX_01_LB=Execute (sudo)
EX_01_CM=gksu './timeshift --show-commands --debug'
EX_01_WD=
ValaFT_01_LB=_Build
ValaFT_01_CM=make all
ValaFT_01_WD=
[file_prefs]
final_new_line=true
ensure_convert_new_lines=false
strip_trailing_spaces=false
replace_tabs=false

1109
timeshift.pot Normal file

File diff suppressed because it is too large Load Diff

BIN
timeshift.xcf Normal file

Binary file not shown.

4
translate Executable file
View File

@ -0,0 +1,4 @@
msginit -l or_IN -o oriya.po -i timeshift.pot
echo "Finished"
read dummy

1
upload Executable file
View File

@ -0,0 +1 @@
dput ppa:teejee2008/ppa ../builds/timeshift*.changes